Version: 2.0.1
Last Updated: 03-28-2004
Author: scootersmk
Thanks to: opello and everyone who has posted helpful tips on this tread.
Index
I. Intro
II. Suported cards
III. Bugs
IV. Installation Steps
V. Reference
VI. Successful Harware
VII. Todo
***UPDATES***(Please read FIRST!)
12-20-04 It has been awhile since I have updated this howto. Since my last update the ebuild for ndiswrapper has made some major progress. I strongly recommend that, in order to get ndiswrapper, you use the ebuild and follow the instructions that it gives. I will leave the old instructions up just in case someone is using them, but otherwise this howto is out of date. The only legitamate purpose this thread currenly has is a record of which cards will work with ndiswrapper. Glad to see some positive changes over the majority of this year. This will most likely be the last update to this howto.
06-01-04- If you just want to get this thing working and connected(noobs) , please follow the instructions below to install ndiswrapper-0.6 manually without an ebuild. I am currently working on getting a howto up for the newly released ebuild so stay tuned..
03-30-04- GOOD NEWS! The bugs for the ebuilds have been closed. There are now ebuilds in portage for ndiswrapper-0.6 as well as serveral previous versions. The one that you will have the best luck with is the just released, 0.6-r1. I have heard several reports of this ebuild working. I am really short on time at the moment, but as soon as I get a chance I will update this HOWTO for hopefully the final time. Let me know how the ebuild works out for you. I am not sure if the ebuild is keyword masked or not so, keep in mind everything that goes along with using masked packages, if infact it is masked.
03-27-04- First off at the this time the state of the ebuilds is not good. If you just want to get things working please stick with this howto until all the ebuild stuff gets sorted out. I have changed the instructions to go along with the new install steps for ndiswrapper-0.6. The step have been simplified signifigantly. I will try to make the appropriate changes when ndiswrapper or the ebuild progress.
03-22-04- One final note for tonight, there is now an ebuild available in portage. It is however still masked, so test at your own risk and report back here with success and back to the bug page with both failures and successes.
Code: Select all
ACCEPT_KEYWORDS="~x86 emerge ndiswrapper"03-22-04- After going ready through some of these posts, it is becoming more and more apparent that there are better ways to get this up and running. The newer releases of ndiswrapper are much improved and the install script that they include is becoming more and more reliable. The ndiswrapper ebuild (metioned below) is looking much more promising. So, in short this method may not be the best one, but it is something to go off of, and it is a central place for us to discuss the changes. Right now I am looking at the changes and will hopefully update this howto to a much more simplified gentoo-like install. Suggestions are always welcome.(see update on 03=37-04)
03-21-2004-Well along with being busy with school and work, for some reason I stopped recieving emails for new posts. I was quite excited to see that my very own howto had reached 4+ pages, I just hope that they are not all problems.
I. Intro:
Ndiswrapper is a project that focuses on getting support for wireless network devices in which their manufactures do not release any sort of linux driver.
1. What should be posted in this thread:
-problems with doc
-bugs
-suggestions/improvements
-feedback(positive or negative)
2. Syntax Note: In the code blocks, all lines that start with "#" are commands to be typed.
If you have any other questions/problems or anything else that has to do with this thread please make your own thread that references this doc in the appropriate gentoo forum.
3. This guide only covers the very basics of getting the card to work. I have not covered steps about how to automate setting different iwconfig options that you may need to get your connection up and running.
DISCAIMER- Please be careful and test how your system repsonds to various card events such as a hot removal. There are instances where, as discussed below they may cause you system to lock up. So be aware of this possiblilty.
[/i]
II. Supported Cards:
Goto this page on the ndiswrapper.sf.net site to get an updated list of supported cards, the corresponding driver, and the corresponding vendor and device IDs (PCI-ids).
Link: http://ndiswrapper.sourceforge.net/supp ... psets.html
III. Bugs:
Ndiswrapper is still in its early development stages so is unstable. Please refer to the README file to see how to deal with problems you encouter with ndiswrapper.
IV. Installation Steps
**IMPORTANT** These install steps are for ndiswrapper-0.6 ONLY. The steps in this howto have changed significantly from the previous version. Please remove any previous versions of ndiswrapper before following these steps.
0. Emerge wireless-tools
Code: Select all
#emerge wireless-toolsmake sure that your card shows up when you run the "lspci" command(as root)
Code: Select all
#lspci
....
.......
03:00 Network Controller: Broudcom Corporation BCM94304 802.11g (rev 02)
(lspci is included in the pciutils ebuild)
If your card is not being detected you need to reconfigure you kernel with Wireless Lan support and pcmcia support depending on your setup. (Skip ahead and read #2 before your recompile to save you from doing it twice)
2. Kernel Setup
DISABLE support for SMP in kernel. (This is very important, many headaches will be spared by doing so)
3. Download ndiswrapper
download the latest tarball from the files section of the ndiswrapper page on sf.net.
Link: http://sourceforge.net/projects/ndiswrapper/
This HOWTO is for ndiswrapper-0.6.
4. Unpack tarball
from the directory where you saved the ndiswrapper tarball
Code: Select all
#tar -xvzpf ndiswrapper-0.6.tar.gz
#cd ndiswrapper-0.6
5. Compile Driver
from the ndiswrapper directory that you should already be in
Code: Select all
#make installGoto the ndiswrapper homepage and download the windows drivers that corespond to your chipset. Other drivers may work but are it is recomended that you try these first.
Link: http://ndiswrapper.sourceforge.net/supp ... psets.html
upack these drivers and find the .sys and .inf driver files and copy them to a directory called /lib/windrivers
Code: Select all
#mkdir /lib/windrivers
#cp <driver>.inf /lib/windrivers
#cp <driver>.sys /lib/windrivers
Code: Select all
#ndiswrapper -i /lib/windrivers/<driver>.inf(the output of this command may vary slightly)
Code: Select all
#ndiswrapper -l
Installed ndis drivers:
bcmwl5 present
Code: Select all
#modprobe ndiswrapperCode: Select all
#dmesg
....
wlan0: ndiswrapper ethernet device xx:xx:xx:xx:xx:xxautoload ndiswrapper module
Code: Select all
#echo "ndiswrapper" >> /etc/modules.autoload.d/kernel-<version>
10. Interface setup
At this time due to lack of standard setup and the many different setups and configurations for wireless cards along with other interfaces, this howto does not support automation of bringing up the wireless interface. Some possibilities are discussed in some of the replies in this tread.
Currently since I use my laptop with both wired and wireless ethernet at several different wireless site I bring up the wireless interface manually as follows:
Code: Select all
#iwconfig wlan0 essid <essid>
#ifconfig wlan0 up
#dhcpcd wlan0
V. Reference
Ndiswrapper SF.net page: http://sourceforge.net/projects/ndiswrapper/
Ndiswrapper Homepage:http://ndiswrapper.sf.net
VI. Successful Harware
Success? Please post your hardware specs for others to reference.
I will try to keep an update list of cards that have worked from using this doc:
-LInksys Wireless-G Notebook Adaptor wpc54g (Broadcom 94306 using Broadcom 94304 driver) pcmcia card
-truemobile 1180 (broadcom 4301) built into Dell Inspiron 8200
-Presario 2570us with a MiniPCI Broadcom Corporation BCM94306 802.11g (rev 02) card.
-Compaq Presario X1050CA (X1000 series) (Centrino)
-Broadcom 4320 (Dell Truemobile 1300) in my Inspiron 8600 works
-Toshiba Tecra 8000 Asus WL-300G and the Asus WL-100G PCMCIA(broadcom 94306)
-Dell Truemobile 1400 (broadcom)
- Dell D500 with the Intel Pro mini-pci card
*NOTE* some of these card may require various tweaks(discussed in replies), so continue reading replies if you run into problems
VII. Todo
1. keep up to date
2. Ebuild
-bugs.gentoo.org link to bug for new ebuild: http://bugs.gentoo.org/show_bug.cgi?id=38017
-any ideas about ebuild please post on bugs page



