Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
- add p2ptbl splash (see doc/splash.org)
- replace all uci queries with p2ptbl queries
- centralize splash db modification in /etc/splash.sh
- add node to the list of splashed devices upon first use of
/etc/splash.sh (shortly after booting)
- remove locks in cgi-bin/splash_click
|
|
Otherwise N2N might be started after next boot independent of the
inetable state.
|
|
|
|
|
|
Usage:
p2ptbl filter table program [args]
will call program with the arguments args and the result of p2ptbl
show table on standart input. stdout of program will be used as new
table. The filter program may remove lines or edit anything but the
key (first row).
|
|
|
|
|
|
|
|
git://git.freifunk-jena.de/freifunk/ffj-buildroot-v2 into plugnpray
|
|
|
|
Add two service lists:
- the index page has a short list with one item per service class
- the service page lists and links all services in full detail
|
|
Returns a copy of the services p2ptbl in JSON format.
|
|
git://git.freifunk-jena.de/freifunk/ffj-buildroot-v2 into plugnpray
|
|
into plugnpray
|
|
|
|
echos the environment given by uhttpd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A OSM mapping javascript library, see http://openlayers.org/
only the CSS file is added. The JS lib is hosted on
http://www.feinsterfug.de/ffj/webif/OpenLayers.js to save storage (it
is unusable without internet access anyway).
|
|
see http://twitter.github.com/bootstrap/index.html
|
|
|
|
the result is written to uci system.position.{lon,lat,street}
|
|
|
|
|
|
(cherry picked from commit 0b321c77a3e3fb030a9a5c1f18a12c5b2fbc2a16)
Signed-off-by: Jan Huwald <jh@sotun.de>
|
|
Otherwise the DHCP server allways serves X.X.0.2 - X.X.1.0
(via 2603713eb66680ccdb03e7409a5f2ec152534849)
|
|
|
|
(cherry picked from commit 07a918444ddbd92092a09f53e3cb21e8beed567b)
|
|
(from ff49ff9614058a8940149a3cae0f3206e5c641a7)
|
|
(cherry picked from commit 655ced35fd98c15f3502cfdb972bd61034a604f3)
Signed-off-by: Jan Huwald <jh@sotun.de>
|
|
|
|
|
|
|
|
|
|
Replace the last bits of hardcoded FFJ IP range outside /etc/config -
residing in fsm inetable state transitions - with IP ranges calculated
from /etc/config/cloud.
|
|
Check if the interface is running before trying to ping. This reduces
the execution time of test_connectivity in common non-gateway
deployments.
|
|
- setup router is obsoleted by the autodiscovery of network status
implemented in the previous commits
- test_* is superseded by test_connectivity
|
|
|
|
- add cronjob for splash_sync (every minute for debugging; to be
increased)
- add redirection for unsplashed users in queen.enter, remove it in
queen.leave
- add /etc/splash.sh to centralize functionality used in
/sbin/splash_sync and /www/service/*splash*
- make splash_sync to use a transactional update approach: insert
iptable rules for all splashed MACs into a new chain, then replace
old and new chain; this avoids downtime even if splash_sync is slow
- remove allowed services for splashed users; this is intended to not
move old cruft over to new code; if any of the those services shall
be reenabled, it should happen in /etc/firewall.user
- make /sbin/splash_sync aware of the current state of FSM inetable
(read via /sbin/fsm with optional command line override); this
allows to unconditionally call splash_sync via cron
- add locks to all places where the splash state is touched
- remove multiple escaping/quoting/encoding problems in splash cgi
scripts
- reenable link to the page the user initially demanded in
/www/service/cgi-bin/splash_click
|
|
|