iiab / iiab-admin-console

GUI (Admin Console) to configure IIAB and install content
GNU General Public License v2.0
14 stars 17 forks source link

connect upstream can connect to 5GHz and kill hotspot #579

Open tim-moody opened 3 months ago

tim-moody commented 3 months ago

can we use 5GHz on hotspot?

nmcli -f in-use,ssid,bssid,freq,signal,bars dev wifi shows freq, but then we need to use bssid to connect

tim-moody commented 3 months ago

channel=36 country_code=GB hw_mode=a

works

channel=100 does not seem to even with ieee80211ac=1

tim-moody commented 3 months ago

nmcli d wifi connect <2.4GHz BSSID> password connects, but

/etc/NetworkManager/system-connections/.nmconnection has no info on channel

so on reboot can randomly select 5GHz or 2.4GHz; former breaks hostapd

tim-moody commented 3 months ago

tried reboot and came up on 2.4GHz with hostapd now working power cycled and same

tim-moody commented 3 months ago

root@box:~# nmcli d wifi connect B8:6A:F1:B0:F4:12 wifi-sec.auth-alg open wifi-sec.key-mgmt wpa-psk wifi-sec.psk 345cb7373beff44a800270efa2b58322ee6188dd84ac4fd5512f393d2c1b5922 Error: invalid extra argument 'wifi-sec.auth-alg'.

tim-moody commented 3 months ago

nmcli d wifi connect B8:6A:F1:B0:F4:12 password 345cb7373beff44a800270efa2b58322ee6188dd84ac4fd5512f393d2c1b5922

worked