LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-09-2005, 08:48 PM   #1
JakeMH
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
My wireless USB adapter seems to only work when it wants to


My OS is Ubuntu 5.04, my USB adapter is a MN-510, and I'm using the linux-wlan drivers. After installing the drivers, all I had to do to get my connection to work was:

sudo wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
sudo wlanctl-ng wlan0 lnxreq_autojoin ssid="" authtype=opensystem
sudo dhclient wlan0

My first time doing that the connection worked and I could use the Internet. When that worked, I restarted the coputer, and on boot up I got the error message:

starting hotplug subsystem:
modprobe: FATAL: module wlan0 not found

Now when I try type in the same commands, the "sudo wlanctl-ng wlan0 lnxreq_autojoin ssid="" authtype=opensystem" will pause for a few seconds, and after it gives the successful message, the adapter doesn't have a connection. Sometimes when I reboot, the same thing will happen, but if I unplug and replug the adapter a few times, "sudo wlanctl-ng wlan0 lnxreq_autojoin ssid="" authtype=opensystem" will return a result instantly and the connection will work. This rarely works, though. Usually when I unplug and replug the adapter, the wireless light will continuously blink and wlanctl-ng won't detect it. If I keep unplugging it to try to get it to work right, both lights will turn off and the adapter is completely useless until I restart the computer.

I followed the directions in the linux-wlan README, but nothing seems to work. Is it a problem with hotplug? What I don't understand is why it sometimes works, but usually doesn't, and why it worked before I restarted the computer, but not after.

Thanks for any help
 
Old 06-10-2005, 09:29 PM   #2
JakeMH
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Nobody knows?
 
Old 09-21-2005, 04:34 PM   #3
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 72

Rep: Reputation: 0
I have had the exact same problem . Someone on the ubuntu forum suggested putting the prism2_usb driver into "/etc/hotplug/blacklist" to keep it from loading, then running "modprobe prism2_usb doreset=1" and then the linux-wlan-ng commands that you have. I have not got it working on boot yet, but when I do it manually it DOES seem to work, with no more dropped connections.
 
Old 09-23-2005, 11:08 AM   #4
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
I would say for JakeMH that he needs to modprobe the driver so it won't get lost when you reboot. Otherwise, you have to reload it. But for mstrimel, you've obviously tried the modprobe command so linux will save your driver. You probably just need to find a way to add it to your startup. Ex. for ndiswrapper, you have to add the line "ndiswrapper" to your /etc/models.preload file to get ndiswrapper to come up on boot and load your module for the wlan0. It's probably something like this that you need.
 
  


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
How do i get my Wireless PCI Adapter to work! Prometheuz Linux - Wireless Networking 1 06-28-2005 11:31 PM
getting my Linsys Wireless-G USB adapter to work with Mandrake... chaos_dragon Linux - Newbie 1 12-24-2004 04:20 PM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 08:13 AM
Trying to get a wireless USB adapter to work with Knoppix STD... NeoX51 Linux - Wireless Networking 0 07-23-2004 03:58 PM
Linksys Wireless USB adapter won't work pilot1 Linux - Wireless Networking 24 10-16-2002 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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