LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-01-2005, 01:21 AM   #1
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Can't unload (or power off) wireless card (ndiswrapper won't unload)


So I just started using ndiswrapper today so my Linksys WCP11 card would work nicely. Sure enough, through following the simple directions and creating a script I was up and running in a few minutes. Turning off the dang thing has been more of a problem tho. I've tried 'ifconfig wlan0 down' and tried unloading the ndiswrapper module, and also tried powering off the PCMCIA cardbus through /rc.pcmcia. wlan0 down does seem to disconnet me from the internet, but doesn't help me as far as unloading the rest of it. The ndiswrapper module doesn't like to be removed and either says it's too busy for me or just freezes my computer. /rc.pcmcia tries to unload the cardbus modules resulting in my computer freezing. - This really sux because i can't even reboot or power down properly with this problem. I actually seem safer just cutting the power while no major processes are goin on.

Anybody ever see this problem before??? Anybody know how to fix it (ie. properly shutdown this ndiswrapper wireless device)?

phil
 
Old 10-01-2005, 07:59 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You may want to investigate using the cardctl command to turn off power to the pcmcia socket. The man page should give you the details. Also, it probably doesn't hurt to just leave the ndsiwrapper module loaded. I can't think of a real solid reason why you would need to unload it. Even if the card is not in the socket, having the module loaded shouldn't hurt anything.
 
Old 10-01-2005, 02:22 PM   #3
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Original Poster
Rep: Reputation: 73
yea, I did some more searching around and it sounds like the newsest version of ndiswrapper allows you to use cardctl eject # safely. I'll mess around with it when I have a relatively secure wireless network available to me again. If that doesn't work I think I'm going to change the Windows driver that I'm using. Currently I'm using the 2000 driver. Perhaps the XP driver would be more stable.....

phil
 
Old 10-01-2005, 03:50 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
The unfortunate bit about ndiswrapper is that there can be a lot of trial and error involved in finding the right driver. Sometimes it also pays off to use older versions of ndiswrapper as well, particularly if you're using an rc version. Those tend to be a bit buggy.
 
Old 10-02-2005, 12:12 AM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Original Poster
Rep: Reputation: 73
Thanks a ton for the advice! You were dead on about using an older version. After I realized that the other drivers wouldn't help at all I uninstalled everything (which it was an rc version btw - 1.4rc) and installed the 0.8 version in its place. Used the 2000 driver yet again, but this time the card would unload with the cardctl commands as expected! Everything works great now. My only other question is about my lsmod output. I noticed that when I load the driver that 'Taint: P' shows up. Now I know that this means that a proprietary module has been loaded, but is there anything else I should be aware of (ie. any potential problems)? The word 'Taint' just kinda sounds bad...

Thanks again for your help,

phil
 
Old 10-02-2005, 08:17 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
The word 'Taint' just kinda sounds bad...
If it is the error message I'm thinking of, it has hands down won the Oscar for Worlds Most Misleading Error. The author of that one needs to be flogged.

The "tainting" refers not to a code problem, but to the fact that ndiswrapper uses a different open source license than the rest of the kernel, and therefore the kernel is "tainted" because there may be license restrictions on the added module. If they had said something like "license tainted" or "license altered" it would save people a lot of heartburn. So basically, unless you are an open source purist and are physically revolted by using a potentially less than pure kernel module, don't worry about it.
 
Old 10-02-2005, 10:48 AM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Original Poster
Rep: Reputation: 73
that's funny.
 
  


Reply



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
Unload USB Device MikeyCarter Linux - Hardware 10 07-08-2005 02:36 PM
Unload a module without rebooting? Phaethar Linux - Software 4 04-27-2005 12:42 PM
unload ub-module at boot? Urkburk Slackware 10 03-25-2005 05:35 AM
unload debugger and try again edemark Linux - Games 3 11-21-2004 08:20 AM
Unload wireless module (orinoco_cs)? coujeaux Linux - Wireless Networking 1 10-15-2003 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration