Monday, March 30, 2009

Realtek 8187b Wifi on the Toshiba Satellite L300

I was struggling to get the Wifi working on Ubuntu 8.10 on the Toshiba Satellite L300 over the weekend. I resorted to using the Windows driver with ndiswrapper (ndisgtk is a great UI for it). But the performance was quite bad, and after a reboot, the wlan0 will dissapear.

Looking at the online forums there seems to be alot of confusion, because the device ID displayed is not 8187 but 8198. One method is to add this new ID in the RTL driver and recompile it.

However there is an easier way, and to get it working, you will need the backports of legacy drivers installed. In Ubuntu this will install it:
# apt-get install linux-backports-modules-intrepid
When this is installed, you just need to invoke the Realtek driver:
# modprobe rtl8187
NetworkManager should then detect the wifi adaptor and proceed to connect to the network. Make sure that you add rtl8187 in /etc/modules for the driver to load up on the next reboot.


yk

4 lewsers:

dredmond said...

redmond@redmond-laptop:~$ apt-get install linux-backports-modules-intrepid
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

that's what it told me when I tried. I really hope you got this figured out because I'm tired of using this USB stick, though it's decent fix.

Yoon Kit said...

Hi dredmond,

You will need to be superuser or root to use that command.

so its:
# sudo apt-get install linux-backports-modules-intrepid

and then type in your password on the prompt.

Hope that works.

Regards,

yk

dredmond said...

redmond@redmond-laptop:~$ sudo modprobe rtl8187
WARNING: Error inserting lbm_cw_mac80211 (/lib/modules/2.6.27-14-generic/updates/lbm_cw-mac80211.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting rtl8187 (/lib/modules/2.6.27-14-generic/updates/rtl8187.ko): Unknown symbol in module, or unknown parameter (see dmesg)

so, that's where I'm at. Thanks for the help so far. I got the backports to install but not the modprob.
dredmond

Yoon Kit said...

Hi dredmond,

Im not too sure what the problem is. Are you using the Tosh L300 as well?

I dont know why a different module is being loaded instead of the realtek one.

try a "lsmod" to see which modules are loaded?

The Ubuntu forums may be a better bet in solving this issue.

yk