Re: nic + detecting the presence of a carrier
- From: Frank Elsner <Elsner@xxxxxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 12:22:03 +0200
On Thu, 31 Aug 2006 12:04:12 +0200 Gregory Machin wrote:
Hi.
I need to write a script the can restart services based on where a cable is
plugged into a nic or not ..
How do I get the status of the carrier on the nic ...
The output of "ethtool ethX" contains the line
Link detected: yes
and the output of "mii-tool ethX" shows
eth0: negotiated 100baseTx-FD, link ok
which both should be usable for your purpose.
--Frank Elsner
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: nic + detecting the presence of a carrier
- From: Gregory Machin
- Re: nic + detecting the presence of a carrier
- References:
- nic + detecting the presence of a carrier
- From: Gregory Machin
- nic + detecting the presence of a carrier
- Prev by Date: Re: Orbital Laser still down?
- Next by Date: Re: removing ssh access in an emergency
- Previous by thread: nic + detecting the presence of a carrier
- Next by thread: Re: nic + detecting the presence of a carrier
- Index(es):
Relevant Pages
- Re: nic + detecting the presence of a carrier
... On 8/31/06, Frank Elsner wrote: ... > I need to write a script the
can restart services based on where a cable ... The output of "ethtool ethX" contains the
line ... which both should be usable for your purpose. ... (Fedora) - GetObject error when connecting to remote computer....
... I have a script that run locally. ... standalone) that begin with the
same characters "TCWeb-". ... Can I supply the username/password in the connection ...
(microsoft.public.scripting.vbscript) - Re: How-to auto-start programmes when I connect to Internet?
... a script to restart services whenever that interface is brought up. ...
/etc/sysconfig/network-scripts and add a symbolic link to it from ... (Fedora) - nic + detecting the presence of a carrier
... I need to write a script the can restart services based on where a cable is
... How do I get the status of the carrier on the nic ... ... Gregory Machin
... (Fedora) - Re: nic + detecting the presence of a carrier
... Gregory Machin wrote: ... I need to write a script the can restart
services based on where a cable is plugged into a nic or not .. ... Robin Laing ...
(Fedora)