Debian static network config for 4 port ethernet adapter
Posted on Sun 14 February 2016 in posts
Network config for camera system
# edit the interfaces file `sudo vim /etc/network/interfaces` and add the
following lines
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
mtu 9000
# to connect to switch, use the following configuration and navigate
# to 10.90.90.90
#address 10.90.90.1
#netmask 255.0.0.0
auto eth2
iface eth2 inet static
address 192.168.50.1
netmask 255.255.255.0
mtu 9000
auto eth3
iface eth3 inet static
address 192.168.30.1
netmask 255.255.255.0
mtu 9000
auto eth4
iface eth4 inet static
address 192.168.40.1
netmask 255.255.255.0
mtu 9000
sudo vim /etc/sysctl.conf
# add the following lines to the file
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
Install libQT
`sh
sudo apt-get install libqt4-opengl libqtwebkit4
if restoring from disk image and ethernet cards are not being recognized
edit /etc/udev/rules.d/persistent-net.rules and edit the mac addresses to
be aligned with the correct ethernet ports (ports 5 - 8 will need to be
changed to 0 - 4