Hello,
My rockpro64 with omv is getting ip address from dhcp server (internet provider modem). When i change ip in webui and click apply I get below error.
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; 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.
Below is output of "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 Thu 2019-06-06 23:55:43 IST; 1min 51s ago
Docs: man:interfaces(5)
Process: 6705 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 6700 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list
--exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
Main PID: 6705 (code=exited, status=1/FAILURE)
CPU: 341ms
Jun 06 23:55:43 rockpro64 ifup[6705]: DHCPACK of 192.168.2.142 from 192.168.2.1
Jun 06 23:55:43 rockpro64 ifup[6705]: RTNETLINK answers: File exists
Jun 06 23:55:43 rockpro64 dhclient[6735]: bound to 192.168.2.142 -- renewal in 42743 seconds.
Jun 06 23:55:43 rockpro64 ifup[6705]: bound to 192.168.2.142 -- renewal in 42743 seconds.
Jun 06 23:55:43 rockpro64 ifup[6705]: RTNETLINK answers: File exists
Jun 06 23:55:43 rockpro64 ifup[6705]: ifup: failed to bring up eth0
Jun 06 23:55:43 rockpro64 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Jun 06 23:55:43 rockpro64 systemd[1]: Failed to start Raise network interfaces.
Jun 06 23:55:43 rockpro64 systemd[1]: networking.service: Unit entered failed state.
Jun 06 23:55:43 rockpro64 systemd[1]: networking.service: Failed with result 'exit-code'.
Alles anzeigen
I was reading forums and one suggestion was to use omv-firstaid but when pressing enter on option no:1 I am getting bellow error. I am fine launching any other options.
ERROR: dialog-like terminated due to an error: the dialog-like program exited with status 3 (which was passed to it as the DIALOG_ERROR environment variable). Sometimes, the reason is simply that dialog was given a height or width parameter that is too big for the terminal in use. Its output, with leading and trailing whitespace stripped, was:
Error: Expected at least 5 tokens for --menu, have 4.
Use --help to list options.
Looking online I found that the issue was fixed in February release but I would like to stick with latest stable release which is 0.7.9 dated Jul 26, 2018.
https://github.com/ayufan-rock64/linux-build/issues/306
root@rockpro64:~# uname -a
Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux
I tried below commands from ssh which I placed in file and made it executable, launched it but no changes.
Is it possible to fix ip address change from webui in any manual way until stable release of rockpro64 will appear and i could use omv-firstaid?
Thank you in advance for any advice