Open jacobhuesman opened 6 years ago
ROS doesn't use the default key algorithm that ubuntu uses, so first ssh needs to be done like this
ssh -oHostKeyAlgorithms='ssh-rsa' nrmc@node0
To transfer your public keys between computers, use this
ssh-copy-id -oHostKeyAlgorithms='ssh-rsa' nrmc@node0
Host IPs
The netmask for everything is 255.255.255.0
Robot Configuration
IP forwarding needs to be turned on, so uncomment the following line from /etc/sysctl.conf
For the static ips, your interfaces in /etc/network/interfaces should look like this
Node configuration
Change ETHERNET_INTERFACE to whatever
ifconfig -a
spits our for the interface, change address and gateway to the corresponding node and robot (gateway) ipsRouter Configuration
Static Routes
In advanced routing, two static routes need to be specified, 1 to each node's network
DNS
Since we're using static ips, DNSMasq doesn't automatically detect the hostnames, to fix this we can manually specify them This should allow you to specify hostnames instead of ips, so for example to ssh into the robot you could run