BBB File /etc/wpa supplicant/wpa supplicant.conf
From Wiki
Jump to navigationJump to search
The wpa_supplicant file determines what networks will be connected to.
In this case, if we're in Starbucks, it would prefer to connect to that network. If that network isn't available, then any open network will do. And if there are no open networks (e.g., not at Starbucks, and not near my phone running as an open AP), then we'll prefer the home network, which has the SSID of "Police Surveillance Van", and uses WPA2/PSK.
You'll probably want a different network order, but for the application my BBB is running in (BBB_PractiScore_Printer), this is a preferred order. You'll want to set your own pre-shared key by using the 'wpa_passphrase' utility.
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=1 eapol_version=1 network={ ssid="Starbucks" key_mgmt=NONE priority=2 } network={ key_mgmt=NONE priority=1 } network={ ssid="Police Surveillance Van" #bssid=d8:ca:1d:31:ff:9d psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx proto=WPA2 key_mgmt=WPA-PSK pairwise=CCMP group=CCMP priority=0 }