As I have found during my researches, on Linux systems it is not easy to know from shell if the network cable is correctly plugged, since different method do not really probe the hardware.
The best I have found until now is ifplugd , via the
command, as related here. But it seems ifplugd has no BSD version available.
I don't know if compiling such hardware-interactive source code on my BSD system is expected to work. Could anyone advice me about it? My system is a pfSense FreeBSD 10.3 based one.
Furthermore, I think it would be good to know if there are some equivalent method (any other tool or so) on FreeBSD.
Thanks you.
The best I have found until now is ifplugd , via the
Code:
ifplugstatus
I don't know if compiling such hardware-interactive source code on my BSD system is expected to work. Could anyone advice me about it? My system is a pfSense FreeBSD 10.3 based one.
Furthermore, I think it would be good to know if there are some equivalent method (any other tool or so) on FreeBSD.
Thanks you.