This weekend I spend some time to install the low cost wireless card Encore ENLWI-G2 and configure it on my Ubuntu 7.10 Server machine to join my wireless network (using 128bit WEP at least).
Unfortunately it wasn't as straight forward as supposed, here some pointers and my solution, hopefully it may help some people to get their card up and running properly.
The first shot was to configure using the Ubuntu Driver and the Ubunut WiFi documentation (which is excellent):
https://help.ubuntu.com/community/WifiDocs/WiFiHowTo
But: whatever I tried to make it work, it didn't want to. Worse, taking the interface down, I caused a kernel panic, sending the machine into a (temporary) digital nirvana.
Great. Next step was to continue with the Ubuntu troubleshooting doc and the wireless troubleshooting guide.
The Encore card is properly recognized (lspci) and it can be listed with (iwconfig). However, for some strange reason I could not configure it correctly (setting the channel returned an error), and the scan did not return anything at all.
Taking down the card still sent the computer to a temporary digital nirvana, so I decided that it would be better to try another solution.
Second shot:
Actually Encore provides a Linux Driver.
However, I did not manage to compile that one at all. No clue what I was doing wrong, but it's not straightforward to achieve on the Ubuntu Server install (yes, I did install the development packages and the kernel sources etc.).
Third shot:
There is actually a way to run windows drivers in Linux. Maybe this isn't the best way to go if you can get a native driver working, however, after some hours of kernel panics, reboots and fruitless trials, this may just be the option that may get it working.
The magic is all achieved by ndis wrapper and the original XP driver from the CD included with the card.
First I blacklisted the linux driver in /etc/modprobe.d/blacklistby adding the entry:
blacklist r8180.
Then I installed the Windows XP driver through ndiswrapper, and finally added the ndiswrapper module to /etc/rc.local with:
modprobe ndiswrapper
With exaclty the same configuration, the driver did not want to work either.
Now that's a tough one. I finally figured that it may be a hardware problem after all. IRQ's most likely. I haven't assembled or configured much PC's in the last years, so I am a bit oxidated on that side. Probably somebody out there would know better what to do, but I finally decided to:
1) move the card to another slot (no success)
2) Disable other stuff on the mainboard (that would use IRQ's but is not used at the moment, like the onboard network card)
Finally I got it working...at 3am in the morning. I don't know whether the native driver would work with the IRQ changes, but I was too tired to try it out. Maybe it's also an option to try the Realtek Linux Driver.....
Resume:
Try to check the hardware first (I have got a GA-945GCMX-S2 Gigabyte MB), install the card in the upper PCI slot, go through the Bios and try the Linux Driver (using the excellent Ubuntu documentation). If all fails, you can still try ndiswrapper, and may get lucky after all.
Sunday, December 16, 2007
Friday, December 07, 2007
Subscribe to:
Posts (Atom)

