On Mon, 2 Mar 2026 02:37:32 +0100
aitor <aitor@???> wrote:
> Hi,
>
> I've uploaded the first beta of genuen excalibur including the new simple-netaid, that works with ifupdown2 and dhcpcd.
>
> For sure, you'll find the /etc/network/interfaces a bit bizarre, but this is because dhcpcd is quite intrusive in comparison
> with the deprecated isc-dhcp-client (ifupdown2 is not the culprit).
>
> The following interfaces file is for IPv4:
>
> auto lo
> iface lo inet loopback
>
> iface eth0 inet manual
> dhclient /sbin/dhcpcd
> post-up /usr/sbin/dhcpcd -4 -1 $IFACE
> pre-down /usr/sbin/dhcpcd -4 -1 -k $IFACE || :
>
> iface wlan0 inet manual
> dhclient /sbin/dhcpcd
> post-up /usr/sbin/dhcpcd -4 -1 $IFACE
> pre-down /usr/sbin/dhcpcd -4 -1 -k $IFACE || :
>
> Bear in mind that this is a beta. There are still some bugs pending to be fixed. For example, if you disconnect from a installed WiFi,
> the wpa_supplicant config file installed at /et/network/interfaces/wifi will be removed.
>
> Thanks for your patiente :)
>
> Aitor.
>
Hi,
used this approach also with isc-dhcp* works like a charm:
iface eth0 inet manual
pre-up /sbin/ip link set $IFACE up
up /sbin/dhclient -nw -4 -v -i -pf /run/dhclient.$IFACE.pid -lf /var/lib/dhcp/dhclient.$IFACE.leases -I -df /var/lib/dhclient6.$IFACE.leases $IFACE
pre-down /sbin/dhclient -r -4 -v -i -pf /run/dhclient.$IFACE.pid -lf /var/lib/dhcp/dhclient.$IFACE.leases -I -df /var/lib/dhclient6.$IFACE.leases $IFACE
down /sbin/ip link set $IFACE down
Ciao,
Tito