Describe how to install ndiswrapper in your distribution. Give detailed instructions so newbies can follow it. Most frequently asked questions are about getting the module to be loaded automatically at boot time, installing INF files with ndiswrapper tool, configuring the interface. Please do NOT add information about cards/chipsets here; add such information to List instead.
See the InstallDebian or InstallDebianSarge page for installing Ndiswrapper on the corresponding distribution. To bring up the interface automatically on card insert see StartNetworkOnInsert.
EzPlanet One 2.0 (Madesimo)
EzPlanet One Linux distribution (http://www.EzPlanetOne.com
) includes the ndiswrapper driver release 1.0rc2 (at 9th January 2005). The driver is built into the standard kernel for i586/i686. An additional ndiswrapper package, installed by default, includes the userspace ndiswrapper installer. Wireless configuration is done through the standar Network configuration tool after having installed the NDIS driver using:
ndiswrapper -i 'inffile'
Mandrake 10 has ndiswrapper .4 already built in. It must be removed first.
Unfortunately that doesn't get it all.
* edit /lib/modules/2.6.3-7mdk/modules.dep and remove all lines containing ndiswrapper (should be two)
* download the source and follow the instructions in the INSTALL file precisely, but skip the iwconfig stuff, and go directly to ndiswrapper -m.
* edit /etc/sysconfig/network-scripts/ifcfg-wla
KEY="YOUR_KEY" (assuming you have a key, also precede the key with s: for ascii)
Be aware that there should be inverted commas along. For example, it shouldlook like this :
If you don't know your ESSID, running iwlist wlan0 scan should bring it (you need to have wireless-tools installed).
That is it! Now when you reboot it should come up.
Mandrake 10.1 have build in the ACX100/111 Sourceforge project driver as a kernel module, you will need to remove this before install the ndiswrapper
4k kernel stack size/freezing issue
Recent 2.6 kernels have an option to enable/disable 4k stack size. However, Fedora kernels disable this option altogether and use a 4K stack size, which is not enough for some windows drivers. If you are running a Fedora 2.6 kernel and your machine freezes after running modprobe ndiswrapper as described in the Installation page, you are probably using a driver that requires a stack sizegreater than 4K. Try installing the 16K stack kernel update fo Linuxant:
Fedora Core 2/i686: http://www.linuxant.com/driverloader/wlan/full/downloads-fc2-kernel-i686.php
Fedora Core 2/i586: http://www.linuxant.com/driverloader/wlan/full/downloads-fc2-kernel-i586.php
Fedora Core 3/i686: http://www.linuxant.com/driverloader/wlan/full/downloads-fc3-kernel-i686.php
Fedora Core 3/i586: http://www.linuxant.com/driverloader/wlan/full/downloads-fc3-kernel-i586.php
Most users will want to download the complete kernel RPM and install it using rpm -Uhv as root. Advanced users may want to use the patch instead, or try compiling a vanilla kernel (from http://www.kernel.org
) and disabling 4K stack size (CONFIG_4KSTACKS).
How to make an RPM
If you can't find a nice, tidy RPM of ndiswrapper to download, you can very easily make yourself one, even if you've never made an RPM before and wouldn't know where to start. Download the .tar.gz file as normal, following the Installation instructions. But instead of running "make install", run "make rpm" (make sure you are root or otherwise have write permission to /usr/src/ and subdirectories). This will create some RPMs in /usr/src/redhat/RPMS/, which you can install as normal using "rpm -Uvh". This is highly recommended, as it makes it easy to uninstall or upgrade ndiswrapper, and generally keeps your system tidy and easy to maintain.
Successful Fedora Core 3 configuration
November 25, 2004 -- Successful use of a D-Link AirPlus DWL-G630 has been reported on a Fujitsu Lifebook C series running Fedora Core 3 with the Linuxant 16K kernel patch. After downloading and installing the 16K stack kernel RPM from Linuxant and installing ndiswrapper according to the installation instructions on the Installation page, running dhclient established a working IP connection on wlan0. See the AirPlus page for details.
November 28, 2004 -- Successfully loaded on a Thinkpad T40 Centrino laptop, same configuration as above.
December 17, 2004 -- Successfully configured a Belkin 54g F5D7010 (802.11g 32-bit CardBus) on Fedora Core 3. It seems best to add "options ndiswrapper if_name=eth1" and then "alias eth1 ndiswrapper" (as described below) to /etc/modules.conf first, then run "modprobe ndiswrapper" as per the Installation instructions. After that, I had much better luck using the Network "System Settings" GUI (run "system-config-network" on the command line) than editing ifcfg-eth1 manually, as recommended below. I did not have any kernel stack problems, but I did need to use the WinMe98 (bcmwl5a.inf) driver (not WinXP2K/bcmwl5.inf). I happened to have the windows driver installation CD from the manufacturer but the others mentioned for download for various Belkin 54g variants on the drivers List page might work. Tip: The "unzip" command under Linux can open Windows Self-Extracting Archive (.EXE) files. -- Beland
December 17, 2004 -- Successfully configured a Netgear WG311v2 using the Netgear WinXP driver from the CD on Fedora Core 3, ndiswrapper 0.12 and the 16K stack kernel update from Linuxant. The system works fine and is stable, though in B-mode (11mbps). Created a /etc/modules file with the module but the system does not load it. Wonder why?
December 20, 2004 -- Succesfully configured a Gericom Wireless Card (unnamed, but with a TrendNet Chip - pciid 104c:8400) using the tiacxln driver version 184.108.40.206 (downloaded from download.gericom.com) and ndiswrapper 0.12. The kernel used was the default Fedora Core 3 kernel, version 2.6.9-1.681_FC3 with only 4K stack. When compiling using "make install" and issuing "modprobe ndiswrapper" I had an "ndiswrapper: Unknown symbol __copy_from_user_ll" error message. The solution was going to the source directory with "cd ndiswrapper/driver", compiling it with "make" and copying the file to the correct place with "cp ndiswrapper.ko /lib/modules/2.6.9-1.681_FC3/misc/". I didn't have the time to check why this happens, but it works fine. The configuration was done with /etc/modprobe.conf like above.
December 21, 2004 -- Succesfully configured an INPROCOMM IPN 2220 in an Acer Aspire 1363WLMi. Default kernel with 4K stack used. Nothing unusual happened but WEP/WPA untested so far. (using ndiswrapper 0.12)
December 22, 2004 -- Successfully configured a Compaq Presario 2108CL (Broadcom) laptop using same configuration as aboves. Used default kernel with 128-bit WEP, no kernel stack problems. Driver provided on the HP support site. --Metababble
December 24, 2004 -- Sucessfully configured a Linksys WUSB54Gv2. The only place the version is listed is on the bottom of the device. Used drivers supplied with device. Used default kernel with 128-bit WEP.
December 24, 2004 -- Sucessfully configured a D-Link AirPlus DWL-G630 (Rev. C2) with 128-bit WEP on a IBM ThinkPad T23 dual-booting Fedora Core 3 (2.6.9-1.681_FC3) and Windows XP Pro, using ndiswrapper 0.12, the WinXP driver (Ver. 3.00, downloaded from http://support.dlink.com/products/view.asp?productid=DWL%2DG630%5FrevC
) and the 16K stack kernel update (2.6.9-1.681_FC3.stk16) from Linuxant. Rebuilt and reinstalled the Linux NTFS kernel module RPM in accordance with the kernel update by using the 16K stack kernel source (kernel-2.6.9-1.681_FC3.stk16.src.rpm) from Linuxant and following the instructions at http://linux-ntfs.sourceforge.net/rpm/build.html
January 2, 2005 -- Successfully configured a Linksys WPC54G Version 1 (Broadcom) with 128-bit WEP on a IBM Thinkpad A31 with Fedora Core 3 (2.6.9-1.681_FC3) using ndiswrapper 0.12 and the XP driver from Dell downloads mentioned in the card List. Did not need the stack kernel update. UPDATE: January 4, 2005 -- new production 2.6.9-1.724_FC3 kernel with production ndiswrapper 0.12 suffers from task_nice problems mentioned in http://www.linuxdeveloper.net/forum/showthread.php?s=bdf24f8899770f97b5a77b75dfa5dfbf&p=148438#post148438
January 9, 2005 -- Successfully configured a D-Link Airplus DWL-G650+ with 256-bit WPA on an IBM Thinkpad T22. Used Fedora Core 3 (2.6.9-1.681_FC3.stk16), ndiswrapper 0.12, XP drivers from ftp://ftp.dlink.co.uk/wireless/dwl-g650+_
rev_Bx and WPA supplicant from http://hostap.epitest.fi/wpa_supplicant
, using version 0.2.6.
January 11, 2005 -- Successfully configured a Linksys WMP54G-UK (Broadcom BCM4306 chipset) with 64-bit WEP on Fedora Core 3 (2.6.9-1.667 using ndiswrapper v0.10, 2.6.10-2.1.ll.rhfc3.ccrma using ndiswrapper v0.12 (wouldn't compile with v0.10 or v1.0rc1 on planet ccrma fc3 kernel). Used Linksys windows driver in /WMP54Gv2/bcmwl5.inf extracted from ftp://ftp.linksys.com/pub/network/WMP54G
Additional Fedora information
Because the graphical Fedora configuration tools don't recognize wlan0, you can reconfigure ndiswrapper to use an ethX interface. If your eth0 interface is already configured for ethernet, you would use eth1.
Assuming you are going to be using eth1 as your wireless interface, add these two lines to the end of your /etc/modules.conf (or /etc/modprobe.conf) file to set your device to use eth1 instead of wlan0:
options ndiswrapper if_name=eth1
alias eth1 ndiswrapper
Also, if you want to use the Fedora configuration tools, you need to set up your /etc/sysconfig/network-scripts configuration file (/etc/sysconfig/network-scripts/ifcfg-et
h1 for eth1):
Alter your configuration details accordingly.
Finally, put your WEP keys in the /etc/sysconfig/network-scripts/keys-eth1 file (again assuming eth1):
With all the above, you should be able to use neat or ifup/ifdown to control your ndiswrapper-enabled wlan card in Fedora. Much of the information was borrowed from http://www.ces.clemson.edu/linux/fc2-2200BG.shtml
which I used to successfully get the Dell 1350 internal wireless card working in FC2 with the stock kernels.
24DEC04 -- you can manually create the files in the appropriate folders in "/etc/sysconfig/networking" and "/etc/sysconfig/network-scripts", naming them "ifcfg-wlan0" if you prefer. The redhat tools will not let you create the files from the GUI that way, but manually it works. This works well because all docs refer to "wlan0", and then the Fedora scripts can be used to set permissisons, and activate and deactivate the "wlan0" interface.
DEVICE=wlan0 BOOTPROTO=dhcp ONBOOT=yes TYPE=Ethernet DHCP_HOSTNAME=machine.hostname.com USERCTL=no PEERDNS=yes IPV6INIT=no HWADDR=00:00:00:00:00:00 MODE=Managed ESSID=yourEssid
Successfully running a Siemens Gigaset PC-Card 54 (Broadcom Chipset; PCMCIA) under RedHat 9.0 / 2.4.20-31.9 using the XP bcmwl5 driver. I did not succeed with versions 0.11 or 0.12. While using version 0.13pre1 I got so fed up with the various missing kernel symbols that I did a little source patch that solved my problem. Don't know if that would be of any interest to the developers ...
From Dax Kelson web page http://www.gurulabs.com/RedHatLinux9-review.html
, via Jean_Tourrilhes's _Distribution specific notes on Wireless Configuration_ (http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/DISTRIBUTIONS.txt
A little known fact is that newer versions of RHL support multiple network profiles. This is useful for machines that commonly plug into different networks (think laptops). The easy way to create network profiles is to use the redhat-config-network command. The question then becomes, what happens when you type "ifup eth0"? The behavior wasn't defined in previous versions, however, now in RHL 9 the following behavior is defined;
search path for:
# ifup $DEV
A cool trick is to boot your RHL box directly into a profile from the GRUB boot screen. To do this, create a separate /etc/boot/grub.conf entry for each network profile, and in each entry add the kernel argument netprofile=profilename.
~SuSE Live CD
No compiler provided. Seek pre-compiled package.
For detailed instructions on Suse Professional 9.1, see the Suse Professional 9.1 page.
Setup instructions on Suse Professional 9.2 are now at the Suse Professional 9.2 page!
The Gentoo ebuild will install all required files. Any problems or issues ask in #gentoo-laptop, Cardoe is the ndiswrapper packager. To install enter the following command in a console as root:
The oncoming release of Knoppix 3.7 has ndiswrapper built-in. For versions < 3.7 see the Debian Way.
Insert non-formatted text here
Owner: "220.127.116.11" Last edited on Tuesday, January 11, 2005 5:35:37 am by "18.104.22.168"
Page Execution took real: 0.326, user: 0.110, sys: 0.040 seconds