Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I installed ndiswrapper on Mandrake 9.2 for my wpc54g wireless card and am using KDE. I had ndiswrapper working perfectly, but then I was tinkering with the network settings and now I cannot get it to work.
What I tried:
I created a link: ln -s /usr/src/linux /lib/modules/2.4.2-10mdk
I ran ./install.sh and the program loaded without a hitch.
Then I tried to run the following script (which had worked before):
[root@Goblin ndiswrapper]# wifiup
/lib/modules/2.4.22-10mdk/misc/ndiswrapper.o: kernel-module version mismatch
/lib/modules/2.4.22-10mdk/misc/ndiswrapper.o was compiled for kernel version 2.4.22-28mdkcustom
while this kernel is version 2.4.22-10mdk.
modprobe: insmod /lib/modules/2.4.22-10mdk/misc/ndiswrapper.o failed
modprobe: insmod ndiswrapper failed
Cannot find minor for kernel module. Module loaded?
So, obviously ndiswrapper.o was compiled with the wrong kernel, but how do I compile it with the correct one? ...also, why do I have two kernel sources at all: shouldn't there be just one?
If the kernel version is pre-existing (2.4.2-10mdk) when you build a kernel generally the kernel will by default have "custom" tagged onto the end.
If you build a kernel whose version number does not already exist then the "custom" will generally not be attached on the end of the version.
Should recompile ndiswrapper while booted up in 2.4.22-28mdkcustom kernel.