Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless connection - one works and one doesn't - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MrSums
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 283
Location: UK

PostPosted: Wed Apr 18, 2007 3:39 pm    Post subject: Wireless connection - one works and one doesn't - SOLVED Reply with quote

I have a wireless connection set up using wpa_supplicant. Everything works just fine using my original WRT54G, but I have joined the FON network and want to use the AP supplied.

The working configuration:
/etc/conf.d/net
Quote:
modules=( "wpa_supplicant")
modules=( "!iwconfig" )
wpa_timeout_wlan0=60
plug_timeout="5"
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
modules=( "ifconfig" )
config_wlan0=( "dhcp" )
routes_eth0=( "default gw 192.168.1.1" )


/etc/wpa_supplicant/wpa_supplicant.conf
Quote:
update_config=1
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
# New FON AP
network={
ssid="miplace"
scan_ssid=1
key_mgmt=NONE
}

# Old WRT54G
network={
ssid="highwire"
key_mgmt=NONE
}


Using this set up I constantly connect to the "highwire" SSID without any issue at all. However, if I turn off the WRT54G, I don't connect to the FON.

This is the output from /etc/init.net.wlan0 start
Quote:

Starting wlan0
Configuring wireless network for wlan0
WEP key is not set for "BTVOYAGER2500V-E4" - not connecting
WEP key is not set for "SKY26012" - not connecting
Couldn't associate with any access points on wlan0
Failed to configure wireless for wlan0


and at the same time, this is the output of iwlist scan
Quote:

wlan0 Scan completed :
Cell 01 - Address: 00:18:84:14:42:26
ESSID:"miplace"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:73/100 Signal level:-49 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:16:E3:12:6A:E4
ESSID:"BTVOYAGER2500V-E4"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.452 GHz (Channel 9)
Quality:32/100 Signal level:-75 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 03 - Address: 00:18:84:14:42:25
ESSID:"FON_AP"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:73/100 Signal level:-49 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0


So the card can see the "miplace" SSID, but won't connect to it. I have removed all security whilst I get this sorted, so it isn't that as an issue. The two APs BTVOYAGER and SKY are neighbour's which don't always appear as they are some distance away.

Really appreciate help on this

Robert
_________________
If you dont ask, you wont get


Last edited by MrSums on Mon Apr 23, 2007 4:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
defenderBG
l33t
l33t


Joined: 20 Jun 2006
Posts: 817

PostPosted: Wed Apr 18, 2007 8:13 pm    Post subject: Re: Wireless connection - one works and one doesn't Reply with quote

MrSums wrote:

modules=( "!iwconfig" )


i am not 100% sure but i think it is because u disabled iwconfig, try enabling it (removing the '!') and take a look if it will work.

if it didn't work
try manually connecting, post commands + output pls
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Thu Apr 19, 2007 12:18 am    Post subject: Reply with quote

The last modules line is ( "ifconfig" ) and overrides the others.

Maybe you have to include iwconfig or wpa_supplicant in this.
Back to top
View user's profile Send private message
MrSums
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 283
Location: UK

PostPosted: Mon Apr 23, 2007 4:40 pm    Post subject: Reply with quote

jamapii wrote:
The last modules line is ( "ifconfig" ) and overrides the others.


Brilliant - thanks. Removed this line and everything now works as it should

Robert
_________________
If you dont ask, you wont get
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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