Archive for March, 2009

VMWare Kep Map for HP 8501p Laptop Ubuntu 8.10

Friday, March 27th, 2009

Problem: On my HP 8510p Laptop running Ubuntu 8.10, the key mapping for VMWare is screwed up.

Solution: Simple solution is to do

$ echo 'xkeymap.nokeycodeMap = true’ > ~/.vmware/config

Making Canon LBP3300 Work with Ubuntu

Tuesday, March 17th, 2009

Problem: In my office I have a Canon LBP3300 with a network card configured.  It used to run with a Windows machine as a print server and now that it has a network card, I would like to print to it.  Apparently. it is not as simple as I think it would be on Ubuntu.

Solution: The installation steps for those who are interested:

  1. Is easier to do everything as root
    $ sudo -i
  2. Get the driver from Canon

    # wget http://software.canon-europe.com/files/soft31118/software/CAPTDRV180.tar.gz

  3. Untar and install the driver

    # tar xf CAPTDRV180.tar.gz
    # cd CANON_UK/Driver/Debian
    # dpkg -i cndrvcups-capt_1.80-1_i386.deb cndrvcups-common_1.80-1_i386.deb
    # /etc/init.d/cups stop
    # mkdir /var/ccpd
    # mkdir /var/captmon
    # mkfifo /var/ccpd/fifo0
    # chmod 777 /var/ccpd/fifo0
    # chown root /var/ccpd/fifo0
    # chmod -R a+rX /usr/share/cups/model
    # /usr/sbin/lpadmin -p LBP3300 -m CNCUPSLBP3300CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
    # /usr/sbin/ccpdadmin -p LBP3300 -o net:192.168.1.200

  4. Now apparmour in Ubuntu create a bit of problem for the driver and need to be addressed:

    # vi /etc/apparmor.d/usr.sbin.cupsd----- /etc/apparmor.d/usr.sbin.cupsd -----
    /var/run/cups/ rw,
    /var/run/cups/** rw,
    /var/spool/cups/ rw,
    /var/spool/cups/** rw,
    # needed for Canon CAPT driver ### <-----insert
    /var/ccpd/** rw, ### <-----insert
    # third-party printer drivers; no known structure here
    /opt/** rix,
    ----- /etc/apparmor.d/usr.sbin.cupsd -----

  5. Start the services which we stopped before

    # /etc/init.d/cups start
    # /etc/init.d/ccpd start
    # /etc/init.d/apparmor restart

  6. You should be fine from here.

Apple Website is Having a Problem??

Tuesday, March 3rd, 2009

Apple.com Error