How to debug my wpa_supplicant connection ?

Pierre Couderc <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>

wpa_suplplicant selects a far weak hot spot instead or a near strong one.

I have many wifi spots : iwlist simplified :

           Cell 01 - Address: C4:EA:1D:3D:1B:D3
                     Quality=25/70  Signal level=-85 dBm
                     ESSID:"TNCAP3D1BD3"
           Cell 02 - Address: 18:A6:F7:6C:28:72
                     Quality=61/70  Signal level=-49 dBm
                     ESSID:"TP-LINK_2872"
           Cell 03 - Address: F4:39:09:4F:19:6C
                     Quality=60/70  Signal level=-50 dBm
                     ESSID:"DIRECT-6B-HP OfficeJet Pro 6970"
           Cell 04 - Address: 50:D4:F7:FF:9D:22
                     Quality=59/70  Signal level=-51 dBm
                     ESSID:"TP-Link_9D22"
           Cell 05 - Address: CA:0F:B4:FC:B9:70
                     Quality=25/70  Signal level=-85 dBm
                     ESSID:"couderc"
           Cell 07 - Address: 50:D4:F7:FF:9D:21
                     Quality=43/70  Signal level=-67 dBm
                     ESSID:"TP-Link_9D22_5G"

The point is that "couderc" is selected  instead of "TPLINK_2872" (the 
1rst in /etc/wpa_supplicant/wpa_supplicant-wlp1s0.conf)
.

With -d option I see in journactl (I do not know if it is relevant) :

nl80211: Received scan results (8 BSSes)
wlp1s0: BSS: Start scan result update 1
wlp1s0: BSS: Add new id 0 BSSID 50:d4:f7:ff:9d:21 SSID 'TP-Link_9D22_5G' 
freq 5180
wlp1s0: BSS: Add new id 1 BSSID f4:39:09:4f:19:6c SSID 'DIRECT-6B-HP 
OfficeJet Pro 6970' freq 2437
wlp1s0: BSS: Add new id 2 BSSID c4:ea:1d:3d:1b:d3 SSID 'TNCAP3D1BD3' 
freq 2412
wlp1s0: BSS: Add new id 3 BSSID ca:0f:b4:fc:b9:70 SSID 'couderc' freq 2462
...
wlp1s0: BSS: Add new id 5 BSSID 50:d4:f7:ff:9d:22 SSID 'TP-Link_9D22' 
freq 2462
wlp1s0: BSS: Add new id 6 BSSID 18:a6:f7:6c:28:72 SSID 'TP-LINK_2872' 
freq 2427
...

wpa_supplicant selects a far weak hot spot instead or a near strong one.

I have many wifi spots : iwlist simplified :

           Cell 01 - Address: C4:EA:1D:3D:1B:D3
                     Quality=25/70  Signal level=-85 dBm
                     ESSID:"TNCAP3D1BD3"
           Cell 02 - Address: 18:A6:F7:6C:28:72
                     Quality=61/70  Signal level=-49 dBm
                     ESSID:"TP-LINK_2872"
           Cell 03 - Address: F4:39:09:4F:19:6C
                     Quality=60/70  Signal level=-50 dBm
                     ESSID:"DIRECT-6B-HP OfficeJet Pro 6970"
           Cell 04 - Address: 50:D4:F7:FF:9D:22
                     Quality=59/70  Signal level=-51 dBm
                     ESSID:"TP-Link_9D22"
           Cell 05 - Address: CA:0F:B4:FC:B9:70
                     Quality=25/70  Signal level=-85 dBm
                     ESSID:"couderc"
           Cell 07 - Address: 50:D4:F7:FF:9D:21
                     Quality=43/70  Signal level=-67 dBm
                     ESSID:"TP-Link_9D22_5G"

The point is that "couderc" is selected  instead of "TPLINK_2872" (the 
1rst in /etc/wpa_supplicant/wpa_supplicant-wlp1s0.conf)
.

With -d option I see in journactl (I do not know if it is relevant) :

nl80211: Received scan results (8 BSSes)
wlp1s0: BSS: Start scan result update 1
wlp1s0: BSS: Add new id 0 BSSID 50:d4:f7:ff:9d:21 SSID 'TP-Link_9D22_5G' 
freq 5180
wlp1s0: BSS: Add new id 1 BSSID f4:39:09:4f:19:6c SSID 'DIRECT-6B-HP 
OfficeJet Pro 6970' freq 2437
wlp1s0: BSS: Add new id 2 BSSID c4:ea:1d:3d:1b:d3 SSID 'TNCAP3D1BD3' 
freq 2412
wlp1s0: BSS: Add new id 3 BSSID ca:0f:b4:fc:b9:70 SSID 'couderc' freq 2462
...
wlp1s0: BSS: Add new id 5 BSSID 50:d4:f7:ff:9d:22 SSID 'TP-Link_9D22' 
freq 2462
wlp1s0: BSS: Add new id 6 BSSID 18:a6:f7:6c:28:72 SSID 'TP-LINK_2872' 
freq 2427
...


Is there a howto somewhere to help me to debug the problem...?

Thanks for any help.

PC


_______________________________________________
Hostap mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/hostap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.