So, over the weekend I decided to upgrade my home debian fileserver. A couple of new drives running software Raid 1, more memory and a wireless card. With wireless I figured I could get the fileserver out from behind my desk and stick it into the garage. Being in a small town, my selection of hardware is pretty much limited to a Walmart and Staples. The only card I could come up with was a the Netgear WG311 rev3.
Started out trying to use madwifi, only to find out that doesn’t work with rev3 of the card. So, I switched to ndiswrapper and just downloaded the windows xp driver. All good so far, it detected my card and I had my wlan0 interface.
I try to keep my wireless network secure unlike my neighbors who freely broadcast so I run WPA and do not broadcast. So this was going to take a bit more work. Installed wpa_supplicant and fought with this for some time. Finally I was able to manually bring up my wireless using a wpa_supplicant.conf file but I could never get it to come up with the standard ‘ifup wlan0′. So after trial and error I came up with this in my network/interfaces file
auto wlan0 iface wlan0 inet static address 192.168.0.10 gateway 192.168.0.1 dns-nameservers 192.168.0.1 netmask 255.255.255.0 wpa-driver wext wpa-ap-scan 2 wpa-ssid MySSID wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
This finally worked and I now had a wireless connection that would come up on boot. So after struggling with this over the course of Saturday and most of Sunday I happily moved the server out to the garage, booted up only to find a signal strength of 7/100. Needless to say that wasn’t going to cut it and locally I couldn’t purchase any type of range extender. So, after all that I’m back with my debian box in it’s original location.
I figured I’d post this just in case anyone is struggling with this card and the proper configuration. You’ll find all sorts of solutions via google, others might work for you, but the above is what finally worked for me.


