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


Ignore:
Timestamp:
Feb 5, 2018, 7:54:59 PM (6 years ago)
Author:
al
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Burt-Research/InternalPCStaticIP

    v3 v4  
    88
    99== Requirements ==
     10Before starting this procedure you should have:
     11* The console
     12* A HDMI cable and HDMI capable monitor hooked up to the HDMI port on the back of the console
     13* A USB keyboard and mouse plugged into the front of the console.
    1014
     15= Instructions =
     16* Open up the Terminal application
     17* Backup the default DHCP based network configuration:
     18
     19{{{
     20sudo cp /etc/network/interfaces /etc/netwrok/interfaces.default
     21}}}
     22
     23* Next we will open the network interfaces file for editing
     24
     25{{{
     26sudo nano /etc/network/interfaces
     27}}}
     28
     29* Now we will edit the interfaces file. factory default is:
     30
     31{{{
     32# interfaces(5) file used by ifup(8) and ifdown(8)
     33auto lo
     34iface lo inet loopback
     35
     36auto eno1
     37iface eno1 inet static
     38         address 192.168.100.100/24
     39
     40auto enp5s0
     41# Comment out the following lines to disable enp5s0
     42iface enp5s0 inet dhcp
     43# and then uncomment the following lines to disable enp5s0
     44#iface enp5s0 inet static
     45#        address 0.0.0.0
     46#        netmask 255.255.255.255
     47
     48auto can0
     49iface can0 inet manual
     50# bitrate 1MBps
     51# increase TX queue length because of the pulsed nature of
     52# the traffic we generate
     53          pre-up /sbin/ip link set can0 type can bitrate 1000000
     54          up /sbin/ip link set can0 up
     55          down /sbin/ip link set can0 down
     56}}}
     57 
     58
     59* We will change it to:
     60
     61{{{
     62# interfaces(5) file used by ifup(8) and ifdown(8)
     63auto lo
     64iface lo inet loopback
     65
     66auto eno1
     67iface eno1 inet static
     68        address 192.168.100.100/24
     69
     70auto enp5s0
     71iface enp5s0 inet static
     72        address 192.168.200.123/24
     73
     74auto can0
     75iface can0 inet manual
     76# bitrate 1MBps
     77# increase TX queue length because of the pulsed nature of
     78# the traffic we generate
     79                pre-up /sbin/ip link set can0 type can bitrate 1000000
     80                up /sbin/ip link set can0 up
     81}}}