jakaskerl
Thank you.
What I did was
nano /etc/network/interfaces
Added
auto enp45s0 iface enp45s0 inet static address 169.254.1.10 netmask 255.255.0.0
Then used this to bring it up:
sudo ip link set enp45s0 up
Checked it with
ip link show enp45s0
It showed UP
and LOWER_UP
.
Verified the static IP:
ip addr show enp45s0
If it showed no IPv4 address, I used:
sudo ip addr add 169.254.1.10/16 dev enp45s0
Then I tried:
ping 169.254.1.222
It responded like this:
64 bytes from 169.254.1.222: icmp_seq=1 ttl=64 time=0.123 ms
64 bytes from 169.254.1.222: icmp_seq=2 ttl=64 time=0.456 ms
Although the ping works, I can't see any data in the GUI after selecting the camera.
ifconfig Output:
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.24.X.X netmask 255.255.0.0 broadcast 172.24.X.X
ether XX:XX:XX:XX:XX:XX txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
TX packets 0 bytes 0 (0.0 B)
enp45s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.1.10 netmask 255.255.0.0 broadcast 0.0.0.0
inet6 fe80::XXXX:XXXX:XXXX:5b prefixlen 64 scopeid 0x20<link>
ether XX:XX:XX:XX:XX:5b txqueuelen 1000 (Ethernet)
RX packets 4 bytes 354 (354.0 B)
TX packets 50 bytes 6566 (6.5 KB)
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
RX packets 890 bytes 94.0 KB
TX packets 890 bytes 94.0 KB
tailscale0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1280
inet 100.114.X.X netmask 255.255.255.255 destination 100.114.X.X
inet6 fe80::XXXX:XXXX:XXXX:cea prefixlen 64 scopeid 0x20<link>
inet6 fd7a:XXXX:XXXX::e201:a322 prefixlen 128 scopeid 0x0<global>
RX packets 4 bytes 518 (518.0 B)
TX packets 128 bytes 9.4 KB
wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.X.X netmask 255.248.0.0 broadcast 172.23.X.X
inet6 fe80::XXXX:XXXX:XXXX:4df4 prefixlen 64 scopeid 0x20<link>
ether XX:XX:XX:XX:XX:2e txqueuelen 1000 (Ethernet)
RX packets 14950 bytes 9.8 MB
TX packets 7899 bytes 3.8 MB
ip route Output:
default via 172.16.0.1 dev wlo1 proto dhcp metric 600
169.254.0.0/16 dev enp45s0 proto kernel scope link src 169.254.1.10
169.254.0.0/16 dev wlo1 scope link metric 1000
172.16.0.0/13 dev wlo1 proto kernel scope link src 172.17.X.X metric 600
172.24.0.0/16 dev docker0 proto kernel scope link src 172.24.X.X linkdown