diff --git a/clone/utility/wlan0.dwc b/clone/utility/wlan0.dwc index 862448e..b5dd8df 100644 --- a/clone/utility/wlan0.dwc +++ b/clone/utility/wlan0.dwc @@ -40,7 +40,7 @@ slog "[`date +%s`] * 1. Checking connectivity" # (1) Get interface name # slog "[`date +%s`] * 2. Looking for wireless interface"; -IFACE=`sudo ifconfig -a | grep -P "^w" | awk '{print $1}' | head -n 1`; +IFACE=`sudo ifconfig -a | grep -P "^w" | awk '{print $1}' | sed 's/:$//' | head -n 1`; sudo ifconfig $IFACE up; # (2) Manage no IFACE found #