Senin, 23 Februari 2009

pico wireless

ini copy paste-an dari http://wiki.msiwind.net/index.php/Ubuntu_8.04_Hardy_Heron#Option_2:_Compiling_Drivers_for_the_Supplied_Wireless_Card

Option 2: Compiling Drivers for the Supplied Wireless Card

Note 1: This fix is confirmed to work for WEP (64 bit) and WPA Personal though some users have reported problems (particularly with WPA Enterprise), including dropped networks and system freezes requiring a reboot. For up to date information and help, try visiting this forum thread.

Note 2: Keep in mind that future updates (e.g with Update Manager) of the kernel will likely require you to rebuild the drivers and put them in a new folder for that kernel. You might want to uncheck kernel upgrades on the update manager program in order to keep your drivers running smoothly, or otherwise repeat the procedure detailed below after the upgrade.


First, you need a proper build environment with the appropriate kernel headers. This is done fairly easily:

sudo apt-get install build-essential linux-headers-`uname -r`

Next, download and unpack the modified driver sources:

wget http://launchpadlibrarian.net/16098501/rtl8187se_linux_26.1016.0716.2008.tar.gz
tar xvzf rtl8187se_linux_26.1016.0716.2008.tar.gz

Note: The drivers above does not build on 8.10 Intrepid Ibex. However, the wireless drivers located at http://julienpecqueur.com/tutoriaux/install_driverwifi.html do compile for 8.10 Intrepid Ibex (this sentence was written in use of these compiled drivers). Warning! For the English Speaking only, you will only be able to read the technical commands. The location of the driver files as of 11/1/2008 is http://julienpecqueur.com/ftp/rtl8187se_linux_26.1023.0928.2008.tar.gz

Now build them:

cd rtl8187se_linux_26.1016.0716.2008
./makedrv

Now, assuming everything compiled without errors, try starting it all up using the wlan0up script. This will insert the appropriate modules and enable the wireless device. You should then be able to use it with Ubuntu's network manager.

sudo ./wlan0up

To map all of the new modules so the wireless drivers are accessible at boot, you will want to copy all of the .ko files (see list below) into: /lib/modules/2.6.24-19-generic/kernel/drivers/net/wireless/

(in ieee80211)

  • ieee80211_crypt-rtl.ko
  • ieee80211_crypt_wep-rtl.ko
  • ieee80211_crypt_tkip-rtl.ko
  • ieee80211_crypt_ccmp-rtl.ko
  • ieee80211-rtl.ko

(in rtl8185)

  • r8180.ko

This can be done (from within the base folder of the uncompressed driver files) by using:

sudo cp -r ieee80211/*.ko /lib/modules/2.6.24-19-generic/kernel/drivers/net/wireless/
sudo cp rtl8185/r8180.ko /lib/modules/2.6.24-19-generic/kernel/drivers/net/wireless/

Lastly, you should run:

sudo depmod -a
sudo modprobe r8180

Although the Wifi toggle key (Fn + F11) will work as expected, Ubuntu's network manager applet won't realize that you toggled off the wireless card for a little while.

Tidak ada komentar: