for ib_cable in `ls /sys/class/net | grep ^ib`; do printf "$ib_cable: "; cat /sys/class/net/$ib_cable/carrier; done
The output should look similar to:
ib0: 1
ib1: 1
If anything other than "1" is reported, double check the cable connection.
Regards
Gurudatta N.R
No comments:
Post a Comment