Okay, so I couldn't get the ndiswrapper working on Sarge, so as suggested I gave Etch a go at it. So this is what I did:
Code:
root@debEtch:~# apt-get install module-assistant
root@debEtch:~# m-a prepare
Getting source for kernel version: 2.6.16-2-xen-686
apt-get install linux-headers-2.6.16-2-xen-686
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
linux-headers-2.6.16-2-xen
The following NEW packages will be installed
linux-headers-2.6.16-2-xen linux-headers-2.6.16-2-xen-686
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 3433kB of archives.
After unpacking 28.0MB of additional disk space will be used.
Do you want to continue [Y/n]?
root@debEtch:~# apt-get install ndiswrapper-source
root@debEtch:~# m-a build ndiswrapper
root@debEtch:~# apt-get install ndiswrapper-utils-1.8
root@debEtch:~# m-a install ndiswrapper
Selecting previously deselected package ndiswrapper-modules-2.6.16-2-xen-686.
(Reading database ... 68278 files and directories currently installed.)
Unpacking ndiswrapper-modules-2.6.16-2-xen-686 (from .../ndiswrapper-modules-2.6.16-2-xen-686_1.16-1+2.6.16-14_i386.deb) ...
Setting up ndiswrapper-modules-2.6.16-2-xen-686 (1.16-1+2.6.16-14) ...
root@debEtch:~# wget http://biginoz.free.fr/linux/bcmwl5.sys
root@debEtch:~# wget http://biginoz.free.fr/linux/bcmwl5a.inf
root@debEtch:~# ndiswrapper -i bcmwl5a.inf
Installing bcmwl5a
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
root@steve:~# depmod -a
root@steve:~# modprobe ndiswrapper
Everything went fine, the driver shows as installed and hardware present.
Now here comes the problem.
When I do ifconfig wlan0 up, I get an error;
wlan0: ERROR while getting interface flags: No such device
when I dmesg I get
ndiswrapper version 1.23 loaded (preempt=no, smp=yes)
but no mention of the driver.
I've been working on this for a few days now and am about to lose it.
Any help would be appreciated.
Thanks,