Ok...
Here's how I got my wireless working!
--assuming you have the .INF and .SYS drivers for your card and wireless-tools package--
1. download and install ndiswrapper
2.
Find where the command is I used a
Code:
# find / -name ndiswrapper
I was ROOT because a standard user cannot read all the directories. Sometimes the install will place the executable in a strange directory. For me (I am on Fedora Core 4), it was called /usr/sbin/ndiswrapper
3. For ease, make a sym link to the BASH directory.
Code:
ln -s [path to ndiswrapper executable] /usr/bin/ndiswrapper
(You need to include the full path. For me, it was the name specified above)
4. To see if it is linked correctly, type "ndiswrapper" into the shell. You should get somethign like this:
Code:
Usage: ndiswrapper OPTION
Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by 'inffile'
-d devid driver Use installed 'driver' for 'devid'
-e driver Remove 'driver'
-l List installed drivers
-m Write configuration for modprobe
where 'devid' is either PCIID or USBID of the form XXXX:XXXX
5. Find your .INF and .SYS drivers and move them to the same directory. A good place is /home/[username]/drivers
6. install the drivers with ndiswrapper
Code:
ndiswrapper -i [full path to .INF file]
Don't worry about doing the same with the .SYS file; it is automatically installed. You can find the .INF, .SYS and co-responding .CONF files in the /etc/ndiswrapper/[card name] directory
7. Check to see if the drivers are working with
(that is a lower-case "L")
You should get out put that reads like "WUSB54g Driver Present hardware Present". If not, then the drivers are not the right ones for your card.
8. Load the ndiswrapper module with
Code:
/sbin/modprobe ndiswrapper
youmight want to check the system messages to see if ndiswrapper is loaded and your card is recognized with 'dmesg'. If you see a line that reads something like "ndiswrapper version 1.4 loaded" then it is properly loaded.
9. Configure card with the wireless tools use these commands to set basic network parameters
Code:
iwconfig wlan0 essid [your network essid]
The essid is the name of your network. Sometimes, the 'iwconfig' command is not in /usr/bin/ I had to link it or use /sbin/iwconfig. Both will work.
Next, do
Code:
iwconfig wlan0 mode [signal mode]
This sets the type of signal that your router is using. Most will used managed signal.
If you use WEP encryption, set the key
Code:
iwconfig wlan0 key [encryption key]
After your parameters are set, you can connect!
10. I use dhclient to connect to my Access point. it should be located in /sbin/dhclient. just do a
Code:
/sbin/dhclient wlan0
to run that script.
11. if everything connects nicely and you can ping other IPs, you can write the modprobe configuration. do a
To add a line to modprobe.conf that tells the system to activate ndiswrapper when wlan0 is used.
NOTE: whenever I boot up my system, I have to re-set the network parameters before I can connect to my Access point. It's a good thing to either write down the vital values, or etch them into your brain.
I hope this helps.