I have problems when I try to set static IP in the webGUI or with omv-firstaid.
I get the following error:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'networking' 2>&1' with exit code '1': Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.
The command systemctl status networking.service gives the following result:
Code
root@openmediavault:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-03-28 17:12:25 CEST; 4min 50s ago
Docs: man:interfaces(5)
Process: 5277 ExecStop=/sbin/ifdown -a --read-environment --exclude=lo (code=exited, status=0/SUCCESS)
Process: 14236 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 14231 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
Main PID: 14236 (code=exited, status=1/FAILURE)
Mar 28 17:12:23 openmediavault dhclient[14255]: DHCPACK of 192.168.1.65 from 192.168.1.1
Mar 28 17:12:23 openmediavault ifup[14236]: DHCPACK of 192.168.1.65 from 192.168.1.1
Mar 28 17:12:24 openmediavault dhclient[14255]: bound to 192.168.1.65 -- renewal in 35910 seconds.
Mar 28 17:12:24 openmediavault ifup[14236]: bound to 192.168.1.65 -- renewal in 35910 seconds.
Mar 28 17:12:25 openmediavault ifup[14236]: RTNETLINK answers: File exists
Mar 28 17:12:25 openmediavault ifup[14236]: ifup: failed to bring up eth0
Mar 28 17:12:25 openmediavault systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Mar 28 17:12:25 openmediavault systemd[1]: Failed to start Raise network interfaces.
Mar 28 17:12:25 openmediavault systemd[1]: networking.service: Unit entered failed state.
Mar 28 17:12:25 openmediavault systemd[1]: networking.service: Failed with result 'exit-code'.
Alles anzeigen
I will put the result of journalctl -xe in the next post.
Any Idea how to fix it up?
By the way everything works fine using DHCP.
Best regards.