LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do I retrieve the link state? (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-retrieve-the-link-state-378454/)

bb002 10-30-2005 07:47 PM

How do I retrieve the link state?
 
what command do I run to determine whether there is a ethernet cable plugged into a interface?

running "ifconfig eth0" isn't reliable since I could run "ifup eth0" first. Which will make "ifconfig eth0" report Link UP under scope, regardless of whether there was a ethernet cable plugged in.

nIMBVS 10-31-2005 01:49 AM

mii-tool


All times are GMT -5. The time now is 03:30 PM.