Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Networking

Peter Schmidt edited this page Sep 9, 2017 · 1 revision

See also Passwords.

Test your connection to the Nao

You should be able to SSH into the robot to check on things, e.g. for Mario:

If that succeeds, you should get a Terminal prompt:

mario [0] ~ $ 

Until your SSH key is in authorized_keys (should be added automatically by bin/build_setup.sh) and nao_sync'd to the robot, you will probably need one of the passwords above.

Can't ping the robot?

VirtualBox

  1. Make sure you are using the Bridged Adapter (it usually defaults to NAT firewall).

    i. Wireless (Lab) - Choose the Wi-Fi connection, e.g. for this macOS Sierra host it is en0: Wi-Fi:

    ii. Wired (Competition) - Choose the Wired connection, e.g. for this macOS Sierra host it is en4: Thunderbolt Ethernet:

  2. Wired (Competition) - Make sure you have set Link-local only. (Wireless in the lab should be Automatic (DHCP)). Do this by:

    i. From the system top-right networking config, select the Edit Connections... option:

    ii. Click Edit... button:

    iii. On the IPv4 Settings tab, set Method to Link-Local Only:

You may need to save and reset the Ubuntu network connection. After these steps, you should be able to ping, connect via SSH, connect with OffNao (at least with IP addresses), etc.

Connecting to uniwide (wireless) and wired runswift at the same time

These instructions will assume you're running Ubuntu 12.04, but might work analogously on other systems.

  1. Click the network icon and hit Edit Connections...
  2. Select your wired connection and hit Edit...
  3. Click the IPv4 Settings tab
  4. For Method, select Automatic (DHCP) addresses only
  5. Click Routes...
  6. Check Use this connection only for resources on its network
  7. Click OK, Save... and Close
  8. Disconnect and reconnect your wired connection

You should now have access to both the robots and the Internet.

Wired Ethernet from PC to Nao only

(Zero WiFi, e.g. runswift router down)

  1. Click the network icon and hit Edit Connections...
  2. Select your wired connection and hit Edit...
  3. Click the IPv4 Settings tab
  4. For Method select Link-Local Only
  5. Click Save... and Close