added interfaces file

This commit is contained in:
Kristjan Komlosi
2019-11-11 19:06:46 +01:00
parent 4cf102946e
commit 9b4e733209
2 changed files with 5 additions and 3 deletions

View File

@@ -7,12 +7,11 @@ pip3 install numpy pandas flask smbus2 pyserial gunicorn
cp -R hostapd/ /etc cp -R hostapd/ /etc
cp dnsmasq.conf /etc cp dnsmasq.conf /etc
cp rc.local /etc cp rc.local /etc
cp interfaces-terahz /etc/network/interfaces.d/
cp -R ../frontend/* /var/www/html cp -R ../frontend/* /var/www/html
mkdir -p /usr/local/lib/terahz mkdir -p /usr/local/lib/terahz
cp -R ../backend/* /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 unmask dnsmasq hostapd lighttpd
systemctl enable dnsmasq hostapd lighttpd systemctl enable dnsmasq hostapd lighttpd

3
etcs/interfaces-terahz Normal file
View File

@@ -0,0 +1,3 @@
iface wlan0
address 192.168.1.1
netmask 255.255.255.0