Best posts made by Sem Andeweg
-
Static IP address on eth0
I want to create a static IP Address on eth0.
Now we have added an custom IP link to the USB 2.0 port of the USB expansion board via an ethernet to USB adapter. This works perfectly following the regular link: https://docs.modalai.com/usb-to-ethernet-with-voxl/
But our custom IP link will only work with IP address 192.168.144.20 to 192.168.144.24
Last Monday I got the eth0 to this IP address via changing /etc/network/interfaces to:
IP: 192.168.144.20/24
Mask: 255.255.255.0
Default gateway: Leave openAnd everything worked perfectly and I was happy. Even for a couple of times restarting the system.
But today it doesn't work anymore, it's back again changing the IP address of eth0 to whatever suits the VOXL best. Was this the best method to change the IP address on the eth0? Or is there something wrong? And how can I change this on a better way?