This commit is contained in:
Chris Frankland-Wright 2025-08-30 21:56:44 +01:00
parent 5ca32b6f36
commit cc1335f1a9

View file

@ -122,7 +122,12 @@ echo "📡 Installing and configuring WiFi hotspot and captive portal..."
if [ "$PKG_MANAGER" == "apt" ]; then if [ "$PKG_MANAGER" == "apt" ]; then
# Install dependencies for hotspot and for building nodogsplash # Install dependencies for hotspot and for building nodogsplash
sudo apt install -y hostapd dnsmasq git libmicrohttpd-dev libjson-c-dev sudo apt install -y hostapd dnsmasq git libmicrohttpd-dev libjson-c-dev iptables
# Force iptables-legacy for nodogsplash compatibility
echo "Setting iptables-legacy mode for nodogsplash..."
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
echo "Building and installing nodogsplash from source..." echo "Building and installing nodogsplash from source..."
# Create a temporary directory for the build # Create a temporary directory for the build