Jun 23 10:03:44 XXX.YYY.xyz systemd[1]: Failed to start ifup@eth0.service - ifup for eth0.
Jun 23 10:04:07 XXX.YYY.xyz systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: Internet Systems Consortium DHCP Client 4.4.3-P1
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: Internet Systems Consortium DHCP Client 4.4.3-P1
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: Copyright 2004-2022 Internet Systems Consortium.
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: All rights reserved.
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: For info, please visit https://www.isc.org/software/dhcp/
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: Copyright 2004-2022 Internet Systems Consortium.
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: All rights reserved.
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: For info, please visit https://www.isc.org/software/dhcp/
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]:
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: Listening on LPF/eth0/80:ee:73:af:50:65
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: Listening on LPF/eth0/80:ee:73:af:50:65
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: Sending on LPF/eth0/80:ee:73:af:50:65
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: Sending on Socket/fallback
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: Sending on LPF/eth0/80:ee:73:af:50:65
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: DHCPREQUEST for 10.0.0.10 on eth0 to 255.255.255.255 port 67
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: Sending on Socket/fallback
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: DHCPREQUEST for 10.0.0.10 on eth0 to 255.255.255.255 port 67
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: DHCPACK of 10.0.0.10 from 10.0.0.1
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: DHCPACK of 10.0.0.10 from 10.0.0.1
Jun 23 10:04:07 XXX.YYY.xyz ifup[11579]: RTNETLINK answers: File exists
Jun 23 10:04:07 XXX.YYY.xyz dhclient[11571]: bound to 10.0.0.10 -- renewal in 74071 seconds.
Jun 23 10:04:07 XXX.YYY.xyz ifup[11571]: bound to 10.0.0.10 -- renewal in 74071 seconds.
Jun 23 10:04:07 XXX.YYY.xyz ifup[11611]: RTNETLINK answers: File exists
Jun 23 10:04:07 XXX.YYY.xyz ifup[11563]: ifup: failed to bring up eth0
Jun 23 10:04:07 XXX.YYY.xyz systemd[1]: ifup@eth0.service: Main process exited, code=exited, status=1/FAILURE
Jun 23 10:04:07 XXX.YYY.xyz systemd[1]: ifup@eth0.service: Failed with result 'exit-code'.
Jun 23 10:04:07 XXX.YYY.xyz systemd[1]: Failed to start ifup@eth0.service - ifup for eth0.
I still have some ??? If you switch to STATIC IP, your system is booting still but you are not able to connect? Or is it possible to connect via SSH still?
root@nuc:~# dpkg -l | grep dhcp
ii isc-dhcp-client 4.4.3-P1-2 amd64 DHCP client for automatically obtaining an IP address
i am able to ssh the system. but system not switching dhcp to static through dietpi gui & while i gave command process exit with error. locally my system available 10.0.0.10.
root@nuc:~# journalctl -u ifup*
Jun 24 09:51:08 XXX.XXX.XXX systemd[1]: Starting ifupdown-pre.service - Helper to synchronize boot up for ifupdown...
Jun 24 09:51:09 XXX.XXX.XXX systemd[1]: Finished ifupdown-pre.service - Helper to synchronize boot up for ifupdown.
Jun 24 09:51:10 XXX.XXX.XXX systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: Internet Systems Consortium DHCP Client 4.4.3-P1
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: Internet Systems Consortium DHCP Client 4.4.3-P1
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: Copyright 2004-2022 Internet Systems Consortium.
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: All rights reserved.
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: For info, please visit https://www.isc.org/software/dhcp/
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: Copyright 2004-2022 Internet Systems Consortium.
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: All rights reserved.
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: For info, please visit https://www.isc.org/software/dhcp/
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]:
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: Listening on LPF/eth0/80:ee:73:af:50:65
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: Listening on LPF/eth0/80:ee:73:af:50:65
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: Sending on LPF/eth0/80:ee:73:af:50:65
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: Sending on Socket/fallback
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: Sending on LPF/eth0/80:ee:73:af:50:65
Jun 24 09:51:10 XXX.XXX.XXX ifup[423]: DHCPREQUEST for 10.0.0.10 on eth0 to 255.255.255.255 port 67
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: Sending on Socket/fallback
Jun 24 09:51:10 XXX.XXX.XXX dhclient[423]: DHCPREQUEST for 10.0.0.10 on eth0 to 255.255.255.255 port 67
Jun 24 09:51:15 XXX.XXX.XXX dhclient[423]: DHCPREQUEST for 10.0.0.10 on eth0 to 255.255.255.255 port 67
Jun 24 09:51:15 XXX.XXX.XXX ifup[423]: DHCPREQUEST for 10.0.0.10 on eth0 to 255.255.255.255 port 67
Jun 24 09:51:15 XXX.XXX.XXX dhclient[423]: DHCPACK of 10.0.0.10 from 10.0.0.1
Jun 24 09:51:15 XXX.XXX.XXX ifup[423]: DHCPACK of 10.0.0.10 from 10.0.0.1
Jun 24 09:51:15 XXX.XXX.XXX dhclient[423]: bound to 10.0.0.10 -- renewal in 73019 seconds.
Jun 24 09:51:15 XXX.XXX.XXX ifup[423]: bound to 10.0.0.10 -- renewal in 73019 seconds.
Jun 24 09:51:16 XXX.XXX.XXX ifup[474]: RTNETLINK answers: File exists
Jun 24 09:51:16 XXX.XXX.XXX ifup[409]: ifup: failed to bring up eth0
Jun 24 09:51:16 XXX.XXX.XXX systemd[1]: ifup@eth0.service: Main process exited, code=exited, status=1/FAILURE
Jun 24 09:51:16 XXX.XXX.XXX systemd[1]: ifup@eth0.service: Failed with result 'exit-code'.
Jun 24 09:51:16 XXX.XXX.XXX systemd[1]: Failed to start ifup@eth0.service - ifup for eth0.
root@nuc:~#
Please somebody suggest me eth0 file compatible to dietpi. as this file allow WOL capability to PC.
`
root@nuc:~# cat /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet dhcp
ethernet-wol g
`
this time this file make machine WOL compatible but interfere with static/DHCP LAN ip address functionality of dietpi. please suggest the edited version of this file which compatible with dietpi & make PC WOL ready. thanks