-
Notifications
You must be signed in to change notification settings - Fork 119
08 Aero Network and System Administration
In order to have internet access on Aero board it's possible to switch it to client mode so it connects to your Access Point instead of being an Access Point itself.
To change the wifi configuration, connect locally to Aero (with keybaord and screen, or direct USB cable).
-
To switch to Wifi client mode use the command:
/etc/init.d/autostart-supplicant.sh start
-
Open the command line Wifi tool:
wpa_cli –iwlan0
-
Scan Wifi networks, show results, add a network config, select it, set the password, enable and select it, save:
scan scan_res add_net # will return a number, ex: 1 set_net 1 ssid "my_ssid" # note : if your network has spaces, use the mac adress instead set_net 1 bssid "xx:xx:xx:xx:xx:xx" set_net 1 psk "my_password" enable_net 1 select_net 1 save_config # it will write the config in /etc/wpa_supplicant.conf quit ifconfig wlan0
The result of ifconfig will give your IP address. Or you can ask your router-dhcp server what IP was assignated to Intel Aero.
-
With this method, your PC and Aero both have internet access and you can ssh to Aero. The SSID and password are saved in a file between reboots. But the board will reboot with the AP mode by default. To set the client mode as default after future reboots, type:
update-rc.d -f autostart-hostapd.sh remove update-rc.d -f autostart-supplicant.sh defaults reboot
-
If you want to switch back to AP mode by default at boot type:
update-rc.d -f autostart-supplicant.sh remove update-rc.d -f autostart-hostapd.sh defaults reboot
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Latest Software (BIOS & OS image) BSP Released: v1.6.1 on 2017-12-18
Important: This repository is no longer being maintained
- About Intel Aero
- Initial Setup
- First Flight
- Ubuntu* installation
- Video Course - Autonomous Drone Engineer
- Intel Aero Ecosystem