[Eug-lug] Re: Manually blink link lights?
Quentin Hartman
qhartman at gmail.com
Thu Jul 5 14:05:50 PDT 2007
On 7/5/07, Quentin Hartman <qhartman at gmail.com> wrote:
>
> Anyone out there know of a way to manually blink link lights on ethernet
> interfaces under Linux? I am working on a project where it would be useful
> to be able to positively determine that a particular port on a computer
> corresponds to a particular ethX device by saying "Eth0 is the one with t=
he
> blinking link light" and so on. I've been doing some man-page reading
> (mii-tool and ifconfig) and Googling, but have so far come up empty hande=
d.
> A method that is easy to integrate into a Python or bash script would be
> best, as if beggars can be choosers...
Isn't that always the way? Seconds after hitting send I remembered ethtool,
a quick look at the man page shows that it has this capability built right
in... Sorry!
-- =
-Regards-
-Quentin Hartman-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://euglug.org/pipermail/euglug/attachments/20070705/ba125edc/attac=
hment.htm
More information about the EUGLUG
mailing list