LinuxQuestions.org
Review your favorite Linux distribution.
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 03-15-2005, 01:43 PM   #1
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Rep: Reputation: 30
Wireless install issue


Mistakenly posted this down in the regular networking forum yesterday. Hoping to have some response by cutting and pasting here.

-

Not having much luck in searching for a resolution for this one.

I just set up two boxes side-by-side with Mandrake 10.1. They have identical wireless NICs and I used the same Windows driver and Ndiswrapper version. One works fine and one doesn't. The driver works fine on my personal machine, so that's not the problem. And the installation procedure is the one on sourceforge.

Apparently, I hit a key incorrectly when rolling through the ndiswrapper installation on the problem unit because on issuing 'ifconfig', I get not only wlan0 but also wlan0:9. I'm assuming this is what's causing my connection problem (there is no connection).

I've been looking for a way to remove the "device" wlan0:9 with no luck. I have removed it from /etc/modprobe.conf (the alias ndiswrapper line), but it's still hanging around. Similarly, 'ifconfig wlan0:9 down' will remove it until I log out and back in. If you could point me to its other potential hiding spots, I'd really appreciate it.
 
Old 03-15-2005, 01:54 PM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Google is your friend. *ahem*

http://www.linuxquestions.org/questi...04/03/4/160325
 
Old 03-15-2005, 02:08 PM   #3
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Original Poster
Rep: Reputation: 30
Ha! Actually, I did find that one yesterday. And the only thing I could understand from it then (and now) is that I should check /etc/sysconfig/network-scripts/ifcfg-wlan0 for proper configuration. That file is the same as on the sister machine right next to it. There are also no other ifcfg-* files in that directory (besides lo). Am I missing something in that link?
 
Old 03-15-2005, 09:50 PM   #4
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Original Poster
Rep: Reputation: 30
Okay, got it working (for now) purely by accident, I'm sure. But I'll post the last steps I did in case anyone else ever has such an odd problem.

Removed 'alias wlan0:9 ndiswrapper' line from /etc/modprobe.conf (again!)
Rebooted and confirmed that the line hadn't re-infested modprobe.conf
Issue 'ifconfig' to confirm that both real and fake devices show up
Unload fake device with 'ifconfig wlan0:9 down'
Unload wlan driver with 'ndiswrapper -e <drivername>'
Rebooted and confirmed that any wlan cannot load at startup (missing driver error)
Followed ndiswrapper installation procedure from step 2 (install Windows driver) to end
Forced ndiswrapper to load on next boot (add line to /etc/modprobe.preload for my mdk)
Rebooted and saw zero wlan errors during startup.
Logged in and had a working conn

I'm not sure why my several previous attempts at reinstallation didn't work, excpet maybe I followed a slightly different procedure, such as not unloading or loading at a certain step. Note that above I actually forgot to unload the proper wlan0 before running through the ndiswrapper procedure. That may have been what made it work this time, but I'm not experienced enough to know if that matters. I can't guarantee that the above procedure is exact, but if it's not, it should be close enough to give someone an idea of how to approach the problem.
 
  


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
Wireless Keyboard Issue wildcat22 Linux - Hardware 2 08-08-2005 08:59 PM
Wireless DNS Issue digitzero MEPIS 18 07-09-2005 03:31 PM
Wireless install issue toes Linux - Wireless Networking 1 03-15-2005 09:52 PM
Weird Knoppix HD install wireless issue foamrotreturns Linux - Wireless Networking 1 01-26-2005 03:47 PM
Wireless issue with redhat 9 rascal2003 Linux - Newbie 2 11-24-2003 11:07 AM

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

All times are GMT -5. The time now is 05:33 PM.

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