network_setup_wiki - socrob/mbot_documentation GitHub Wiki

Network crash course: http://robotsforroboticists.com/networking-robots-crash-course/

In the lab, preferred usage to the RSBB network, and use ISR as secondary.

RSBB network setup

Reset Router

To reset the router press the button on the bottom of it for 3 seconds (until the led turns red).

  1. Create a new Ethernet connection (it has to be DHCP, in the following example it is called auto-DHCP).
  2. Open connection from "Connection information" on WiFi networks dropdown menu from the top right.
  3. The router default ip is listed as "Default Route:" (select the tab for the network you want). See screenshot.
  4. Open a browser and go to that address
  5. It will ask to setup the username and password, that should be set as socrob and soc1rob respectively.
  6. In the router interface go to the Administration/Backup tab and restore one of the configurations linked in the following sections.
  7. After restoring the configuration of the router, reconnect on the correct connection (the IP of the router will change).

After changing the robot IP remember to update the environment variables for the IP values MBOT_IP, MBOT_IP_7, etc, defined in ~/scripts/alias.sh. These values must be updated both in the robots and on the computers used to access the robot.

Connection information screenshot from point 3, after resetting the router:

Screenshot_from_2019-09-14_12-23-06

mbot5

  • mbot5 PC IP

      10.2.0.23
    
  • a network configuration on the robot's PC with the following values needs to be created:

      network name : ROAH5
      device : enp2s0
      automatically connect to net : True
      IPv4 settings: address: 10.2.0.23 Netmask: 24, gateway: 10.2.0.1, DNS servers: 10.2.0.1
    
  • router IP

      10.2.0.22
    

To configure the router of the robot restore this backup configuration mbot5-rsbb-router-bkp.bin.

Router label.

mbot7

  • mbot7 PC IP

      10.2.0.21
    
  • a network configuration on the robot's PC with the following values needs to be created:

      network name : ROAH5
      device : enp2s0
      automatically connect to net : True
      IPv4 settings: address: 10.2.0.21 Netmask: 24, gateway: 10.2.0.1, DNS servers: 10.2.0.1
    
  • router IP

      10.2.0.20
    

To configure the router of the robot restore this backup configuration mbot7-rsbb-router-bkp.bin

harode

  • Harode IP

      10.2.0.24
    
  • Network configuration

      network name : ROAH Ethernet
      device : enp0s31f6
      automatically connect to net : True
      IPv4 settings: address: 10.2.0.24 Netmask: 24, gateway: 10.2.0.1, DNS servers: 10.2.0.1
    

ISR network setup

mbot5

  • mbot5 PC IP

      10.1.15.14
    
  • a network configuration on the robot's PC with the following values needs to be created:

      network name : mbot05
      device : enp2s0   
      automatically connect to net : True
      IPv4 settings: address: 10.1.15.14 Netmask: 16, gateway: 10.1.15.13, DNS servers: 10.0.0.1,10.0.0.2
    
  • router IP

      10.1.15.13
    

To configure the router of the robot restore this backup configuration mbot5-router-bkp.bin.

Router label.

mbot7

  • mbot7 PC IP

      10.1.15.20
    
  • a network configuration on the robot's PC with the following values needs to be created:

      network name : mbot07
      device : enp2s0   
      automatically connect to net : True
      IPv4 settings: address: 10.1.15.20 Netmask: 16, gateway: 10.1.15.19, DNS servers: 10.0.0.1,10.0.0.2
    
  • router IP

      10.1.15.19
    

To configure the router of the robot restore this backup configuration mbot7-router-bkp.bin

harode

  • Harode IP

      10.0.2.69