Network Configuration - GarethG/ProjectRinzler GitHub Wiki

Here's a brief guide on the networking on the Rinzler

In the tube at the front of the sub are 2 Roboards which must be networked together. This is done using a Belkin N Wireless Router (Model Number - WG7005B), the wireless is turned off by default.

The ITX Board in the rear of the sub is connected to the Roboards in the front by an Edimax Ethernet Switch (Model number - ES3208P), Located in the Patch box. This also allows external connection to a PC.

All on board PC's have fixed IP addresses;

  • Roboard Pilot - 192.168.2.10

  • Roboard Aux - 192.168.2.20

  • ITX Sonar - 192.168.2.30

Any external PC's that connect to the internal network are allocated IP's that fall above 192.168.2.80.

In order to configure the on board PC's to have static IP addresses on boot the /etc/network/interfaces file can be edited as follows;

  • First you need to find out how what alias the ethernet device is using ifconfig

  • Navigate to /etc/network

  • sudo nano interfaces

    # The loopback network interface
    auto lo eth2 eth0 eth1
    iface lo inet loopback

    # if you have another device that connects to the internet for example set it as dhcp 
    iface eth0 inet dhcp
    iface eth1 inet dhcp

    #onboard ethernet
    iface eth2 inet static
        	address 192.168.2.10
	        netmask 255.255.255.0

#Putting code on a AUV Machine

scp -r ProjectRinzler [email protected]:/home/uwesub