wpa_supplicant BSSIDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a mesh network for which some of the BSSIDs (nodes) will never
accept a connection from wpa_supplicant but others will. To get around
this, I wrote application code to queue BSSIDs and try them one by one
via the BSSID command until one works. Is there some way to get
wpa_supplicant to do this automatically?

"ADD_NETWORK" ""
"SET_NETWORK" "0 ssid Moss"
"SET_NETWORK" "0 psk \"password\""
"BSSID" "0 be:c3:4f:d7:59:c4"
"ENABLE_NETWORK" "0"
"<3>Trying to associate with SSID 'Moss'"
"<3>CTRL-EVENT-ASSOC-REJECT bssid=be:c3:4f:d7:59:c4 status_code=16"
"BSSID" " bc:cf:4f:d7:59:c3"
"<3>Trying to associate with SSID 'Moss'"
"<3>Associated with bc:cf:4f:d7:59:c3"
"<3>CTRL-EVENT-CONNECTED - Connection to bc:cf:4f:d7:59:c3 completed
[id=0 id_str=]"


root@DeNovix-S-00001:/opt/data/DeNovix# uname -a
Linux DeNovix-S-00001 5.10.95-v8 #1 SMP PREEMPT Tue Feb 1 13:12:49 UTC
2022 aarch64 aarch64 aarch64 GNU/Linux
root@DeNovix-S-00001:/opt/data/DeNovix# ps -ef | grep wpa
root       24583   24557  0 16:07 ?        00:00:00
/usr/sbin/wpa_supplicant -Dnl80211 -iwlan0 -C/var/run/wpa_supplicant
root       24793     438  0 16:23 ttyAMA0  00:00:00 grep wpa
root@DeNovix-S-00001:/opt/data/DeNovix# wpa_supplicant -v
wpa_supplicant v2.9


root@DeNovix-S-00001:/opt/data/DeNovix# wpa_cli scan_results
Selected interface 'wlan0'
bssid / frequency / signal level / flags / ssid
bc:cf:4f:d7:59:c3       5745    -44     [WPA2-PSK-CCMP][ESS]    Moss
be:c3:4f:d7:59:c4       5745    -44     [WPA2-PSK-CCMP][ESS]    Moss
d8:ec:e5:61:cb:f6       5180    -65     [WPA2-PSK-CCMP][ESS]    Moss
da:f6:e5:61:cb:f7       5180    -65     [WPA2-PSK-CCMP][ESS]    Moss
bc:cf:4f:d7:59:c2       2437    -48     [WPA2-PSK-CCMP][ESS]    Moss
be:c2:4f:d7:59:c3       2437    -47     [WPA2-PSK-CCMP][ESS]    Moss
d8:ec:e5:61:cb:f5       2412    -64     [WPA2-PSK-CCMP][ESS]    Moss
da:59:e5:61:cc:5e       2462    -67     [WPA2-PSK-CCMP][ESS]    Moss
ec:8e:b5:b2:77:97       2437    -44     [WPA2-PSK-CCMP][WPS][ESS][P2P]
 DIRECT-96-HP ENVY 4520 series
d0:bf:9c:2e:04:9b       2437    -67     [WPA2-PSK-CCMP][WPS][ESS]
 DIRECT-99-HP ENVY 7640 series
92:32:4b:14:dc:c5       2412    -63     [WPA2-PSK-CCMP][WPS][ESS]
 DIRECT-c5-HP M281 LaserJet
da:5a:e5:61:cc:5b       5220    -74     [WPA2-PSK-CCMP][ESS]    Moss
da:5a:e5:61:cc:5d       5220    -74     [WPA2-PSK-CCMP][ESS]    Moss
da:5a:e5:61:cc:5e       5220    -74     [WPA2-PSK-CCMP][ESS]    Moss
da:5a:e5:61:cc:5f       5220    -73     [WPA2-PSK-CCMP][ESS]    Moss
da:5a:e5:61:cc:50       5220    -74     [WPA2-PSK-CCMP][ESS]    Moss
2a:3a:4d:04:5c:c6       2462    -68     [WPA2-PSK-CCMP][WPS][ESS][P2P]
 DIRECT-c6-HP M281 LaserJet
da:59:e5:61:cc:5c       2462    -70     [WPA2-PSK-CCMP][ESS]    Moss
f8:e4:fb:13:4c:a5       2462    -69     [WPA2-PSK-CCMP][WPS][ESS]       WXVS3
da:6d:e5:61:ce:6f       2412    -70     [WPA2-PSK-CCMP][ESS]    Moss
da:59:e5:61:cc:5f       2462    -70     [WPA2-PSK-CCMP][ESS]    Moss
ac:91:9b:6d:0f:d1       2412    -70     [WPA2-PSK-CCMP][WPS][ESS]
 Verizon_PTMGH7
da:59:e5:61:cc:51       2462    -70     [WPA2-PSK-CCMP-preauth][ESS]
da:6d:e5:61:ce:61       2412    -70     [WPA2-PSK-CCMP][ESS]    Moss
da:59:e5:61:cc:5d       2462    -71     [WPA2-PSK-CCMP][ESS]    Moss
da:6d:e5:61:ce:6e       2412    -73     [WPA2-PSK-CCMP][ESS]    Moss
18:78:d4:39:ce:cc       2412    -70     [WPA2-PSK-CCMP][WPS][ESS]
 Fios-7RA11
da:6d:e5:61:ce:60       2412    -70     [WPA2-PSK-CCMP][ESS]    Moss
8c:dc:d4:62:c1:c3       2412    -70     [WPA2-PSK-CCMP][ESS]
HP-Print-C3-ENVY 4500 series
da:6d:e5:61:ce:63       2412    -76     [WPA2-PSK-CCMP][ESS]    Moss
d8:ec:e5:7b:7c:27       5240    -62     [ESS]   Zyxel-7C24
d8:ec:e5:7b:7c:26       2462    -62     [ESS]   Zyxel-7C24
da:59:e5:61:cc:53       2462    -66     [ESS]
da:f5:e5:61:cb:f6       2412    -61     [WPA2-PSK-CCMP][ESS]    Moss
da:5a:e5:61:cc:5c       5220    -74     [WPA2-PSK-CCMP][ESS]    Moss

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux