Hi Guys,
I have just recently set up my first OMV server using an Odroid HC2.
I've managed to get everything I need working fine with the exception of one issue I cannot figure out.
I have configured the network interface with a static IP address on my local network.
Network communication is fine with this setup, however, if the link goes down and then back up (network cable disconnected and reconnected), the device's network connection reverts to DHCP until it is rebooted.
It no longer responds to the assigned static IP, however, it works just fine at this point if I access it using the DHCP-assigned IP.
Checking the network settings through the web UI while it is in this state does not show anything out of the ordinary - the static IP config is still there.
The only way I have been able to get it back onto the static IP is by rebooting the device. This is simply by selecting the "reboot" option in the OMV web UI.
Anyone out there know what causes this to happen or know of a fix?
I should mention I have worked in IT for many years but am very new to Linux.
I have gotten as far as SSHing into the HC2 and pulling up the "interfaces" file.
I will paste the content of that file here in case it helps:
# Include additional interface stanzas.
source-directory interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
# enx001e0632c018 network interface
auto enx001e0632c018
allow-hotplug enx001e0632c018
iface enx001e0632c018 inet static
address 192.168.11.23
gateway 192.168.11.1
netmask 255.255.255.0
dns-nameservers 1.1.1.1 8.8.8.8
pre-down ethtool -s $IFACE wol g
iface enx001e0632c018 inet6 manual
pre-down ip -6 addr flush dev $IFACE