Results 1 to 10 of 12
Please can some kind person help me with this problem as it's driving me nuts!
I've been trying to follow the instructions in this thread to install my Linksys WMP54G ...
- 04-25-2005 #1
NdisWrapper: Can't find the kernel sources
Please can some kind person help me with this problem as it's driving me nuts!
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
I ran su root and then this command:Code:[root@r2d2 ndiswrapper-1.1]# make make -C driver make[1]: Entering directory `/home/ben/downloaded/ndiswrapper-1.1/driver' Can't find kernel sources in /lib/modules/2.6.8.1-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/home/ben/downloaded/ndiswrapper-1.1/driver' make: *** [all] Error 2
The command did not return any errors. I have checked and these paths do exist. I have also followed the instructions in this link: http://ndiswrapper.sourceforge.net/p.../Mandrake 10.1 and tried 'make' again but the same thing happens. Where am I going wrong? Is the syntax of my ln statement correct?Code:ln -s /usr/src/linux-2.6.8.1-12mdk /lib/modules/2.6.8.1-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!!
- 04-25-2005 #2
try this:
Also sometimes, you need to recompile kernel to handle wireless cards. This was a solution for my friend's centrino laptop problems.Code:make KSRC=/lib/modules/2.6.8.1-12mdk/build
- 04-26-2005 #3
That doesn't work ..
How do I recompile the kernel to handle wireless cards? Bear in mind I am not very experienced with Linux...Code:[root@r2d2 ndiswrapper-1.1]# make KSRC=/lib/modules/2.6.8.1-12mdk/build make -C driver make[1]: Entering directory `/home/ben/downloaded/ndiswrapper-1.1/driver' Can't find kernel sources in /lib/modules/2.6.8.1-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/home/ben/downloaded/ndiswrapper-1.1/driver' make: *** [all] Error 2
Alternatively is there any distro with native support for WALN?
- 04-26-2005 #4
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.DISTRO=Arch
Registered Linux User #388732
- 04-28-2005 #5
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!!
- 04-28-2005 #6
- 04-28-2005 #7Code:
urpmi kernel-source
There 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 #8I've tried that. It says 'already installed' or something similar.
Originally Posted by Flatline
- 05-01-2005 #9
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:F1
C:35:E9
Bit Rate:54Mb/s Tx-Power:14 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
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?
- 05-01-2005 #10
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.
Run:
This will run the command with a timeout of 5 seconds. Assuming it runs successfully, you will now have everything working happily.Code: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.DISTRO=Arch
Registered Linux User #388732


Reply With Quote
