From a13b0027e704b72e56d3e38e1e2bbd6d9bf7352c Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Tue, 20 Oct 2020 07:28:20 +0100 Subject: [PATCH] status web install --- install-speedify.sh | 9 ++++++++- speedify.conf | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/install-speedify.sh b/install-speedify.sh index 0a35501..9e01c9e 100755 --- a/install-speedify.sh +++ b/install-speedify.sh @@ -13,6 +13,11 @@ sp_login=$REPLY read -s -p "Speedify password (not displayed):" sp_pass=$REPLY +sudo echo "address=/pi.status/192.168.145.1" > /etc/dnsmasq.d/static +sudo echo "server=8.8.8.8" >> /etc/dnsmasq.d/static +sudo echo "server=1.1.1.1" >> /etc/dnsmasq.d/static + + curl https://get.speedify.com/pgp.key | sudo apt-key add sudo sh -c 'echo deb http://apt.connectify.me/ speedify main > /etc/apt/sources.list.d/connectify.list' sudo apt-get update @@ -24,4 +29,6 @@ sudo apt-get -y install speedify /usr/share/speedify/speedify_cli connect closest sudo cp speedify.conf /etc/speedify sudo service speedify-sharing restart -sudo cp /usr/share/speedify/speedify_cli /usr/bin/speedify +sudo cp /usr/share/speedify/speedify_cli /usr/bin/speedify + +./install-status.js diff --git a/speedify.conf b/speedify.conf index 4ea0df9..298d4d7 100644 --- a/speedify.conf +++ b/speedify.conf @@ -1,7 +1,7 @@ ENABLE_SHARE=1 SHARE_INTERFACE="wlan0" INTERFACE_IP="192.168.145.1" -DNS_SERVERS="10.202.0.1,1.1.1.1" +DNS_SERVERS="192.168.145.1" SHARE_WITHOUT_SPEEDIFY=1 WIFI_INTERFACE="wlan0" WIFI_SSID="SpeedifyAP"