Networking - UNSWComputing/rUNSWift-2017-release GitHub Wiki
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:
ssh [email protected]
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
-
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 isen0: Wi-Fi
:ii.
Wired
(Competition) - Choose the Wired connection, e.g. for this macOS Sierra host it isen4: Thunderbolt Ethernet
: -
Wired
(Competition) - Make sure you have setLink-local only
. (Wireless
in the lab should beAutomatic (DHCP)
). Do this by:i. From the system top-right networking config, select the
Edit Connections...
option:images/2-1_virtualbox_edit_connections.png
ii. Click
Edit...
button:images/2-2_virtualbox_edit.png
iii. On the
IPv4 Settings
tab, setMethod
toLink-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.
- Click the network icon and hit
Edit Connections...
- Select your wired connection and hit
Edit...
- Click the
IPv4 Settings
tab - For
Method
, selectAutomatic (DHCP) addresses only
- Click
Routes...
- Check
Use this connection only for resources on its network
- Click
OK
,Save...
andClose
- 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)
- Click the network icon and hit
Edit Connections...
- Select your wired connection and hit
Edit...
- Click the
IPv4 Settings
tab - For
Method
selectLink-Local Only
- Click
Save...
andClose