LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot install ndiswrapper (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-install-ndiswrapper-490962/)

Koop 10-09-2006 07:15 PM

cannot install ndiswrapper
 
I'm Linspire five-o at the moment and when I (as root) type make install I get the following error:

Quote:

make -C driver install
make[1]: Entering directory `/home/ndis/driver'
Can't find kernel build files in /lib/modules/2.6.14/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/ndis/driver'
make: *** [install] Error 2

Koop 10-10-2006 06:17 AM

Anyone got any ideas at all?

IndyGunFreak 10-10-2006 06:25 AM

I could be wrong, but Linspire doesn't seem to be used much here (judging by the posts in Linspire forum anyways)

Try here...
http://forum.linspire.com/index.php?...401995a5093f9d

IGF

Lotharster 10-10-2006 06:27 AM

Quote:

Can't find kernel build files in /lib/modules/2.6.14/build
This looks like you're missing the kernel sources needed to compile the ndisdriver. If your distribution supports apt, try apt-get install linux-source-2.6.14.

b0uncer 10-10-2006 06:37 AM

I assume you have searched, then searched and once more searched for native drivers before going for ndiswrapper? If you haven't, you might want to. That's the preferred way, ndiswrapper is "a way around", if no other solution is available.

Well anyway if you want to see how this works, you should have spent 0.1 seconds with Google to find this page:

http://www.linuxelectrons.com/News/H...50526211518626

Oh, and the search terms to find this one? They were: installing kernel sources for linspire. One might guess that..

Koop 10-10-2006 06:57 AM

I've already read http://www.linuxelectrons.com/News/H...50526211518626 but I cannot download the kernel source because I have no Internet connection with Linspire so I cannot seem download it any other way.

Also I cannot find any Linux drivers for my wireless card, I have to use the Windows one's - Mrv8000c.sys/inf

Koop 10-10-2006 01:40 PM

Ok, when I perform ndiswrapper -i Mrv8000c.INF Mrv8000c I get the following:

Quote:

Jay:/lib/windrivers# ndiswrapper -i Mrv8000c.INF Mrv8000c
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by 'inffile'
-d devid driver Use installed 'driver' for 'devid'
-e driver Remove 'driver'
-l List installed drivers
-m Write configuration for modprobe
-hotplug (Re)Generate hotplug information


where 'devid' is either PCIID or USBID of the form XXXX:XXXX
any ideas?

Koop 10-10-2006 02:13 PM

ok, driver is loaded/hardware present, now I do:

Quote:

Jay:~# modprobe ndiswrapper
Then

Quote:

Jay:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

Jay:~#
any ideas whats going on?

beagle2 10-10-2006 02:23 PM

What does dmesg report after you modprobe ndiswrapper?


All times are GMT -5. The time now is 01:03 AM.