Need help configuring wireless PC card with DSL
I am running a Damn Small Linux Live CD on my old Compaq Armada and attempting to configure my Netgear WG511 wireless PC card to work with it. I have a wireless network in my house with password and encryption temporarily disabled until I can get this laptop on the network. The card works fine with Windows 98SE. Here's what happened with DSL:
I opened the Control Panel and went through the setup for Wlanconfig and then click System>Net Setup>ndiswrapper The inf file shows /mn/hda1/windows/netcard.inf device is wlan0 I type in my SSID and leave wep blank since I took out the password just to get it working When I click OK I get the message Connection failed. In the Control Panel when I click PCMCIA Tool>ident I get: Socket 0: product info: "Intersil" , "ISL3890","-","-" manfid: 0x000b 0x3890 function: 254 ((null)) Socket 1: no product info available Anybody out there have any suggestions? I'm a total Linux newbie, so please reply with simple, step-by-step instruction. Thanks, Relztrah |
First of all, is this the version 2 of the WG511? Because a quick Google seems to indicate that the first version uses a chipset that is natively supported, so you shouldn't need ndiswrapper at all.
Assuming you really do need ndiswrapper, what does "ndiswrapper -l" show on the console? |
1) unload ndiswrapper (let's first see if this works without it); with root privileges,
Code:
rmmod ndiswrapper 2) see if the card works, assuming it's 'wlan0' (change if needed); with root privileges, Code:
iwlist wlan0 scan 3_1) If it did find networks (at least the one in your house), you can use Code:
iwconfig wlan0 <options> 3_2) If it told you that interface doesn't support scanning (and you were sure that the native driver was loaded, as it probably was -- modprobe it if it wasn't and retry), chances are you do need ndiswrapper. In this case load ndiswrapper and unload (blacklist for easiness) the native driver; two drivers loaded at the same time may/will interfere with each other and cause a connection failure. So, with root privileges, Code:
rmmod <native driver name here> 4) Once driver works (scanning works ok), use ifconfig to connect to a network with no password or with WEP encryption. For networks with WPA encryption (AES/TKIP/...), you need to use wpa_supplicant. It's just as simple as using ndiswrapper, though it's said to be "difficult". Here's how it basically works (with root privileges): Code:
wpa_passphrase ssid-of-the-network passphrase-of-the-network >> /etc/wpa_supplicant.conf Code:
ap_scan=1 Code:
ap_scan=2 Code:
ctrl_interface=/var/run/wpa_supplicant If you wonder, here's how the wpa_passphrase-generated part of the configuration file, network=, looks like (if I'm right, again, this is all you need and you might not need all this either: Code:
network={ 5) You start wpa_supplicant like this, with root privileges: Code:
/usr/sbin/wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf -B 6) If and when you need to quit wpa_supplicant = kill the connection, you do it like this (with root privileges): Code:
killall -q wpa_supplicant - find out what driver to use, load it and unload/blacklist other drivers present - try 'iwlist' to see if the driver works - use 'iwconfig' to configure a non-secure or WEP connection - use wpa_supplicant to configure (only once needed) a WPA-encrypted connection, just like step 4 explains - start wpa connection like step 5 explains (you can do a script of this!) - stop wpa connection like step 6 explains Note that wpa_supplicant can handle other connections than WPA too: even wired ones. So you can use that for all your connections if I'm right..refer to the man-pages for information on how you do that. Nothing difficult there. wpa_supplicant configuration is a one-time job and the most difficult at the time on Linux wireless configurations. Still it's easy as what when you get how it goes: one command to generate the key, then maybe visit the config file to modify it where needed, and that's it. 'iwlist' is handy for detecting if your driver works or not (so until it works you have to work with your driver loadings, and that only), and once it's working, you only have to work with your wpa_supplicant configuration (or 'iwconfig' if you use badly secured networks). Hope it helps at all. Feel free to ask more, here or by IM. EDIT: module blacklisting means adding a 'blacklist <modulename>' line to your modprobe configuration file or blacklist file, and essentially it tells your system not to load the given kernel module during boot time. It's needed if there's a native driver that doesn't work and you want to use ndiswrapper. Easy distribution-specific (or general) instructions are on the web to locate the configuration file where you write the line. Another thing is that after installing the driver, with ndiswrapper for example, it is possible that you need to reboot the machine once to make it work all right. I had to, that is. |
Well folks I really, really appreciate your help, but I'm going to ask you to dumb down your replies because I don't know what I'm doing here. I'm old enough to remember DOS so I'm not afriad of the command line interface, and I am willing to invest the time and energy to learn how to use Linux, but this is like learning a new language for me.
Anyway, here is the text of the commands I have entered so far: ndiswrapper -l No drivers installed rmmod ndiswraper ndiswrapper: Operation not permitted iwlist wlan0 scan Failed to read scan data : No such device modprobe ndiswrapper /lib/modules/2.4.26.misc/ndiswrapper.o: create_module: Operation not permitted /lib/modules/2.4.26.misc/ndiswrapper.o: insmod /lib/modules/2.4.26/misc/ndiswrapper.o failed /lib/modules/2.4.26.misc/ndiswrapper.o: insmod ndiswrapper failed So I've reached the MEGO (my eyes glaze over) point here. For what it's worth neither the solid amber light nor the blinking green light on the PC card is on or blinks at any point in this process. |
Quote:
Try manually installing the driver with: Code:
ndiswrapper -i /path/to/driver.inf |
All times are GMT -5. The time now is 09:16 AM. |