diff options
author | root <root@ipecamera4.ipe.kit.edu> | 2018-08-05 03:29:13 +0200 |
---|---|---|
committer | root <root@ipecamera4.ipe.kit.edu> | 2018-08-05 03:29:13 +0200 |
commit | 75e98276848f84166f3245f9e242f3f259f93081 (patch) | |
tree | 205a124e307c81aee4c89d0f21d6502db23b64db /ip | |
parent | d721f36bef886fbccb61238235244e51d930abad (diff) | |
download | mlx-75e98276848f84166f3245f9e242f3f259f93081.tar.gz mlx-75e98276848f84166f3245f9e242f3f259f93081.tar.bz2 mlx-75e98276848f84166f3245f9e242f3f259f93081.tar.xz mlx-75e98276848f84166f3245f9e242f3f259f93081.zip |
ipecamera4
Diffstat (limited to 'ip')
-rwxr-xr-x | ip/ipecamera4.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ip/ipecamera4.sh b/ip/ipecamera4.sh new file mode 100755 index 0000000..cfa4fe6 --- /dev/null +++ b/ip/ipecamera4.sh @@ -0,0 +1,20 @@ +./connectx_port_config -d 0000:01:00.0 -c eth,eth &> /dev/null +./connectx_port_config -d 0000:03:00.0 -c eth,eth &> /dev/null + +ip link set ens1 up +ip addr show dev ens1 | grep 192.168.41.84 || ip addr add 192.168.41.84/24 dev ens1 + +ip link set ens1d1 up +ip addr show dev ens1d1 | grep 192.168.2.84 || ip addr add 192.168.2.84/24 dev ens1d1 + +ip link set ens11 up +ip addr show dev ens11 | grep 192.168.42.84 || ip addr add 192.168.42.84/24 dev ens11 + +ip link set ens11d1 up +ip addr show dev ens11d1 | grep 192.168.46.84 || ip addr add 192.168.46.84/24 dev ens11d1 + +ip link set enp6s0f0 up +ip addr show dev enp6s0f0 | grep 192.168.2.104 || ip addr add 192.168.2.104/24 dev enp6s0f0 + +ip link set enp7s0f0 up +ip addr show dev enp7s0f0 | grep 192.168.2.114 || ip addr add 192.168.2.114/24 dev enp7s0f0 |