From: Ben Greear <greearb@candelatech.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: azarah@nosferatu.za.org,
Linux Kernel Mailing Lists <linux-kernel@vger.kernel.org>
Subject: Re: Carrier detection for network interfaces
Date: Sun, 16 Nov 2003 02:20:55 -0800 [thread overview]
Message-ID: <3FB74F87.1090100@candelatech.com> (raw)
In-Reply-To: <3FB652BA.1010905@pobox.com>
Jeff Garzik wrote:
> Martin Schlemmer wrote:
>
>> Is there any proper way to detect a carrier signal with network
>> interfaces ? I have recently come across a problem where we tried
>> to do with with checking for 'RUNNING', which do not work for all
>> drivers, as well as mii-tool that fails in some cases.
>
>
>
> What kernel version?
>
> In 2.6 you have linkwatch. In 2.4 and 2.6, you have ETHTOOL_GLINK, and
> mii-tool.
One thing to watch for, lots of drivers will not detect link
if the interface itself is not configured to be running (UP).
You can configure it up without an IP address of course...
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2003-11-16 10:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-15 16:16 Carrier detection for network interfaces Martin Schlemmer
2003-11-15 16:22 ` Jeff Garzik
2003-11-15 20:28 ` Martin Schlemmer
2003-11-15 20:40 ` Jeff Garzik
2003-11-15 20:53 ` Martin Schlemmer
2003-11-16 10:20 ` Ben Greear [this message]
2003-11-16 13:15 ` Matthias Andree
2003-11-16 18:22 ` Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FB74F87.1090100@candelatech.com \
--to=greearb@candelatech.com \
--cc=azarah@nosferatu.za.org \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox