Re: ndiswraaper install error.

2007-01-29 Thread Craig M. Houck
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 +, 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 src19 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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ndiswraaper install error.

2007-01-29 Thread L . V . Gandhi

On 1/29/07, Craig M. Houck [EMAIL PROTECTED] wrote:


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 +, 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 src19 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.




Thanks for your time. I have done this using m-a a-i ndiswrapper. everything
goes OK. My wifi interface is recognised as eth0 and ethernet one as eth1. I
don't know how this done. But any reference to know is welcome. I could get
connected also by the script as given by me earlier. Problem is it is
neither get activated by hotplug nor by auto eth0 in interfaces.
When I run the script after login, it gets connected.
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Re: Re: ndiswraaper install error.

2007-01-29 Thread Angelo Bertolli

L.V.Gandhi wrote:
Thanks for your time. I have done this using m-a a-i ndiswrapper. 
everything goes OK. My wifi interface is recognised as eth0 and 
ethernet one as eth1. I don't know how this done. But any reference to 
know is welcome. I could get connected also by the script as given by 
me earlier. Problem is it is neither get activated by hotplug nor by 
auto eth0 in interfaces.


When I run the script after login, it gets connected.
Sorry, I haven't been following this thread but in /etc/modprobe.d you 
should find a file called ndiswrapper.  I think you can edit that file 
to change the alias of your interface from eth0 to wlan0 if you want.


Angelo

--
www.bitfreedom.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Re: ndiswraaper install error.

2007-01-29 Thread L . V . Gandhi

On 1/29/07, Angelo Bertolli [EMAIL PROTECTED] wrote:


L.V.Gandhi wrote:
 Thanks for your time. I have done this using m-a a-i ndiswrapper.
 everything goes OK. My wifi interface is recognised as eth0 and
 ethernet one as eth1. I don't know how this done. But any reference to
 know is welcome. I could get connected also by the script as given by
 me earlier. Problem is it is neither get activated by hotplug nor by
 auto eth0 in interfaces.

 When I run the script after login, it gets connected.
Sorry, I haven't been following this thread but in /etc/modprobe.d you
should find a file called ndiswrapper.  I think you can edit that file
to change the alias of your interface from eth0 to wlan0 if you want.

I am afraid that may not be possible. something is creating the device

eth0 as wireless one before ndiswrapper uses it. Problem is not that. Why
lines in interfaces fail to get lease from dhcp server in first instance nad
get it second time from the script


--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


Re: ndiswraaper install error.

2006-02-08 Thread Chris Lale

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 src19 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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ndiswraaper install error.

2006-02-08 Thread Craig M. Houck
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 +, 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 src19 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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RbtBotL
Craig - 

 oBU SysAdmin
/|\  607 777 6827 
 ^  Tot Ziens
   



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ndiswraaper install error

2006-02-05 Thread L.V.Gandhi
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 src19 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


Re: ndiswraaper install error

2006-02-05 Thread Andreas Janssen
Hello

L.V.Gandhi ([EMAIL PROTECTED]) 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

You don't need (and shouldn't use) the linux-source package. It does not
have what you need to build modules for the running kernel. To use the
source, you must configure it using the config file from your kernel,
and change the Makefile to macht your kernel version. You need the
linux-headers-`uname -r` package instead, it was made for compiling
modules. Luckily you already installed it.

 lrwxrwxrwx  1 root src19 2006-02-04 12:32 linux -
 linux-source-2.6.15

Remove this symlink, and remove /usr/src/linux-source-2.6.15 as well.
Then run module-assistant prepare and m-a auto-install ndiswrapper.

best regards
Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ndiswraaper install error

2006-02-05 Thread L.V.Gandhi
On 2/5/06, Andreas Janssen [EMAIL PROTECTED] wrote:
 You don't need (and shouldn't use) the linux-source package. It does not
 have what you need to build modules for the running kernel. To use the
 source, you must configure it using the config file from your kernel,
 and change the Makefile to macht your kernel version. You need the
 linux-headers-`uname -r` package instead, it was made for compiling
 modules. Luckily you already installed it.

  lrwxrwxrwx  1 root src19 2006-02-04 12:32 linux -
  linux-source-2.6.15

 Remove this symlink, and remove /usr/src/linux-source-2.6.15 as well.
 Then run module-assistant prepare and m-a auto-install ndiswrapper.

thanks. However I have compiled a new kernel with headers and
installed ndiswrappers.

--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


ndiswraaper install error.

2006-02-04 Thread L.V.Gandhi
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 src19 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