LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ndiswrapper (for netgear wg311v3) on debian??? (or driver)??? (https://www.linuxquestions.org/questions/linux-software-2/ndiswrapper-for-netgear-wg311v3-on-debian-or-driver-591183/)

vineet7kumar 10-11-2007 06:51 PM

ndiswrapper (for netgear wg311v3) on debian??? (or driver)???
 
Hi,
I changed from FC6 to Debian(GNU/Linux 4.0 kernel2.6.18) today. Also got the new netgear wg311 v3 Wifi card (Marvell libertas chipset).

I searched the net and figured out that I need to 1st install ndiswrapper.

I downloaded ndiswrapper 1.48 . When I tried to install I got the following error

Aryabhatta:~/ndiswrapper-1.48# make

make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.48/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-4-686/build, is it configured?. Stop.
make[1]: Leaving directory `/root/ndiswrapper-1.48/driver'
make: *** [all] Error 2



What should I do to rectify this . I am completely new to debian.

Also is there a better way to install the drivers for the card or to get drivers for debian?

Thanks,
Vineet

Brian1 10-13-2007 01:24 PM

Never used Debian but maybe if it like Fedora the kernel source is not installed.

Brian

MasterOfTheWind 10-13-2007 01:36 PM

Yeah, you are probably missing the kernel source.

It's been a while since I've used Debian now, but you should try to do something like this (as root):

Code:

apt-get install kernel-headers-`uname -r` kernel-image-`uname -r`
edit: sorry, put wrong command instructions :S a bit rusty on debian ^^

MasterOfTheWind 10-13-2007 01:39 PM

Quote:

Originally Posted by vineet7kumar (Post 2921360)
Also is there a better way to install the drivers for the card or to get drivers for debian?

Yup. That would be:

Code:

apt-get install ndiswrapper-common ndiswrapper-utils ndiswrapper-modules-`uname -r`


All times are GMT -5. The time now is 10:05 PM.