Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/misc/ndiswrapper.k

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-31-2007   #1 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 18
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/misc/ndiswrapper.k

I've been trying to get this to work for a while now and I keep getting this fatal error for no apparent reason to me....I don't understand why this won't work
Code:
root@test-desktop:~# cd /root/Desktop/drivers
root@test-desktop:~/Desktop/drivers# ndiswrapper -l
No drivers installed
root@test-desktop:~/Desktop/drivers# ndiswrapper -i WUSB54G.INF
Installing wusb54groot@test-desktop:~/Desktop/drivers# ndiswrapper -l
Installed drivers:wusb54g         driver installed, hardware present 
root@test-desktop:~/Desktop/drivers# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
root@test-desktop:~/Desktop/drivers# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/misc/ndiswrapper.ko): Invalid argument
MercyMe is offline  


Reply With Quote
Old 01-31-2007   #2 (permalink)
Linux Newbie
 
Join Date: Sep 2004
Location: Aberdeen, Scotland
Posts: 204
Did you install ndiswrapper or was it pre-installed? Which distro are you using? See this for more.
__________________
Elive,kanotix-mini,pclinuxos super gamer,xp, sidux
beagle2 is offline   Reply With Quote
Old 01-31-2007   #3 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 18
Os

I use newest ubuntu, I installed ndiswrapper from the ubuntu cd.
*I am trying what was posted on that link
**I can't compile ndiswrapper it doesn't make because I don't have kernel souce but, It installs fine from the CD oO very strange =.=.
***Do you know where kernel source is located on ubuntu CD? I only found kernel headers and lan packages ect -.-.

Last edited by MercyMe; 01-31-2007 at 11:33 PM.. Reason: Edit:
MercyMe is offline   Reply With Quote
Old 02-01-2007   #4 (permalink)
Linux Newbie
 
Join Date: Sep 2004
Location: Aberdeen, Scotland
Posts: 204
Ok, see this https://launchpad.net/ubuntu/+source...per/+bug/59983 and then the solution here . If you don't have a working internet connection on this pc see this section 5. Hope this helps.
__________________
Elive,kanotix-mini,pclinuxos super gamer,xp, sidux
beagle2 is offline   Reply With Quote
Old 02-01-2007   #5 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 18
I thought I had build-essentials installed thas why I couldnt compile ndiswrapper on its own >_< lol anyway now:
OK I got it to modprobe ndiswrapper but its still displaying as eth2
not wlan0 is there a driver for Linux Net Adapter:WUSB54Gv1 that I am supposed to blacklist oO? I blacklisted the v4 one did nothing...
MercyMe is offline   Reply With Quote
Old 02-01-2007   #6 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 18
Angry Modprobe ndiswrapper worked??

Modprobe worked does anyone know why my wireless adapter isnt identified as wlan0 even thoughmodprobe ndiswrappper produced no errors????
>_<
MercyMe is offline   Reply With Quote
Old 02-01-2007   #7 (permalink)
Linux Newbie
 
Join Date: Sep 2004
Location: Aberdeen, Scotland
Posts: 204
The naming of the interface isn't a problem, it can appear as wlan0,eth1,ndis0. What does ifconfig and iwconfig report, and what does dmesg report after you modprobe ndiswrapper?
__________________
Elive,kanotix-mini,pclinuxos super gamer,xp, sidux
beagle2 is offline   Reply With Quote
Old 02-01-2007   #8 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 18
dmesg? .... Does this help?

Code:
root@THEBOX:~# modprobe ndiswrapper
root@THEBOX:~# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr MY:MA:CA:DD:RE:SS  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@THEBOX:~# iwconfig eth2
eth2      IEEE 802.11b  ESSID:""  
          Mode:Auto  Channel=1  Access Point: Invalid   
          Sensitivity=0/200  
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
root@THEBOX:~# sudo iwconfig eth2 key 207A-1324-4970-B3C8-552C-CFCD-79
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device eth2 ; Unknown error 524.

Last edited by MercyMe; 02-01-2007 at 11:38 PM.. Reason: hope this helps...
MercyMe is offline   Reply With Quote
Old 02-02-2007   #9 (permalink)
Linux Newbie
 
Join Date: Sep 2004
Location: Aberdeen, Scotland
Posts: 204
When you modprobe ndiswrapper just type in the command dmesg in the console and it should give info about ndiswrapper and what just happened when you modprobed it.
Another thing, try and remove islsm_usb then remove and add back ndiswrapper ie:
modprobe -r islsm_usb modprobe -r ndiswrapper then modprobe ndiswrapper again and see if you get any luck.
__________________
Elive,kanotix-mini,pclinuxos super gamer,xp, sidux
beagle2 is offline   Reply With Quote
Old 02-02-2007   #10 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 18
*Trying

EDIT:Typing this edit on LINUX BYAAAAH!!! >_<
MercyMe is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:26 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2