3
I do know the BSSID and passphrase of my wireless router and I want to connect my wireless interface to it without caring about the SSID. Thus, I do want it to work even after the SSID of the wireless router has been modified.
What I have tried to achieve this is to alter my /etc/network/interfaces
:
iface wlan0 inet dhcp
#wpa-ssid "MySSID" # old line
wpa-bssid 01:23:45:67:89:ab # new line
wpa-psk "MYPASSWORD"
But using this configuration the system stays offline. I think the ssid is mandatory for wpa_supplicant but I don't understand why. Is there any technical reason? How to bypass this?
By the way, "01:23:45:67:89:ab" is a bad example MAC address, because setting the one's-place bit in the first octet means it's a multicast address. BSSIDs are always unicast addresses. I've seen people try to use this address on their wireless interface and then they wondered by everything broke. :-) – Spiff – 2016-05-14T04:52:18.863