[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ndiswraaper install error.



I just used NDISWrapper to get a netgear wg111v2 fob to wifi...
I have only done this with the 2.6 kernel, never 2.4. 
I also indicate the rev's I used, you may find different revisions. 
Get the source 
ndiswrapper.sourceforge.net
sourceforge.net/projects/ndiswrapper/ 
cd /usr/local/src 
mkdir ndis;cd ndsi 
download the ndiswrapper-1.9.tar.gz 
gunzip ndiswrapper-1.9.tar.gz 
tar -xvf ndiswrapper-1.9.tar.gz 
make distclean 
make 
make install 
-- OR -- 
apt-get install ndiswrapper-source # Source for the ndiswrapper linux
kernel module 
apt-get install ndiswrapper-utils # Userspace utilities for ndiswrapper 
The following is also need to process the windriver.inf file 
apt-get install zip # for win zip'd files 
apt-get install unzip # for win zip'd files 
apt-get install unshield # for win .cab files 
Might also need kernel headers (correct for your cpu, etc.) 
apt-get install kernel-headers-2.6.8-2-386 
Get the Windows Driver you want to use 
Download the driver 
unzip driver.zip 
unshield -d 
x cabfile.cab 
find the driver.inf to use 
ndsiwrapper -i driver.inf 
ndsiwrapper -l
should report on sw and hw SO have the h/w hookedup and powered 
ndsiwrapper -m 
depmod -a 
modprobe ndsiwrapper 
configure the h/w as needed. 
I offer as an example some detail on install/config for a Netgear WG111 V2
Wifi Fob. from the website: NdisWrapper - Install 
I used some combo of the following to get my Netgear 111 to 'see' and
'talk' to the network ... 
unzip wg111v2_v1.0.0.5.zip 
unshield data2.cab 
ndiswrapper -i data2.inf 
ndiswrapper -m 
depmod -a 
modprobe ndiswrapper 
vi /etc/network/interfaces Add the entires for wlan0
these matched the entrie for the cardbus wireless eithernet card I had
already running in the machine. 
ifdown wlan0; ifup wlan0 
Once I had the fob working, I had to hand create an S99wlan0 file to bring
the fob up. This was set in the rc*.d directory structure. 







At 05:49 PM 2/8/2006 +0000, Chris Lale wrote:
>L.V.Gandhi wrote:
>
>>I have dell inspiron 600m. today I have loaded base sarge and upgraded
>>to unstable.
>>I have installed linux-source and ndiswrapper-source. I tried to get
>>modules using info on wiki
>>http://ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebian. 
>>My /usr/src folder is as follows
>>lvgdell600m:/usr/src# ls -l
>>total 38660
>>drwxr-xr-x  3 root root     4096 2006-02-04 12:07 kernel-patches
>>lrwxrwxrwx  1 root src        19 2006-02-04 12:32 linux ->
linux-source-2.6.15
>>drwxr-xr-x 18 root root     4096 2006-02-04 06:00 linux-headers-2.6.15-1
>>drwxr-xr-x  5 root root     4096 2006-02-04 06:01 linux-headers-2.6.15-1-686
>>drwxr-xr-x 19 root root     4096 2006-02-02 05:04 linux-source-2.6.15
>>-rw-r--r--  1 root root 39389485 2006-02-02 05:53
linux-source-2.6.15.tar.bz2
>>drwxr-xr-x  3 root root     4096 2006-01-20 15:24 modules
>>-rw-r--r--  1 root root   124786 2006-01-20 15:24 ndiswrapper-source.tar.bz2
>>I tried make modules and got error as follows.
>>lvgdell600m:/usr/src/modules/ndiswrapper# ./debian/rules
>>binary-modules KSRC=../../linux
>>/usr/bin/gcc
>>for templ in ; do \
>>    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.15/g'` ; \
>>  done
>>for templ in `ls debian/*.modules.in` ; do \
>>    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
>>${templ%.modules.in}.backup 2>/dev/null || true; \
>>    sed -e 's/##KVERS##/2.6.15/g ;s/#KVERS#/2.6.15/g ;
>>s/_KVERS_/2.6.15/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g' <
>>$templ > ${templ%.modules.in}; \
>>  done
>>dh_testdir
>>dh_testroot
>>dh_clean -k
>>dh_installdirs lib/modules/2.6.15/misc
>># build and install the module
>>/usr/bin/make KPKG_EXTRAV_ARG= KSRC=../../linux \
>>        KVER=2.6.15 \
>>        INST_DIR=debian/ndiswrapper-modules-2.6.15/lib/modules/2.6.15/misc/
>>install
>>make[1]: Entering directory `/usr/src/modules/ndiswrapper'
>>Can't find kernel sources in ../../linux;
>>  give the path to kernel sources with KSRC=<path>             argument
to make
>>make[1]: *** [prereq_check] Error 1
>>make[1]: Leaving directory `/usr/src/modules/ndiswrapper'
>>make: *** [binary-modules] Error 2
>>I would like to know where I am going wrong. How to make modules and utils.
>>--
>>L.V.Gandhi
>>http://lvgandhi.tripod.com/
>>linux user No.205042
>>  
>>
>It may be worth looking at the Sarge install instructions 
>http://ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebianSarge 
>. They are simpler and use a stock kernel. Its easy to go wrong trying 
>to compile a special kernel. I can see no reason why these instructions 
>would not work in unstable too.
>
>Hth
>Chris.
>
>
>-- 
>To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

RbtBotL
Craig - ><>

 o    BU SysAdmin
/|\  607 777 6827 
 ^      Tot Ziens
   




Reply to: