Bug#162763: RFP: ifplugd -- ethernet link beat detection daemon
Hi!
On Sun, Sep 29, 2002 at 07:57:42PM +0200, Lennart Poettering wrote:
> - It makes use of the more reliable (newer) ETHTOOL ioctl()s. miid's
> author reports some problems with Apple TiBooks. I'd guess they go
> away when using ifplugd. (ifplugd falls back to the old ioctl()s, when
> the ETHTOOL ioctl()s fail.)
That sounds interesting.
> - It may beep on successful (or failed) interface configuration or
> when the plug is pulled/connected
Ideally, I would like this to be an option.
> - Has a --ignore-fail mode which makes it compatible with PCMCIA
> network drivers, which are not loaded all the time
I don't understand what this option does/how you use it.
> - And most important: it works. miid doesn't. At least on my
> machine. First miid did not want to startup because the interface
> wasn't up. This is somewhat a paradoxon, I think. After doing
> "ifconfig eth0 up" by hand miid simply locked up my machine. After
> rebooting I got miid working for 2 minutes, than my machine locked
> up again. this simply doesn't occur with ifplugd. The need of
> "ifconfig eth0 up" may be caused by some strangeness of the 8193too
> driver I am using. However, ifplugd works around this
> maybe-bug. miid is unusable on my machine, while ifplugd is.
This looks very interesting to me, since I have a laptop with a
RTL8139C-based builtin NIC, and miid does not work fine on this laptop.
However, I consider this as a bug in the kernel 8139too module, not a bug
in miid. But miid works on my other laptop.
I will probably give ifplugd a try soon...
> - Different delays for setting an interface up and down. This is quite
> useful, since you mostly want to use networking immediately when you
> plug your cable in. Thus you set the up-delay to 0. However, you
> may want to unplug the cable for a short time without having the network shut
> down. Thus you set the down-delay to 10. (or something like this)
> miid doesn't distuinguish between these to times.
That looks like a good idea.
> I cannot see any disadvantages of ifplugd over miid.
>
> I vote for ifplugd!
While this may be true with your hardware, are you sure ifplugd works
everywhere miid works?
I consider Debian does not need several miid/ifplugd-like packages. I
wish you wil try to work with Graeme and give Debian a single
perfectly-working miid/ifplugd/whateveritiscalled package.
Regards,
Nicolas
Reply to: