Results 1 to 10 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
NdisWrapper: Can't find the kernel sources
I've been trying to follow the instructions in this thread to install my Linksys WMP54G WLAN card: http://www.linuxforums.org/forum/top...ghlight=wmp54g
But I'm getting this error when I try to 'make' the package
[root@r2d2 ndiswrapper-1.1]# make make -C driver make: Entering directory `/home/ben/downloaded/ndiswrapper-1.1/driver' Can't find kernel sources in /lib/modules/220.127.116.11-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make make: *** [prereq_check] Error 1 make: Leaving directory `/home/ben/downloaded/ndiswrapper-1.1/driver' make: *** [all] Error 2
ln -s /usr/src/linux-18.104.22.168-12mdk /lib/modules/22.214.171.124-12mdk/build
My pc is running mandrake 10.1, it's a P3 DELL desktop. Please can someone help me because this is starting to drive me up the wall!!
That doesn't work ..
[root@r2d2 ndiswrapper-1.1]# make KSRC=/lib/modules/126.96.36.199-12mdk/build make -C driver make: Entering directory `/home/ben/downloaded/ndiswrapper-1.1/driver' Can't find kernel sources in /lib/modules/188.8.131.52-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make make: *** [prereq_check] Error 1 make: Leaving directory `/home/ben/downloaded/ndiswrapper-1.1/driver' make: *** [all] Error 2
Alternatively is there any distro with native support for WALN?
Most WLAN cards are supported by default, but the problem that you (and I) have is that Linksys hates Linux. Thus, we use ndiswrapper.
The way that I have solved this problem in the past when I used Mandrake was simply to download the kernel sources and compile my own kernel. You may want to do that as well; it's a bit intimidating at first, but you can press <?> on any option to get an explanation.
If you're interested: www.kernel.org
You'll have to add it to your LILO also, which is pretty easy. And then you can boot between the old kernel and the new one, which means that even if you screw up, you can always reconfigure and compile.
Sorry I can't help otherwise.
Well I'm getting nowhere with ndiswrapper and there is no support for it apart from forums like this one, even then there is only a 50/50 chance someone can help/will respond to my specific problem .. the documentation assumes waaaay too much knowledge for a newbie like me to make head or tail of it, that's one of the problems I seem to be facing a lot with Linux, I can build a system and use it for web surfing and word processing but if I want to do anything more than that I have to compile the packages myself using /.configure and make, and all of the packages make the assumption you know what you're doing and you'll know what it means when it says 'link to the kernal sources' or 'recompile the kernal'.
Anyway, rant over ..
Is there a recommended WLAN card I can buy that will work with Mandrake 10.1 (or any other distro) out of the box, or with the minimum fuss? I'm willing to put in legwork to get stuff to work but I just can't get my head round ndiswrapper!!
urpmi kernel-sourceThere are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.
- Jeremy S. Anderson
04-28-2005 #8Originally Posted by Flatline
I'm half-way there, I ran urpmi ndiswrapper and it installed automatically! (d'oh .. if only I had known that last week!)
if I do iwconfig I get this:
wlan0 IEEE 802.11g ESSID:"cup'otea"
Mode:Managed Frequency:2.462GHz Access Point: 00:30:F1C:35:E9
Bit Rate:54Mb/s Tx-Power:14 dBm
RTS thr:2347 B Fragment thr:2346 B
Link Quality:100/100 Signal level:-29 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
But if I go to Configure your computer, network and internet, manage connections, the wlan connection is in the drop down box but there are no properties for the connection. What do I do next?
Also I have to use 'modprobe ndiswrapper' every time I reboot. Can I made it do this automatically?
Ah, good, you got it working. Congrats.
Now you need to actually start the connection. I do this with the "dhcpcd" command, which requires the wirelesstools package. But I think that iwconfig is part of that package, so you probably have it.
dhcpcd -t 5 wlan0
And yes, you will need to run these commands everytime you start the computer. Check for a file called /etc/modules.autoload.d/kernel-2.6 or something of that sort. If it exists (I dunno if Mandrake does it), add "ndiswrapper" to that line. This will autoload it. You will still need to run the "dhcpcd -t 5 wlan0" command manually, though.