Open kaechele opened 2 years ago
The script does not work when OWE with transition mode is enabled. If OWE is enabled there will be two entries in hostapd-phy0.conf:
hostapd-phy0.conf
root@Felix:/tmp/run# cat hostapd-phy0.conf driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=DE ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 channel=100 chanlist=100 noscan=1 tx_queue_data2_burst=2.0 ieee80211n=1 ht_coex=0 ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40] ieee80211ac=1 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] interface=client0 ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 owe_transition_ssid="lev.freifunk.net π" owe_transition_bssid=0a:72:bf:67:1e:fa auth_algs=1 wpa=0 ssid=lev.freifunk.net bridge=br-client bssid=0a:72:bf:67:1e:f8 bss=owe0 ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=1 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 sae_require_mfp=1 owe_transition_ssid="lev.freifunk.net" owe_transition_bssid=0a:72:bf:67:1e:f8 auth_algs=1 wpa=2 wpa_pairwise=CCMP ssid=lev.freifunk.net π bridge=br-client wpa_disable_eapol_key_retries=0 wpa_key_mgmt=OWE okc=1 ieee80211w=2 group_mgmt_cipher=AES-128-CMAC bssid=0a:72:bf:67:1e:fa
The SSID Change script will be sad about this:
Wed Apr 6 13:37:01 2022 user.notice gluon-ssid-changer: could not set to offline state: did neither find SSID 'lev.freifunk.net' nor 'FF_Offline_Felix'. Please reboot
Can you apply a patch?
Here is the problems; https://github.com/Freifunk-Nord/gluon-ssid-changer/blob/f266b9e6328f97354f3b8777d1111ad044be9be5/gluon-ssid-changer/shsrc/ssid-changer.sh#L149
The script does not work when OWE with transition mode is enabled. If OWE is enabled there will be two entries in
hostapd-phy0.conf
:The SSID Change script will be sad about this: