Ethernet cable check
Gérard Milmeister
gemi at bluewin.ch
Tue Jan 18 15:59:45 UTC 2005
On Tue, 2005-01-18 at 12:58 +0100, Roman Maeder wrote:
> is there an official way to check for the presence of an ethernet cable for
> an interface? If I config an interface with ONBOOT=yes but there is no cable
> plugged in, it nevertheless configures the interface, which might later
> startups such as sendmail waste a lot of time trying to access the
> nonfunctional network. It also may keep default routes around that get in
> the way if I later fire up the wireless interface. There is a program
> mii-tool that can tell you whether the link is up:
Hallo rem,
wie gehts?
There is a package ifplugd available from freshrpms or dag ...
This is a daemon that monitors an ethernet devices and calls ifup if
e.g. a cable is plugged in and ifdown if the cable is unplugged.
This works quite well on my notebook.
Regards
--
Gérard Milmeister
Langackerstrasse 49
CH-8057 Zürich
More information about the fedora-list
mailing list