Archive for septembre 2014

As root :
vim /etc/hostname : change localhost to debian for example.
Do the same here : vim /etc/hosts (to anything that would have localhost in its name).
And finally : /etc/init.d/hostname.sh start
When you’ll reboot, the changes will have taken place.


Read Full Post »

I spent a little time trying to figure out how to configure my new Canon i-SENSYS LBP6020B with my Debian/testing. Now I know, it won’t work ! I thought I should share the info…
I was fooled by the supposedly working drivers for 64-bit systems available on Canon’s official site. If you download the archive you will find both i386 and amd64 drivers but only the i386 version will print. Your printer will seem to work but will stay silent without any error message, even if you install the right way the amd64 driver.

For your information the following is the right way (at least a successful one on i386 -change the .deb package names) :

ls /dev/usb/ # gives lp0 if printer is on

as root :

mkdir /var/ccpd
mkfifo /var/ccpd/fifo0

dpkg -i cndrvcups-common_2.60-1_amd64.deb
dpkg -i cndrvcups-capt_2.60-1_amd64.deb

chmod 777 /var/ccpd/fifo0
chown -R lp:lp /var/ccpd

service cups stop
service cups start
service ccpd stop

/usr/sbin/lpadmin -p LBP6020B -m CNCUPSLBP6020CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
/usr/sbin/ccpdadmin -p LBP6020B -o /dev/usb/lp0

/etc/init.d/ccpd start

Check http://localhost:631/ to see if everything is alright…

As I said, these operations will not be working with the amd64 drivers unless you hack your system doing things like what’s explained on this page :
Scroll down to : Known Issues/64-bit Systems… At this time, there is no way to install the i386 packages required on Debian/testing to follow these steps…
It’s a known 64-bit bug that doesn’t seem to bother Canon when asked about it…

So… My father will soon have a beautiful brand new Canon to print his Bridge stats… and I will not buy anything else from Canon because of their lack of consideration.

Edit, september 23rd : Just recieved a Dell B1165nfw and taking it out of the box took me longer than installing it… and getting it to work ! The 64-bit driver available on Dell’s site works like a charm…

Read Full Post »