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 Mon 25 May 2015, 07:50
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 Posts_count_1  
Author Message

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
Sub_title: 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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0351s ][ Queries: 11 (0.0029s) ][ GZIP on ]