Changes between Version 4 and Version 5 of Burt-Research/InternalPCStaticIP


Ignore:
Timestamp:
Feb 5, 2018, 8:01:13 PM (6 years ago)
Author:
al
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Burt-Research/InternalPCStaticIP

    v4 v5  
    8080                up /sbin/ip link set can0 up
    8181}}}
     82
     83This 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{{{
     88sudo ifdown enp5s0
     89sudo 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{{{
     95ping 192.168.200.123
     96}}}
     97and you should see traffic of data.
     98
     99* You can also now use ssh to connect to the robot. For example:
     100{{{
     101ssh 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{{{
     108sudo cp /etc/network/interfaces /etc/netwrok/interfaces.static
     109sudo cp /etc/network/interfaces.default /etc/netwrok/interfaces
     110}}}