Benutzer-Werkzeuge


    Warning: Undefined array key "REMOTE_USER" in /usr/local/www/wiki.freifunk-bielefeld.de/lib/tpl/starter/main.php on line 62
  • Admin

  • Warning: Undefined array key "REMOTE_USER" in /usr/local/www/wiki.freifunk-bielefeld.de/lib/tpl/starter/tpl_functions.php on line 50

    Warning: Undefined array key "REMOTE_USER" in /usr/local/www/wiki.freifunk-bielefeld.de/lib/tpl/starter/tpl_functions.php on line 77
  • Registrieren

Webseiten-Werkzeuge


Dies ist eine alte Version des Dokuments!


Installation von Nodogsplash

Eine Splashseite ist nicht nötig; kann aber sinnvoll sein um Dauerbenutzer auszubremsen solange kein traffic-shaping verwendet wird. Nodogsplash funktioniert z.Z. nicht als 64bit Programm. Daher müssen wir es als 32bit kompilieren:

apt-get install gcc-multilib

git clone https://github.com/mwarning/nodogsplash.git
cd nodogsplash
CFLAGS="-m32" ./configure --prefix=/usr --sysconfdir=/etc
make
make install

Wenn nodogsplash beim Start libhttpd.so.0 nicht findet muss noch „ldconfig“ ausgeführt werden.

Konfiguration von nodogsplash

Für die Konfigurationsdatei /etc/nodogsplash/nodogsplash.conf wird eine verwendet die nahezu identisch mit der auf den Routern ist:

#
# Nodogsplash Configuration File
#
# For the config file documentation along with examples look at
# the default configuration file of the nodogsplash package:
# https://github.com/mwarning/nodogsplash/blob/master/nodogsplash.conf
#
# For the general documentation look here:
# http://kokoro.ucsd.edu/nodogsplash/

GatewayInterface bat0 

FirewallRuleSet preauthenticated-users {
    FirewallRule allow tcp port 53
    FirewallRule allow udp port 53
}

EmptyRuleSetPolicy authenticated-users passthrough
EmptyRuleSetPolicy users-to-router passthrough
EmptyRuleSetPolicy trusted-users allow
EmptyRuleSetPolicy trusted-users-to-router passthrough

MaxClients 80
ClientIdleTimeout 10
ClientForceTimeout 240

Der Inhalt von /etc/nodogsplash/htdocs/ mit der eigentlichen Splash-Seite ist identisch mit der auf dem Router.