mirror of
https://github.com/sebseb7/pilivestreamingtools.git
synced 2025-12-13 13:52:27 +00:00
status web install
This commit is contained in:
@@ -13,6 +13,11 @@ sp_login=$REPLY
|
|||||||
read -s -p "Speedify password (not displayed):"
|
read -s -p "Speedify password (not displayed):"
|
||||||
sp_pass=$REPLY
|
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
|
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 sh -c 'echo deb http://apt.connectify.me/ speedify main > /etc/apt/sources.list.d/connectify.list'
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -24,4 +29,6 @@ sudo apt-get -y install speedify
|
|||||||
/usr/share/speedify/speedify_cli connect closest
|
/usr/share/speedify/speedify_cli connect closest
|
||||||
sudo cp speedify.conf /etc/speedify
|
sudo cp speedify.conf /etc/speedify
|
||||||
sudo service speedify-sharing restart
|
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
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
ENABLE_SHARE=1
|
ENABLE_SHARE=1
|
||||||
SHARE_INTERFACE="wlan0"
|
SHARE_INTERFACE="wlan0"
|
||||||
INTERFACE_IP="192.168.145.1"
|
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
|
SHARE_WITHOUT_SPEEDIFY=1
|
||||||
WIFI_INTERFACE="wlan0"
|
WIFI_INTERFACE="wlan0"
|
||||||
WIFI_SSID="SpeedifyAP"
|
WIFI_SSID="SpeedifyAP"
|
||||||
|
|||||||
Reference in New Issue
Block a user