Operating System - Linux
1832351 Members
2486 Online
110041 Solutions
New Discussion

How to check if a Network drop has a link partner (aka connected)

 
SOLVED
Go to solution
Alzhy
Honored Contributor

How to check if a Network drop has a link partner (aka connected)

Anyway to tell?

Will ethtool indicate something?

TIA.
Hakuna Matata.
4 REPLIES 4
Hakki Aydin Ucar
Honored Contributor

Re: How to check if a Network drop has a link partner (aka connected)

Hi,

If I get your question correctly , I think wireshark can have some possibilities ?
rick jones
Honored Contributor
Solution

Re: How to check if a Network drop has a link partner (aka connected)

If you issue ethtool it will include a line "Link detected:" with either "yes" or "no" afterwards. At least that is what happens with ethtool on the Ubuntu Jaunty Jackelope system I just tried.
there is no rest for the wicked yet the virtuous have no pillows
Goran Koruga
Honored Contributor

Re: How to check if a Network drop has a link partner (aka connected)

Like already mentioned, ethtool or mii-diag for old drivers/releases.

Goran
Alzhy
Honored Contributor

Re: How to check if a Network drop has a link partner (aka connected)

ethtool indeed reports on Link readiness, my terminal snipped the last line so I did not notice it. Also mii-tool seems to do the trick too.

Rick -- Jaunty Jackalope - that Debian release -- pretty awesome! Cloud ready, KVM ease and for the Home,SBE user in this era of high power costs -- Server Sleep and Resume "that really works!"

Can't wait for Kalmic Koala though.. ;^))

Hakuna Matata.