UbuntuWiki:VidNor

来自Ubuntu中文
跳到导航跳到搜索

{{#ifexist: :UbuntuWiki:VidNor/zh | | {{#ifexist: UbuntuWiki:VidNor/zh | | {{#ifeq: {{#titleparts:UbuntuWiki:VidNor|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UbuntuWiki:VidNor|1|-1|}} | zh | | }}


Email: MailTo(vidarno AT SPAMFREE gmail DOT com)

Here I plan on listing all of the hardware I have and how to get it working under Ubuntu/Kubuntu. The information is based on threads on www.ubuntuforums.org , other wiki-pages and my own experimenting.


Ralink Wireless Card w/WPA

This card is supported out-of-the-box in Dapper Drake, and what is even better is that the card's driver supports WPA! Yup, no need to use WPA_supplicant, but you will need to use a GUI that supports WPA (for example KWlan) or make the following changes to /etc/network/interfaces:

auto ra0
iface ra0 inet dhcp
pre-up iwconfig ra0 essid "youressid"
pre-up iwconfig ra0 mode managed
pre-up iwpriv ra0 set Channel=6
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwpriv ra0 set WPAPSK="yourpassword"
pre-up iwpriv ra0 set TxRate=0
ifup ra0

The changes you will have to make is to essid and WPAPSK and Channel, but also possibly to EncrypType if you use AES. This setup will make you automatically connect to the specified network on boot, to connect to it now without rebooting issue the following commands:

sudo ifdown ra0
sudo ifup ra0

Congratulations, you should now be connected to your WPA-encryptd wireless network!

Canon i850 Printer (usb)

IconsPage?action=AttachFile&do=get&target=IconNote.png The Canon BJC-7000 driver is the easy solution, just choose it from the K->System Settings->Printing->Add new printer menu, but for the best results use the following recipe to use Canon's drivers.

( based mainly on http://ubuntuforums.org/showthread.php?t=10540&highlight=i850 )

You will need alien installed (converts rpm files to deb) and wget (downloads the rpms) and libpng and libtiff3g. Unfortunately libtiff3g is not available in the normal Dapper repositories so we have to add a line to our /etc/apt/sources.list.

sudo echo "deb http://us.archive.ubuntu.com/ubuntu hoary universe" >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install alien wget libpng3 libtiff3g
sudo ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2

After this is done you should remove the last line from your /etc/apt/sources.list to prevent problems. Currently you need to download rpms and convert to deb-packages to get this printer working. Get the necessary files:

wget ftp://download.canon.jp/pub/driver/bj/linux/bjfiltercups-2.2-1.i386.rpm
wget ftp://download.canon.jp/pub/driver/bj/linux/bjfilterpixus850i-2.2-1.i386.rpm

Then you can convert the files with the following commands:

sudo alien -c bjfilterpixus850i-2.2-1.i386.rpm
sudo alien bjfiltercups-2.2-1.i386.rpm

Install the deb packages:

sudo dpkg -i bjfilterpixus850i_2.2-2_i386.deb
sudo dpkg -i bjfiltercups_2.2-2_i386.deb

You will need to restart CUPS to see the drivers in the list, run the following command:

sudo /etc/init.d/cupsys restart

Now add the printer, in Gnome this is done via System > System Settings > Printing or in KDE via System Settings > Printing. The printer is listed as Canon (brand( and PIXUS-850i (model). Print a test page to ensure it works.

Takushi Miyoshi Repository

Takushi Miyoshi has Debian and Ubuntu Edgy packages in his repository. The Debian packages seem to work fine on Ubuntu Dapper (the Edgy packages need a libc6 version not in Dapper). (MartijnVermaat)