[PLUG] Re: Manually blink link lights?

Quentin Hartman qhartman at gmail.com
Thu Jul 5 21:05:50 UTC 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 the
> 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 handed.
> 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-



More information about the PLUG mailing list