星期二, 四月 19, 2011

Check ethernet link status

cat /sys/class/net/eth0/carrier

0 means link down, 1 means link up

0 意見: