WiFi setting

From Neuromeka Wiki
Jump to: navigation, search

Network settings(WiFi)

How to configure WiFi on BB-Air
1. Attach a WiFi antenna.

2. Scan for wireless access points.

wpa_cli scan_results

3. Remove /etc/wpa_supplicant/wpa_supplicant.conf

rm /etc/wpa_supplicant/wpa_supplicant.conf

4. Configure wpa_supplicant.conf to include your WiFi router settings. You can use the wpa_passphrase command to write your router SSID and password into wpa_supplicant.conf.

wpa_passphrase "SSID" "PASSWORD" >> /etc/wpa_supplicant/wpa_supplicant.conf


wpa_passphrase yourAP yourPASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf

5. Restart wlan

ifdown wlan0
ifup wlan0

After this step, you can run ifconfig wlan0 to check if an IP address has been assigned.