:: Re: [DNG] simple-netaid-gtk -- vers…
Pàgina inicial
Delete this message
Reply to this message
Autor: aitor
Data:  
A: dng
Assumpte: Re: [DNG] simple-netaid-gtk -- versions? dhcp? unbound?
Hi again,

On 30/4/24 19:42, al3xu5 via Dng wrote:
> Yes... I had /etc/network/interfaces with:
>
> auto eth0
> allow-hotplug eth0
> iface eth0 inet dhcp
>
> But dhcpcd refuse to start with this error:
>
> Not running dhcpcd because /etc/network/interfaces ... failed!
> defines some interfaces that will use a DHCP client ... failed!
>
> So I have this problem: if /etc/network/interfaces is empty (without eth0)
> then dhcpcd works, and if I set `iface eth0 inet dhcp` then dhcpcd doesn't
> start and simple-netaid (ifdown) cannot manage the eth0 interface...
>
> I wouldn't know how to handle it...
>
> Maybe I should disable the dhcpcd service? What else?


Nope.

For some reason dhcpcd disables itself if it finds something in /etc/network/interfaces,
but it's fine if you move those declarations to another file within the folder /etc/network/interfaces.d.
Of course, you should keep the first line of /etc/network/interfaces therein, that is:

source /etc/network/interfaces.d/*

Cheers,

Aitor.