NAO - Connectivity

WiFi standard configuration

Step Action

Access and login the NAO Web page.

For further details, see: How to access the former NAO Web page.

Choose the Network page.

The following window is displayed.

../_images/webpage-network.png

Select one of the Available networks, having one of the Supported personal securities.

The chosen network is displayed.

../_images/gs_webpage_connection.png
Keep parameters as they are and click the Connect button.

If prompted, enter the network password.

NAO is now wireless connected and will always try to connect to this network.

Optionally, if you want to avoid automatic reconnecting to this network, click on Forget button.

Supported personal securities

NAO supports WEP, WPA & WPA 2 personal securities.

Note

For WEP only the passphrase of 5 characters for WEP40 and 12 characters for WEP104 are supported, always prefer the hexadecimal representation which is the only standard.

NAO as a mobile WiFi Access Point

NAO can be turned into a WiFi Access Point, this could be very useful when there is no other network available.

Tethering refers to connecting one device to one other, in the case of WiFi we use the access point mode to do this.

To enable this mode:

Step Action

Click the Tethering button on the network page.

../_images/webpage-network.png

A dialog box is open with the WiFi access point properties.

../_images/gs_webpage_tethering_wifi.png

Provide the information for the Access Point

Name: The name of the created WiFi network as it will appear in other devices WiFi services list.

Passphrase: The WPA2 passphrase to connect to the created network.

Click the Enable button.

The access point is now enabled, other WiFi devices can join the created WiFi network.

Warning

When the WiFi hotspot is enabled on NAO, it shares its network connectivity with other devices. If NAO is connected to a corporate network on Ethernet, make sure this mode is compatible with the network security policy.

The created network will be available until the next reboot or until you disable it by clicking again on the tethering button.

../_images/gs_webpage_tethering_wifi_enabled.png

Note

Due to hardware radio limitations, when the Access Point mode is enabled it’s not possible to list other WiFi networks or to join one of them.

Other configuration options

Static IP address

If you don’t have a DHCP server and you don’t want to use the Local-Link method, you can set manually an IP address.

WiFi

To set an IP address to a WiFi service, follow the Wireless configuration section, and before clicking to connect at step 4, click on “Configuration” button.

Now you can enter your static parameters.

../_images/gs_webpage_static_ip.png

Click on send, now you can do the last steps of Wireless configuration.

To get back to DHCP method, click again on the “Configuration” button and choose DHCP method in the list.

Ethernet

Warning

Aldebaran-Robotics doesn’t recommend to set an IP address on Ethernet, use the Local-Link method instead.

In case of wrong parameters you won’t be able to communicate with your NAO anymore and you will have to use the process Upgrading using NAOFlasher with the Factory reset option.

To set an IP address to an Ethernet service, access through ssh to your NAO.

nao [0] ~ $ su
root@nao [0] nao $ connman services
* Wired                      { ethernet_001395052c58_cable }
* ALDEBARAN-NAO              { wifi_000c4321384a_414c4445424152414e2d4e414f_managed_psk }
  ALDEBARAN                  { wifi_000c4321384a_414c4445424152414e_managed_psk }
root@nao [0] nao $ /usr/lib/connman/test/set-ipv4-method ethernet_001395052c58_cable manual \
192.168.1.100 255.255.255.0 192.168.1.1

This command set the address 192.168.1.1 with netmask 255.255.255.0 and gateway 192.168.1.1 for the Ethernet service.

To get back to DHCP method:

nao [0] ~ $ su
root@nao [0] nao $ /usr/lib/connman/test/set-ipv4-method ethernet_001395052c58_cable dhcp