state of Ethernet cable...

Is there any way to get information from the system of the state of
Ethernet cable?
Someting like cable is not plugged…

Thanks…

jungcw@kr.ibm.com wrote:

Is there any way to get information from the system of the state of
Ethernet cable?
Someting like cable is not plugged…

Thanks…

Not sure, but you might want to look at devctl and nic.h.

It looks as if NIC_FLAG_LINK_DOWN might be what you want.

Rennie