Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with OWE enabled nodes #27

Open
kaechele opened this issue Apr 8, 2022 · 1 comment
Open

Does not work with OWE enabled nodes #27

kaechele opened this issue Apr 8, 2022 · 1 comment

Comments

@kaechele
Copy link

kaechele commented Apr 8, 2022

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:

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
@rubo77
Copy link

rubo77 commented Apr 8, 2022

Can you apply a patch?

Here is the problems;

CURRENT_SSID="$(grep "^ssid=$OFFLINE_SSID" $HOSTAPD | cut -d"=" -f2)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants