Skip to content
bjacobel edited this page Jul 3, 2012 · 12 revisions

The robots (Nao V4s only) connect to wireless networks using wpa_supplicant, a wireless connection daemon that replaces the Nao's default ConnMan interface.

Most of the configuration of wpa_supplicant is done by three files on the robot:

  • wpa_supplicant.conf (found in /etc/wpa_supplicant/) handles which networks the robot may connect to, and authentication for those networks.
  • utwireless (found in /etc/init.d/) handles wireless connection details, such as netmask, gateway, and static IP.
  • utwired (found in /etc/init.d handles the same stuff as utwireless, but for wired connections.

To change network settings on the robot, you'll need to ssh in, become root and edit these files. If editing the preferred wireless network, make your changes to the SSID/password in wpa_supplicant.conf and save - you shouldn't have to restart the robot. If editing settings in utwired/utwireless, you'll need to either restart the robot (not just naoqi) or run one of /etc/init.d/utwire[d/less] restart to restart the daemon.

To get all the robots on a new wireless network (at a competition venue, for example), pull the wpa_supplicant.conf off a robot, edit it on your computer instead of on the robot, then scp the edited file to each of the other robots - this will be much faster than changing it on each one.

Clone this wiki locally