Re: Which AP is chosen when several are found for the same SSID?
- From: "Ben Gamari (FOSS)" <bgamari gmail com>
- To: Dan Williams <dcbw redhat com>, networkmanager-list gnome org
- Subject: Re: Which AP is chosen when several are found for the same SSID?
- Date: Mon, 06 Oct 2008 13:01:19 -0400
Dan Williams wrote:
> NM 0.6 doesn't have the capability to lock to a particular AP. NM 0.7
> has the capability, but is still subject to driver behavior. Give NM
> 0.7 a shot and let us know if locking to your AP's BSSID works.
>
> Dan
I can attest to the fact that something in the stack is really broken
when it comes to AP choice. Using NM 0.7 with iwl3945 on Fedora Rawhide,
NetworkManager almost always seems to show one of the worst possible
choices of the available APs. For example, in the case of the campus
wireless at my university, nm-applet currently shows the strongest AP's
signal to be around 10%, despite there being 15 APs in close proximity,
several having a quality of 60% or so (see attached iwlist scan output,
the essid is gwireless). Moreover, association times out when I attempt
to connect with NetworkManager, rendering it unusable in a large
percentage of cases.
The problem seems to be on the NetworkManager level, considering using
wpa_supplicant directly seems to work:
$ sudo wpa_supplicant -D wext -i wlan0 -c
/etc/wpa_supplicant/wpa_supplicant.conf
$ wpa_cli
> add_network
0
> set_network 0 ssid "gwireless"
OK
> set_network 0 key_mgmt NONE
OK
> status
bssid=00:1c:0e:40:f0:cf
ssid=gwireless
id=0
pairwise_cipher=NONE
group_cipher=NONE
key_mgmt=NONE
wpa_state=COMPLETED
> quit
$ sudo iwconfig wlan0
wlan0 IEEE 802.11abg ESSID:"gwireless"
Mode:Managed Frequency:5.22 GHz Access Point:
00:1C:0E:40:F0:CF
Bit Rate=54 Mb/s Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality=42/100 Signal level:-76 dBm Noise level=-93 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
$ sudo killall dhclient
$ sudo dhclient wlan0
$ sudo ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1C:BF:35:58:A6
inet addr:10.10.176.43 Bcast:10.10.255.255 Mask:255.255.0.0
inet6 addr: fe80::21c:bfff:fe35:58a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1346 (1.3 KiB) TX bytes:5833 (5.6 KiB)
Up to this point I've been falling back on a script to connect although
I would definitely be willing to provide any information necessary to
debug this. Thanks,
- Ben
$ sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:18:74:48:7A:20
ESSID:"gwireless"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=31/100 Signal level:-90 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000393f2b752f
Extra: Last beacon: 4865ms ago
Cell 02 - Address: 00:19:07:37:BA:F1
ESSID:"gw_event"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=48/100 Signal level:-80 dBm Noise
level=-94 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000bc2730018b
Extra: Last beacon: 4443ms ago
Cell 03 - Address: 00:1C:0E:40:96:A1
ESSID:"gw_event"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=42/100 Signal level:-84 dBm Noise
level=-93 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003ba65c818f
Extra: Last beacon: 4631ms ago
Cell 04 - Address: 00:18:74:48:82:E0
ESSID:"gwireless"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=42/100 Signal level:-84 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000bc2a24418c
Extra: Last beacon: 4909ms ago
Cell 05 - Address: 00:1C:0E:40:96:A0
ESSID:"gwireless"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=40/100 Signal level:-85 dBm Noise
level=-93 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003ba65af18f
Extra: Last beacon: 4684ms ago
Cell 06 - Address: 00:1F:CA:CE:E1:A1
ESSID:"gw_event"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=31/100 Signal level:-90 dBm Noise
level=-93 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000413c7b718c
Extra: Last beacon: 4662ms ago
Cell 07 - Address: 00:18:74:48:1A:A0
ESSID:"gwireless"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=35/100 Signal level:-88 dBm Noise
level=-91 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003a542741a0
Extra: Last beacon: 3806ms ago
Cell 08 - Address: 00:19:A9:E1:1C:91
ESSID:"gw_event"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=31/100 Signal level:-90 dBm Noise
level=-95 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000002e60c5b18c
Extra: Last beacon: 3684ms ago
Cell 09 - Address: 00:19:A9:E1:1C:90
ESSID:"gwireless"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=30/100 Signal level:-91 dBm Noise
level=-91 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000002e60c2918c
Extra: Last beacon: 3839ms ago
Cell 10 - Address: 00:18:39:6F:79:D9
ESSID:"HPCL"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=33/100 Signal level:-89 dBm Noise
level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000001c154e99183
Extra: Last beacon: 3638ms ago
Cell 11 - Address: 00:1C:0E:40:F0:C0
ESSID:"gwireless"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=69/100 Signal level:-64 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000bc276e818c
Extra: Last beacon: 2845ms ago
Cell 12 - Address: 00:1C:0E:40:F0:C1
ESSID:"gw_event"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=67/100 Signal level:-66 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000bc2770118c
Extra: Last beacon: 2792ms ago
Cell 13 - Address: 00:19:A9:E1:23:90
ESSID:"gwireless"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=31/100 Signal level:-90 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003a4a59e658
Extra: Last beacon: 2813ms ago
Cell 14 - Address: 00:13:10:82:DD:C6
ESSID:"linksys"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=45/100 Signal level:-82 dBm Noise
level=-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000016c84cc018a
Extra: Last beacon: 2844ms ago
Cell 15 - Address: 00:19:A9:E1:23:91
ESSID:"gw_event"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=30/100 Signal level:-91 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003a4a59e556
Extra: Last beacon: 2863ms ago
Cell 16 - Address: 00:1C:0E:40:F0:CE
ESSID:"gw_event"
Mode:Master
Channel:44
Frequency:5.22 GHz (Channel 44)
Quality=62/100 Signal level:-69 dBm Noise
level=-94 dBm
Encryption key:off
Bit Rates: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:tsf=000000bc2777e044
Extra: Last beacon: 2306ms ago
Cell 17 - Address: 00:1C:0E:40:F0:CF
ESSID:"gwireless"
Mode:Master
Channel:44
Frequency:5.22 GHz (Channel 44)
Quality=65/100 Signal level:-67 dBm Noise
level=-93 dBm
Encryption key:off
Bit Rates: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:tsf=000000bc279a4044
Extra: Last beacon: 5ms ago
Cell 18 - Address: 00:1F:CA:CE:B8:90
ESSID:"gwireless"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=35/100 Signal level:-88 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000b8aff9718c
Extra: Last beacon: 4874ms ago
Cell 19 - Address: 00:18:74:48:59:B0
ESSID:"gwireless"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=69/100 Signal level:-64 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000bc2a13118f
Extra: Last beacon: 2853ms ago
Cell 20 - Address: 00:1C:0E:40:4B:50
ESSID:"gwireless"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=28/100 Signal level:-92 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003a541ac565
Extra: Last beacon: 4832ms ago
Cell 21 - Address: 00:1A:30:30:0C:90
ESSID:"gwireless"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=33/100 Signal level:-89 dBm Noise
level=-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000002e614a818c
Extra: Last beacon: 2789ms ago
Cell 22 - Address: 00:1E:2A:54:21:4C
ESSID:""
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=31/100 Signal level:-90 dBm Noise
level=-96 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000001d0f7f6d183
Extra: Last beacon: 2827ms ago
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]