From e88171b31c2704d7c0817fc0f70d854adaffda71 Mon Sep 17 00:00:00 2001 From: Kristjan Komlosi Date: Tue, 12 Nov 2019 19:23:57 +0100 Subject: [PATCH] fixed configuration files --- etcs/interfaces-terahz | 2 +- etcs/rc.local | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etcs/interfaces-terahz b/etcs/interfaces-terahz index 50ee3a9..4370c25 100644 --- a/etcs/interfaces-terahz +++ b/etcs/interfaces-terahz @@ -1,3 +1,3 @@ -iface wlan0 +iface wlan0 inet static address 192.168.1.1 netmask 255.255.255.0 diff --git a/etcs/rc.local b/etcs/rc.local index 6790183..f44e1e5 100644 --- a/etcs/rc.local +++ b/etcs/rc.local @@ -12,3 +12,5 @@ # By default this script does nothing. /etc/hostapd/edit_ssid.sh & /usr/local/lib/terahz/run.sh & +sleep 3 +service hostapd restart # restart hostapd to prevent a weird startup race condition