diff --git a/etcs/install.sh b/etcs/install.sh index d413d37..0bb8eae 100755 --- a/etcs/install.sh +++ b/etcs/install.sh @@ -7,12 +7,11 @@ pip3 install numpy pandas flask smbus2 pyserial gunicorn cp -R hostapd/ /etc cp dnsmasq.conf /etc cp rc.local /etc +cp interfaces-terahz /etc/network/interfaces.d/ + cp -R ../frontend/* /var/www/html mkdir -p /usr/local/lib/terahz cp -R ../backend/* /usr/local/lib/terahz -cd /etc/hostapd -chmod +x edit_ssid.sh -./edit_ssid.sh systemctl unmask dnsmasq hostapd lighttpd systemctl enable dnsmasq hostapd lighttpd diff --git a/etcs/interfaces-terahz b/etcs/interfaces-terahz new file mode 100644 index 0000000..50ee3a9 --- /dev/null +++ b/etcs/interfaces-terahz @@ -0,0 +1,3 @@ +iface wlan0 + address 192.168.1.1 + netmask 255.255.255.0