LinHES Forums
http://forums.linhes.org/

WG111v2 driver questions - SOLVED
http://forums.linhes.org/viewtopic.php?f=2&t=13220
Page 1 of 1

Author:  chunter2 [ Mon Jan 01, 2007 11:54 am ]
Post subject:  WG111v2 driver questions - SOLVED

I'm trying to get a Netgear WG111v2 wireless USB installed on a system running R5E50. Here's what I've done so far. I'm using the following drivers from realtek's site.

ftp://152.104.238.194/cn/wlan/rtl8187_linux_26.1010.zip

I created the symlinks to get the compile to work. I get a bunch of compile warnings (undefines after stage 2 of the make) but I can insmod the compiled drivers and get it up and running (attached to the right ssid and dhcp'ed). I tried modprobe as well as copying the .ko files to the /lib/modules/... directory and adding the names to the /etc/modules file but that doesn't seem to work. It loads the wrong drivers I think because of the warnings during the compile. So my question is how do I go about using insmod on boot up to load the drivers.

Author:  chunter2 [ Tue Jan 02, 2007 2:24 pm ]
Post subject: 

After doing a little more digging I've tracked down the problem. I copied the .ko files to the lib directory and did a
Code:
depmod -a

I then did a
Code:
modprobe r8187 -v

which showed that it was loading 80211.ko which is not part of the r8187 driver. Looks like there's common declarations in that file and the one that came with the driver. I renamed the file to 80211.ko.old ran depmod again and then modprobe worked. I then added r8187 to /etc/modules and modified /etc/network/interfaces and it all works on boot up.

My only concern now is if I was supposed to use a driver that came with the R5E50 install and 80211.ko was part of it.

Author:  chunter2 [ Wed Sep 26, 2007 5:18 pm ]
Post subject: 

Update for R5F27. All I had to do as the root user was
Code:
mv /lib/modules/2.6.18-chw-13/kernel/drivers/net/wireless/80211.ko /root

then
Code:
depmod -a

then reboot and the WG111v2 came up fine. This was from an upgrade from R5E50 so the preview post may still apply for an auto install. Still not sure what 80211.ko is needed for.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/