[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alternative to NetworkManager on Debian 12



On Thu, Nov 02, 2023 at 10:41:06PM +0700, Max Nikulin wrote:
> On 02/11/2023 00:44, tomas@tuxteam.de wrote:
> > On Wed, Nov 01, 2023 at 10:00:45PM +0700, Max Nikulin wrote:
> > > 
> > > Doesn't allow-hotplug means adding a network adapter (e.g. a USB one), not
> > > plugging network cable into an existing adapter (built-in or connected
> > > earlier)?
> > 
> > Following the man page (interfaces (5)) you are right, of course. In
> > theory, however, since things are kicked off by an udev rule (i.e.
> > udev calling some command) it shouldn't be too hard (TM) to wire up
> > things, provided you've a monitor which tells you when an eth has
> > carrier.
> 
> I am unsure if it is exposed as a udev event or it is necessary to receive
> messages from netlink socket.

Now I know. No udev -- so one would have to "wire it up".

> I am a bit surprised by a use case when temporary unplugging of cable should
> be ignored. I have not tested it, but I hope, a setting, I have noticed in
> docs, allows NetworkManager to handle it as well.

TCP/IP can take that. Retransmit and things. Only after a (usually generous)
timeout the application layer notices. Which has upsides and downsides, of
course :-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: