On 11.02.23 14:03, Martin-Éric Racine wrote:
On Sat, Feb 11, 2023 at 2:42 PM Beat Bolli <[email protected]> wrote:
On 11.02.23 12:01, Martin-Éric Racine wrote:
On Wed, 8 Feb 2023 08:35:02 +0200
=?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <[email protected]>
wrote:
On Mon, 06 Feb 2023 20:39:36 +0100 Beat Bolli <[email protected]> wrote:
This morning, version 9.4.1-16 was installed by my daily
unattended-upgrade run. As after all recent updates, the service
was stopped, but not restarted after the update. This leads to
loss of Internet connectivity after the DHCP lease expires.
If you are only using dhcpcd-base, it implies that DHCP is restarted
by ifupdown via /etc/network/interfaces. Is that the case here?
Can you confirm?
Honestly, I don't get the distinction between dhcpcd and &-base, but I
now see in the package file list that the systemd integration is part of
dhcpcd, not -base. So I have reported the bug for the wrong package.
Regarding point 2 in the original report, I had to run "systemctl start
dhcpcd.service" to restart the daemon.
Can you paste me the content of /etc/network/interfaces and
/etc/network/interfaces.d/ just to be sure?
Sure:
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The internal LAN interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.11.1/26
# The external WAN interface
allow-hotplug eth1
iface eth1 inet dhcp
# address 192.168.254.2/24
# gateway 192.168.254.1
up /usr/local/bin/freedns
# wireguard
auto wg0
iface wg0 inet static
address 10.0.2.1/24
pre-up ip link add $IFACE type wireguard
pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf
post-down ip link del $IFACE
# ls -l /etc/network/interfaces.d
total 0
#
Beat
--
https://drbeat.li
tel:+41-79-7706774
gpg: 0x506A903A; 49D5 794A EA77 F907 764F D89E 304B 93CF 506A 903A
icbm: 47.0452 N, 7.2715 E
"It takes love over gold, and mind over matter" — Dire Straits