From 57de9a98a5fa734aa3769cd0b709d662bc2f310c Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Sat, 30 Aug 2025 21:46:38 +0100 Subject: [PATCH] updated to network-manager --- setup.sh | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index d14f337..9346bcf 100644 --- a/setup.sh +++ b/setup.sh @@ -165,10 +165,64 @@ if command -v nodogsplash &> /dev/null; then sudo systemctl stop nodogsplash || true fi -# Configure static IP for wlan0 -echo "Configuring static IP for wlan0..." -sudo sed -i '/^interface wlan0/d' /etc/dhcpcd.conf -sudo tee -a /etc/dhcpcd.conf > /dev/null < /dev/null < /dev/null < /dev/null; then + sudo systemctl restart nodogsplash +fi echo "✅ WiFi hotspot and captive portal configured. SSID: TimeTurner, IP: 10.0.252.1" echo "Clients will be redirected to http://10.0.252.1/static/index.html" @@ -276,7 +332,7 @@ if [[ "$(uname)" == "Linux" ]]; then echo " sudo systemctl start timeturner.service" echo "" echo "To view live logs, run:" - echo " journalctl -u timeturner.service -f" + echo " journalctl -u tim_turner.service -f" echo "" fi echo "To run the interactive TUI instead, simply run from the project directory:"