diff --git a/scripts/scan-netdev b/scripts/scan-netdev index 3a7aa5c..ecaa231 100755 --- a/scripts/scan-netdev +++ b/scripts/scan-netdev @@ -11,6 +11,7 @@ for DEV in \ | grep ':' \ | cut -d ':' -f 1` do + ip link set $DEV up MAC=`ethtool -P $DEV | cut -d ':' -f 2-9 | sed 's/\s\+//g'` #MAC=`cat /sys/class/net/$DEV/address` if [[ "$MAC" != "00:00:00:00:00:00" ]] ; then