LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-18-2009, 05:51 PM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
USB Wireless device fails to connect


The title isn't perfect, but I couldn't think of any way to put it.

I'm using a USB Netgear WPN111 Wireless Adaptor.
On a previous computer running Ubuntu Jaunty and WinXP, it could be left plugged in while the computer was powered down, and it would auto-connect by itself when a user logged into either OS.

However, on the new computer now using it, on Ubuntu Karmic, it has to be removed prior to shutting down, and plugged back in after logging off.

If it's left in, as several people here keep doing, after login, it has to be unplugged, removed from NDisWrapper (I haven't found a native solution for it yet) and then re-added again, then plugged back in, then it works normally - if NDisGTK doesn't lock up when I try to access it.

The network manager - if it matters - is the normal NetworkManager, with accompanying Gnome panel applet.

Thanks in advance.
 
Old 11-20-2009, 03:39 PM   #2
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Can one presume that you have upgraded to karmic? Can one also assume that you are using a 32bit version? I couldn't find any 64bit atheros drivers for my wpn111, so it has become a paper weight. There seem to numerous issues with karmic and wireless cards - I am not sure whether this is a 2.6.31 kernel issue or a wpa_supplicant issue, but karmic isn't ready for my consumption yet even with my Broadcom 4306 (rev3) minipci card built in to my Ferarri 3400 laptop.
 
Old 11-20-2009, 03:48 PM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
Yes, Karmic 32bit. I keep the Windows version of the drivers always, in case I need it for NDisWrapper.

I did try to find native drivers for it, but all I could find just referred me back to putting the Wireless Driver back into NDisWrapper.

I agree though, Karmic clearly isn't ready. I'll admit that their dedication to release without delay is a good thing, but sometimes a well-explained delay can do more, IMO.
 
Old 11-20-2009, 04:36 PM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Next question - Are you using XP or Vista drivers? My research determined that the XP drivers worked best but then there is no XP 64bit so I have tried without success to extract the 64bit Vista drivers.
 
Old 11-20-2009, 04:39 PM   #5
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
Windows XP, yes. It's the only copy of Windows I have to hand, so any hardware I got before I started using Linux has always been XP compatible.
 
Old 11-20-2009, 05:18 PM   #6
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Have you tried as root/sudo/gsudo/whatever:

modprobe -r ndiswrapper
modprobe ndiswrapper

with and/or without removing the wpn111? Or am I missing that you are already using these commands?

Are you using any encryption?

Have you looked at /var/log/daemon.log? Any hints there when your prob appears or rather diappears?
 
Old 11-20-2009, 05:24 PM   #7
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
I haven't tried them, but they may run as root anyway - I haven't changed anything since installing NDisWrapper, so if by default it uses that, then it's using that.

We're not using encryption, but the USB device doesn't start, so it doesn't matter. Once it's been unplugged, removed from NDisWrapper, added again, then plugged in, it's perfectly normal again.

I haven't looked at the daemon - will do when I get back to the PC with the problem, but I suspect there won't be much in there.
 
Old 11-20-2009, 05:52 PM   #8
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Sorry, I am obviously mis-reading your 'removed from ndiswrapper' phrase. The commands I suggested remove a user (that's you) loaded kernel module and then replaces it again. That's what I assumed you were doing when you said 'removed from ndiswrapper'.

If I remember correctly karmic's kernel doesn't have the built-in ndiswrapper.ko, so it must have been added later???
 
Old 11-20-2009, 05:54 PM   #9
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
I don't know for sure. I haven't changed it at all, except for any updates.
What I meant I usually do was:
1 - unplug from the USB port.
2 - remove the driver from NDisWrapper's list
3 - add the .inf back into the list
4 - plug it back in again.

Hope this clears that up.
 
  


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
Ubuntu Hardy: Wireless occasionally fails to connect (NDISwrapper) Ronson Linux - Wireless Networking 6 08-18-2008 02:14 PM
Wireless card fails to connect to encrypted networks rhathar Linux - Wireless Networking 4 03-01-2008 12:44 AM
Fedora 8, Wireless can scan network, asks for password, fails to connect. Learn41 Linux - Newbie 2 02-19-2008 09:46 PM
Sun Ultra 20 M2 fails to boot if an USB storage device is plugged in crisostomo_enrico Solaris / OpenSolaris 6 08-23-2007 10:16 AM
how to connect modem through USB device nevinst1 Linux - Hardware 1 05-25-2006 05:07 PM

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

All times are GMT -5. The time now is 08:16 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