From 5ff281d99ddfbdcd458f6e530790d850f5426b2c Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 29 Sep 2017 10:03:07 +0200 Subject: [PATCH] updated dwc for debian stretch (in ifconfig output theres' ":" after iface names) --- clone/utility/wlan0.dwc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #