|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Linux Wireless Card Problems
Quote:
Step 1. You already have the utils, so the next thing you need to do is apt-get install the ndiswrapper module for your kernel. Once you have it, go to module-assistant (a very easy to use module manager, if you don't have it -- apt-get install module-assistant). Then go to the select menu in module-assistant. Look for the ndiswrapper module in the list and select it. From there, you might have to get the source for the ndiswrapper module (module-assistant is pretty intuitive). Build then Install. Step 2. To get the files you want out of the exe you have to use cabextract. The command looks basically like this: cabextract [filename.exe] Note: The cabextract will extract the filename.exe's contents into the folder the filename.exe is currently in (it will not make a new folder.) Step 3. Once you have the exe unpacked you will want to sort through and find the .inf file. Now you will use ndiswrapper and type a command that looks like: ndiswrapper -i filename2.inf Note, make sure that at this point in the /etc/ndiswrapper/drivername/ there is a .inf file and a .sys file. If the files aren't present, simply search through the unpacked exe until you find them and move them over into the /etc/ndiswrapper/drivername/ folder. Step 4. Now for the fun part. If the card is pci, lspci and find the address of the card. If it is usb, lsusb. Take the device address (which is what appears first on everyline of lspci per device) and then type the command: ndiswrapper -d [devid] drivername. Note, "where 'devid' is either PCIID or USBID of the form XXXX:XXXX" --from the -h of ndiswrapper SubNote: to get a list of installed drivers and their names, type ndiswrapper -l. SubNote2: There should now be a .conf file in /etc/ndiswrapper/drivername Step 5. The easy part Type ndiswrapper -m, hit return If you want to update the the hotplug information, say ndiswrapper -h and hit return. Step 6. Making modprobe happy You might have to edit the /etc/modprobe.d/ndiswrapper file to alias ndiswrapper to wlan0. This is quite simple, my file looks like this: Quote:
Debian makes network interfaces incredibly easy (I like this feature a lot). In the /etc/network/interfaces file add the lines (the comment just makes the file nicer to read): Quote:
To test, first modprobe ndiswrapper with the card hooked up appropriatley. Assuming this works, you should now be able to use your wireless card. To find access points near you type "iwlist scanning". To connect the command is iwconfig wlan0 essid [ssid] then type ifup wlan0 Make sure that all other connections are ifdown, otherwise the direction of packets might get confusing for the computer. Now, try pinging fbi.gov. Hopefully it works! To remove the card "safely" type modprobe -r ndiswrapper and then remove the card. I have not been able to get hotplug working, so I have been stuck modprobing and modprobe -r ing. I wrote a nice script that does all of the connecting for you if you want it (add it to your /bin and call it "iwconnect". chmod 777 it so you can execute it.): Quote:
Have a nice day and Happy New Year! ...Andrew Hospodor Note, this guide was written by Andrew Hospodor and has no restrictions on distribution. ndiswrapper could possibly be a copyright, I'm not sure if it is. However, their website can be found at ndiswrapper.sourceforge.net and their wiki can be found at: http://ndiswrapper.sourceforge.net/m....php/Main_Page Debian's page can be found at www.debian.org |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Let's have Linux Robots Next Year! | jdong | Control System | 52 | 22-08-2005 09:40 |
| QUICK WIRELESS HELP | JamesBrown | IT / Communications | 17 | 20-04-2005 02:33 |
| Wireless Networks: Connecting buildings together | KTorak | IT / Communications | 1 | 29-03-2005 20:41 |
| Yellow card / Red card usage at 2004 IRI | Andy Baker | Rules/Strategy | 53 | 02-08-2004 00:35 |
| Linux | SteveC116 | 3D Animation and Competition | 22 | 25-03-2004 15:07 |