LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-10-2005, 02:28 AM   #1
msalesi988
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 5.10
Posts: 12

Rep: Reputation: 0
modprobe ndiswrapper Error


In the process of getting my wireless USB dongle (trendnet tew-424ub) to work, and for a while there it was going quite well. Followed the instructions in the Ubuntu wiki. Got it to work with WEP. Then went to reboot to make sure it would start it (ndiswrapper) up at boot time.

Lo and behold, wlan0 was no longer in the network panel at all, and when i tried to modprobe ndiswrapper, it gave be a fatal error:

Code:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-10-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted
I don't at all understand how I could have done just this same command before I rebooted and it worked, but now it fails.

Sincerest gratification to anyone who helps me with this. It's aggravating to not get it to work, but it's worse when you had it working and now it doesn't.
 
Old 12-10-2005, 01:16 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
You have to use "sudo" or issue the command as root. Do
Code:
sudo modprobe ndiswrapper
not just
Code:
modprobe ndiswrapper
Also, list "ndiswrapper" in /etc/modules and it will be automatically loaded at boot up.
 
Old 12-11-2005, 01:09 PM   #3
msalesi988
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 5.10
Posts: 12

Original Poster
Rep: Reputation: 0
Did both of those & still got the problem--here's what happened:

When I did sudo modprobe ndiswrapper, first of all, I got the same Fatal error, which is what made me so confused. Didn't understand how sudo didn't have the privileges to set up the wireless network (then who would?).

Also, I did add ndiswrapper to /etc/modules, and got an even worse result. After the problem with modprobe, I rebooted only to have the booting process hand on "Loading modules." It wasn't able to start up, and I ended up having to reinstall Ubuntu. Still having same problems, can't figure them out. Pretty weird huh?

Thanks for your advice though. It seems like this would work on any normal computer. Why not mine??
 
Old 12-11-2005, 02:33 PM   #4
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
what is the output of "ndiswrapper -l"?
 
Old 12-11-2005, 11:39 PM   #5
msalesi988
LQ Newbie
 
Registered: Dec 2005
Distribution: Ubuntu 5.10
Posts: 12

Original Poster
Rep: Reputation: 0
As of now, after having reinstalled Ubuntu twice and reinstalled the driver twice, the ndiswrapper -l command gives:

Installed drivers:
sis163u driver installed, hardware present

Just to give you an idea, I didn't even run the command. I've done this so many times I can type it from memory. That is definitely what it says though, nom istake. The only problem arises with modprobe ndiswrapper.

Thanks!
 
Old 12-12-2005, 10:02 AM   #6
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
That's strange.
What kernel are you running.
uname -a
 
Old 12-12-2005, 10:25 AM   #7
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
Sorry, I hit the reply to early. I have a couple of other suggestions you may want to try.
Make sure you have the kernel-source is installed and there is a link to the kernel source from the modules directory.
ie. ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
where version is your kernel version.

Also how did you install ndiswrapper? Did you just use apt-get or did you compile it yourself from source? I remember reading somewhere that if you have multiple versions of ndiswrapper it could act funny, so just make sure you did one or the other.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ndiswrapper and modprobe error samuelLjackson Linux - Wireless Networking 12 06-20-2007 07:19 AM
Another 'modprobe ndiswrapper' error eddi Linux - Wireless Networking 1 08-02-2005 10:21 AM
error when modprobe(ing) ndiswrapper djgerbavore Slackware 1 07-01-2005 04:53 PM
SuSE 9.2 - ndiswrapper error on modprobe achtunga Suse/Novell 7 06-26-2005 02:28 PM
modprobe error while configuring ndiswrapper jaime1978 Linux - Laptop and Netbook 3 06-16-2004 03:31 AM


All times are GMT -5. The time now is 10:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration