ndiswrapper

Clive Menzies clive at clivemenzies.co.uk
Wed Aug 2 09:24:07 UTC 2006


On (01/08/06 06:37), Clayton Rogers wrote:
> Hi all,
> 
> I'm trying to configure my wireless Pro 2200 using the ndiswrapper 
> utility.  However I can't get pass the first step of performing a 
> modprobe ndiswrapper.  I recieve the following error:
> 
> FATAL: Error inserting ndiswrapper 
> (/lib/modules/2.6.15-23-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): 
> Invalid argument

Here are the notes I've made to remind me how to do this..... may help
:)  You may not want the wpasupplicant stuff.

install the following:

# aptitude install wireless-tools wpasupplicant module-assistant
# linux-headers-(for your kernel)

then do:
# module-assistant auto-install ndiswrapper


See examples for wpasupplicant .... using wpa-psk as follows:

copy the wpa_supplicant.conf.dpkg-bak file to wpa_supplicant.conf

# /etc/wpa_supplicant.conf.dpkg-bak /etc/wpa_supplicant.conf

add the following to /etc/networking/interfaces:

# The wireless network interface
auto wlan0
iface wlan0 inet dhcp
wpa_conf /etc/wpa_supplicant.conf


Get the windows driver from:
http://www.planetamd64.com/index.php?showtopic=6559&st=0&p=62758&
(rename driver .inf file to i2220nta.inf)

# ndiswrapper -i /path/to/driver/i2220nta.inf

Then run (as root):

# ndiswrapper -m

... to create an alias for wlan0 to point to the ndiswrapper module. Now
when you access interface wlan0 for the first time, the ndiswrapper
module will be automatically loaded.


Verify the installation of the Windows driver... 

# ndiswrapper -l

Is the ndiswrapper module loaded?

# lsmod | grep -i ndiswrapper
<username> ndiswrapper           115184  0

Add to /etc/modules:
ndiswrapper hangcheck_interval=-1

# modprobe ndiswrapper

Verify device recognition by NDIS Wrapper...

$ dmesg

Links:
http://forums.suselinuxsupport.de/index.php?showtopic=19517
http://www.downgra.de/x20/

http://lists.debian.org/debian-amd64/2005/12/msg00702.html

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business






More information about the ubuntu-users mailing list