Installing Wireless Network Adapter
Hi,
I'm trying to get my wireless usb dongle working in Mandriva Linux 2007. The version of the kernel i'm using is:
2.6.17-5mdv
I'm using a "how to" guide that explains how to set up ndiswrapper so that you can use the windows drivers in linux to enable the wireless adapter.
The problem arises when I try the following command:
urpmi kernel-source-2.6-2.6.17-5mdv
I get the message "no package named urpmi kernel-source-2.6-2.6.17-5mdv"
When I try to "make" the ndiswrapper program, I get the following:
[root@localhost ndiswrapper-1.37]# make
make -c driver
make [1]: Entering directory /home/james/Documents/nidiswrapper-1.37.tar/ndiswrapper-1.37/driver
Can't find kernel build files in /lib/module/2.6.17-5mdv/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/james/Documents/ndiswrapper-1.37.tar/ndiswrapper-1.37/driver
make: *** [all] Error 2
I think that this is because I don't have the kernel source files on my system. Please could someone give
me a walkthrough of what I need to do to fix this - an idiot's guide would be good as i'm new to linux.
When I run ls /lib/modules/2.6.17-5mdv there is no "build" directory present.
Many thanks
James