| 82 | |
| 83 | This will now allow us to connect directly to the internal PC from an external pc on port 192.168.200.123 from an IP of 192.168.200.xxx (where xxx is some arbitrary number between 1 and 255 (except 123)). Any IP address can be configured at this point, and the user may opt for a different ip address; however make sure you configure your network properly. |
| 84 | |
| 85 | * Reset your network connection: |
| 86 | |
| 87 | {{{ |
| 88 | sudo ifdown enp5s0 |
| 89 | sudo ifup enp5s0 |
| 90 | }}} |
| 91 | |
| 92 | * Testing. Now connect your system to the ethernet port on the back of the robot. Configure your laptop or PC to communicate as an IP address of 192.168.200.100 (note if the IP address you set above is different this should change appropriately.). At this point from your external PC or laptop you should be able to ping 192.168.200.123 (or the IP address you chose). From a linux system you should see: |
| 93 | |
| 94 | {{{ |
| 95 | ping 192.168.200.123 |
| 96 | }}} |
| 97 | and you should see traffic of data. |
| 98 | |
| 99 | * You can also now use ssh to connect to the robot. For example: |
| 100 | {{{ |
| 101 | ssh robot@192.168.200.123 |
| 102 | }}} |
| 103 | |
| 104 | == Reverting To Factory Default == |
| 105 | * If you want to reactivate the default configuration which sets up DHCP on the robot please do the following: |
| 106 | |
| 107 | {{{ |
| 108 | sudo cp /etc/network/interfaces /etc/netwrok/interfaces.static |
| 109 | sudo cp /etc/network/interfaces.default /etc/netwrok/interfaces |
| 110 | }}} |