Scott Alan Miller

Tuesday, November 29, 2005

Netgear WG311v2 Wireless Adapter on SUSE Linux 10.0

I know that I am not the only person out there who has to get a Netgear WG311 version 2 wireless 802.11g adapter working on Novell's SUSE Linux 10.0 so I thought that I would share some quick notes that pertain directly to this combination so that others wouldn't be caught struggling with the same things that I did. I had this combination working with SUSE 9.2 a year ago but I updated the machine and it broke the wireless so I had to start from scratch.

First of all, yes the WG311 does use the Texas Instruments ACX111 chipset that SUSE and lspci so nicely detect but that driver does not work with this card, at least not the driver that comes with 10.0. So even though that auto detects the card do not get your hopes up that it is just going to work. If anyone has gotten a Linux driver to work with this card I would love to hear about it.

What I had to do was use ndiswrapper to encapsulate the Windows XP driver for the Netgear card so that I could use it under Linux. A lot of sites and forums said that you would need to scrap the included ndiswrapper package and get a new one directly from the ndiswrapper project but this was not the case for me. I went into YAST and installed ndiswrapper and all of its dependancies and those ended up working just fine for me. I believe that the included version is 1.2 but I am not positive. Installing the included packages is by far the easiest option if it is going to work.

Here is the real trick that I didn't find on any other site: the newest 2.x version of the driver does NOT work. The error that I get is that the hardware that I have is invalid. I read that someone had been having good luck with the older drivers so I tried the oldest stable driver that Netgear offered from their site which was something like 1.0.0.10. That driver worked great - found the card immediately.

After that I had one additional issue: smpppd kept crashing for some reason which was super annoying since it wasn't really needed for anything. You can't use kinternet without it but that isn't very important for most of us. It didn't matter in the least for me. So I had to disable smpppd altogether or it would eat almost all of the processor at way too high of a priority and make the machine impossible to use. I went into YAST and disabled it from startup and then manually removed it from /etc/init.d/rc.d/rc5 and everything was fine.

So the procedure went roughly:

1. Download older stable Netgear drivers (be sure that you get right version as there are three chipsets in these cards and they cannot share drivers.) I was working with version 2!

2. Unzip the driver package to someplace handy that you can get to.

3. Using YAST install the ndiswrapper packages. I don't think that there was anything extra needed.

4. Load the driver into ndiswrapper (the driver is the .inf file under Driver/Windows XP)...
ndiswrapper -i wg311v2.inf

5. Check that it loaded correctly...
ndiswrapper -l

6. One last thing...
modprobe ndiswrapper

7. Now, go into YAST again into Network Devices and set up your wireless card as usual. Manually select the driver and choose 'ndiswrapper'.

8. Once YAST runs you might find that smpppd has fired up and that you will need to kill it. This is easy as long as your mouse and keyboard are responding.

ps ax | grep smpppd
kill -9 'whatever pid the last command gave you'

9. Now go into YAST and disable smpppd from startup. Be sure to remove kinternet as well since smpppd is a dependancy.

I did all of that from memory so if there are any problems just comment and I will try to help you out. I know what a pain this procedure is.

0 Comments:

Post a Comment

<< Home