View previous topic :: View next topic |
Author |
Message |
jerkface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41623789345bcfca350f20.jpg)
Joined: 19 Apr 2004 Posts: 65 Location: Tacoma, Wa
|
Posted: Tue May 15, 2007 3:14 am Post subject: I can only connect to the first ap listed in preferred_aps |
|
|
My connection at home has a cloaked ESSID and a WEP, and at work it is wide open. In /etc/conf.d/net I have to uncomment the line with the ap I wan't to connect listed first before I try to start wlan0 (see title), or I end up trying to connect to "" with a mac of 00:00:00:00:00:00 and I have to wait for dhcp to timeout. This is really annoying if I forget to edit the file before I leave for work or before I leave work, because I can't edit the file before wlan0 tries to start at boot. Here is an example of how I connect at home. Code: | modules_wlan0=( "iwconfig" )
key_JerkfaceNet="[1] s:ItsASecret [1] enc restricted"
#preferred_aps_wlan0=( "Work 4Free WiFi" "JerkfaceNet" )
preferred_aps_wlan0=( "JerkfaceNet" "Work 4Free WiFi" )
associate_order="forcepreferredonly" | And if I want to connect at work. Code: | modules_wlan0=( "iwconfig" )
key_JerkfaceNet="[1] s:ItsASecret [1] enc restricted"
preferred_aps_wlan0=( "Work 4Free WiFi" "JerkfaceNet" )
#preferred_aps_wlan0=( "JerkfaceNet" "Work 4Free WiFi" )
associate_order="forcepreferredonly" | Why can't I connect to the second ap listed? ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ Most Linux users don't know this, but the man pages are named after Chuck Norris. Chuck Norris fscking hates noobs! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jerkface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41623789345bcfca350f20.jpg)
Joined: 19 Apr 2004 Posts: 65 Location: Tacoma, Wa
|
Posted: Wed May 16, 2007 3:44 am Post subject: |
|
|
Sorry for the bump, but this should work right? ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ Most Linux users don't know this, but the man pages are named after Chuck Norris. Chuck Norris fscking hates noobs! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jerkface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41623789345bcfca350f20.jpg)
Joined: 19 Apr 2004 Posts: 65 Location: Tacoma, Wa
|
Posted: Wed May 16, 2007 2:03 pm Post subject: |
|
|
This is the output of it failing to connect from home w/ Code: | preferred_aps_wlan0=( "Work 4Free WiFi" "JerkfaceNet" ) |
Code: | # /etc/init.d/net.wlan0 restart
* Caching service dependencies ... [ ok ]
* Stopping wlan0
* Bringing down wlan0
* Stopping dhcpcd on wlan0 ... [ ok ]
* Shutting down wlan0 ... [ ok ]
* Starting wlan0
* Configuring wireless network for wlan0
* Trying to force preferred in case they are hidden
* wlan0 connected to ESSID "" at 00:00:00:00:00:00
* in managed mode on channel 11 (WEP disabled)
* Configuration not set for wlan0 - assuming DHCP
* Bringing up wlan0
* dhcp
* Running dhcpcd ...
Error, wlan0: timed out [ !! ]
| And dmesg Code: | wlan0: islpci_close ()
wlan0: prism54_set_txpower() auto power will be implemented later.
wlan0: prism54_set_txpower() disabling radio is not yet supported.
wlan0: resetting device...
wlan0: uploading firmware...
wlan0: firmware version: 1.0.4.3
wlan0: firmware upload complete
wlan0: interface reset complete
wlan0: prism54_set_txpower() auto power will be implemented later.
wlan0: no IPv6 routers present
|
_________________ Most Linux users don't know this, but the man pages are named after Chuck Norris. Chuck Norris fscking hates noobs! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jerkface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41623789345bcfca350f20.jpg)
Joined: 19 Apr 2004 Posts: 65 Location: Tacoma, Wa
|
Posted: Wed May 16, 2007 4:15 pm Post subject: |
|
|
From work this time. Code: | # /etc/init.d/net.wlan0 restart
* Starting wlan0
* Loading networking modules for wlan0
* modules: apipa arping ccwgroup macchanger macnet rename iwconfig essidnet iptunnel iproute2 pppd system dhcpcd ip6to4
* iwconfig provides wireless
* iproute2 provides interface
* pppd provides ppp
* dhcpcd provides dhcp
* Configuring wlan0 for MAC address 00:E0:98:AE:9C:94 ... [ ok ]
* Configuring wireless network for wlan0
* Trying to force preferred in case they are hidden
* Connecting to "JerkfaceNet" in managed mode (WEP enabled - restricted) ... [ ok ]
* wlan0 connected to ESSID "" at 00:00:00:00:00:00
* in managed mode on channel 11 (WEP enabled - restricted)
* Configuring wlan0 for ESSID "" ... [ ok ]
* Configuration not set for wlan0 - assuming DHCP
* Bringing up wlan0
* dhcp
* Running dhcpcd ...
Error, wlan0: timed out | 00:E0:98:AE:9C:94 is the work wifi mac ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ Most Linux users don't know this, but the man pages are named after Chuck Norris. Chuck Norris fscking hates noobs! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jerkface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41623789345bcfca350f20.jpg)
Joined: 19 Apr 2004 Posts: 65 Location: Tacoma, Wa
|
Posted: Thu May 17, 2007 3:55 am Post subject: |
|
|
I'm using baselayout-1.12.9-r2. I get the same results with 1.12.10-r4. Should I take this up with the prism54 guys?
Thanks for the help UberLord. _________________ Most Linux users don't know this, but the man pages are named after Chuck Norris. Chuck Norris fscking hates noobs! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jerkface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/41623789345bcfca350f20.jpg)
Joined: 19 Apr 2004 Posts: 65 Location: Tacoma, Wa
|
Posted: Wed May 30, 2007 5:05 am Post subject: |
|
|
Hey UberLord, did you ever get a chance to test your card? At any rate, I'm now smart enough to eject mine when I boot my laptop. ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Most Linux users don't know this, but the man pages are named after Chuck Norris. Chuck Norris fscking hates noobs! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|