aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-15 05:28:12 +0100
committerache <ache@ache.one>2018-01-15 05:28:40 +0100
commitd9b5fb2d271311077dad4d1e6cb792ed47ca796b (patch)
tree01663d4d392f0898f7fd7ce2fb000b7a6dc08b4f
parentFix tethapp (diff)
Fix dnsmasq of tethapp
-rwxr-xr-xtethapp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tethapp.sh b/tethapp.sh
index ed0e61f..969608c 100755
--- a/tethapp.sh
+++ b/tethapp.sh
@@ -64,6 +64,8 @@ else
interface="${2}"
fi
+echo "${interface_internet}"
+
# sudo iw dev wlp3s0 interface add wlan1 type station
sudo pkill dnsmasq
@@ -76,10 +78,8 @@ echo "Configuration de DNSQMASQ"
cat <<< $(
echo "
-address=/#/${ip}
listen-address=${ip}
interface=${interface}
-#bind-interfaces
dhcp-range=${dhcp_range}"
) > /tmp/dnsmasq_hotspot.conf