MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Probably every situation is different, but some one else may be having the same problem out there with mandriva LE2005 and ndiswrapper.
I installed ndiswrapper, I ran modprobe, and I got the famous error :
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-6mdksmp/misc/ndiswrapper.ko): Operation not permitted
I ran ndiswrapper -e ndiswrapper.ko, and bingo! This solve the problem. modprobe ndiswrapper did not complain anymore, as a matter of fact, I am writing this messages using my wireless card.
ndiswrapper must have the driver loaded before the module is loaded. Also, "operation not permitted" sounds like you was not root when modprobing. Anyway, great that it worked out for you.
Usually this is enough. The driver should be running by now, and you can check out if it's working by looking at ifconfig and iwconfig (make sure you have installed wireless-tools). The driver.inf file is the inf file for your driver found on the Windows CD.
ya, i did all that but ifconfig and iwconfig still show no signs of a wireless connection. dmesg shows
Quote:
[ 4150.515666] ndiswrapper version 1.23 loaded (preempt=yes,smp=yes)
[ 4150.568768] ndiswrapper (check_nt_hdr:149): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 4150.568776] ndiswrapper (load_sys_files:214): couldn't prepare driver 'bcmwl5'
[ 4150.555720] ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
When I try that ndiswrapper -l command I get that inffile:invalid driver but my driver for my device is installed and it acknowledges the device is present.
When I try the ndiswrapper -e ndiswrapper.ko i get that there is no such file.
i've got a wireless pcmcia with a marvell chipset ( i already knew that they aren't compatible with linux) and after researching on google.com/linux i manage to make the install of the driver with ndiswrapper 1.34. but somehow when i try to config the hardware on MCC it says cannot find ndiswrapper interface...
i found that my netwg121.inf had bad characters when specifying the netwg121nd5.sys file under the ServiceBinary definition
hence when i looked in the /etc/ndiswrapper/netwg121 directory where the "ndiswrapper -i netwg121.inf" put everything for me, there was only a *.inf file and not any *.conf or *.sys files there
after i fixed the netwg121.inf file, then ndiswrapper -i worked just fine
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.