I can connect to a hidden network knowing the SSID that the router/hotspot has set:
CONNECTION_NAME=hidden-wifi
INTERFACE=wlp0s20u1
nmcli con add type wifi ifname $INTERFACE con-name $CONNECTION_NAME ssid $SSID
nmcli con modify 802-11-wireless.bssid $CONNECTION_NAME
nmcli -p con up id $CONNECTION_NAME
It is not possible to have a blank ssid with non blank bssid:
nmcli con edit hidden-wifi
nmcli> remove 802-11-wireless.ssid
nmcli> set 802-11-wireless.bssid 11:22:33:44:55:66
nmcli> save
Error: connection verification failed: 802-11-wireless.ssid: property is missing
Is it possible to connect with
nmclito a open hidden wifi without providing the SSID? (but the BSSID instead).If so how to connect with
nmcliwithout providing a password?
PS: I am already able to connect with wpa_supplicant.