Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 09:14
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
USB wireless key won't connect to network at boot up
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
emonette123

Joined: 15 Sep 2010
Posts: 1

PostPosted: Wed 15 Sep 2010, 23:53    Post subject:  USB wireless key won't connect to network at boot up
Subject description: wlan0 is ok, but won't connect to wireless network
 

I was wondering why I always had to manually reconnect to my wireless network at each boot up. I am using a hard drive installation and a Trendnet TEW-424UB USB wireless key with ndiswrapper driver to connect to my wireless network.

wlan0 is always set up properly at each boot up. I dug my way through the initialization sequence and ended up looking at /usr/local/simple_network_setup/rc.network batch file. Calling the batch anew after boot up would work fine, but it didn't work during boot up. At boot up, the iwlist wlan0 scan command was not finding anything. On the second call to the batch file, it would correctly list my network. So I looked at which command woke up my USB wireless key and found out it was

iwconfig wlan0 essid "mynetworkname"

I found 2 solutions:

1) calling
iwconfig wlan0 essid any
twice prior to listing the networks

2) calling
iwconfig wlan0 essid "SomeDummyValue"
once prior to listing the networks

It looks like, after a power down, the USB key is not in the state where essid is at any/off while wlan0 thinks it is. Calling the iwconfig wlan0 essid correctly set the state of the USB key. Or it is something else and I was just lucky, I really am not a pro about that!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0358s ][ Queries: 12 (0.0038s) ][ GZIP on ]