I'm trying to force a wifi connection thru a specific 5GHz network using the bssid on netplan configuration but it always report an error when I ran netplan apply command.
Here is my current configuration that fails:
wlan0:
dhcp4: true
dhcp6: false
link-local: []
access-points:
"wifissid":
password: "wifipassword"
bssid: "3c:28:6d:95:76:00"
The error is the following:
sudo netplan apply
/etc/netplan/30-wlan0.yaml:10:16: Error in network definition: expected mapping (check indentation)
bssid: "3c:28:6d:95:76:00"
^
Tried many different combinations but it always fail. Could you help me providing an example that works?
Thank you in advance. Ederson Santos