:: Re: [DNG] vdev in chimaera
Top Page
Delete this message
Reply to this message
Author: aitor
Date:  
To: dng
New-Topics: Re: [DNG] runit, ifupdown and simple-netaid (was: vdev in chimaera)
Subject: Re: [DNG] vdev in chimaera
Hi Didier,

On 11/2/22 12:11, Didier Kryn wrote:

> My normal interfaces file contains an "auto" stanza for wlan0,
> which is superfluous, according to messages from ifplugd, and*only*
> "iface eth0 inet dhcp" for eth0 because it comes first in the file and
> "auto" and/or "allow-hotplug" can just cause the abovementionned delay
> when no Ethernet cable is connected.


Please, give a try to the following image:

https://www.gnuinos.org/mirror/chimaera/live/ <https://www.gnuinos.org/mirror/chimaera/live/>

There are several services being handled by runit in these images, and ifupdown's networking is one of them.
Better said, it's not a service -as you pointed out- but a script that starts another service, that is dhcp.
You can test the image in live mode, and you'll find that the delay caused by the configuration in
/etc/network/interfaces disappears. Also, even if you boot without wired connection, the connection will be
stablished without the need of restarting the service when you plug/unplug the ethernet cable again and again.

Note, on the other hand, that the time interval in the periodic reminder of the automatically_connect option of
simple-netaid (setup in /etc/simple-netaid/snetaid.conf) is equal to zero so as not to interfere with the
stanzas defined in /etc/network/interfaces. Hence, the wired connection is stablished thanks to these definitions.
And yes..., *both* stanzas are required for that. With this in mind, I decided to leave the automatically connect
option of simple-netaid only for wired devices.

More info later :)

Cheers,

Aitor.