summaryrefslogtreecommitdiff
path: root/files/common/etc
AgeCommit message (Collapse)Author
2011-12-11fsm inetable: add uhttpd state helpers, enable service httpd at bootKatze Miau
Add function to enable/disable/change the uhttpd uci config state. Use these functions to start the service httpd, listening on the link-local IPv6 addresses of br-lan and br-mesh.
2011-12-11split /www into subdirs for several services; adapt uhttpd configKatze Miau
This patch splits the single uhttpd instance into two uhttpd instances with www root /www/<servicename> for the following purposes: - service :: self-service / debugging / status.xml - redirection :: use for splash/robinson redirection The uhttpd uci config is adapted: by default all instances declared there are disabled; They shall be enabled by the FSM inetable. To this end a listen_http directive will be added and the config type will be changed from 'disabled' to 'uhttpd' by state transition scripts.
2011-12-11fsm inetable: sync mesh iface w/ uci, use batctl gw off, reduce redundancyKatze Miau
- add mesh_add/del_ipv4 to set/unset IPv4 addresses of mesh iface; the address is set using ifconfig to avoid ifudown+ifup but also updated in UCI to maintain a consistent state - use this function in queen, ghost and robinson state transitions - use `batctl gw off` in robinson state: this allows to deliever local DHCP replies while dropping the idea of announcing fake gateways - ghost.leave reuses queen.leave
2011-12-09fix fsm inetable trans/queen.enterKatze Miau
2011-12-09watch FSM inetable every minute, gossip gwip table at the same rateKatze Miau
2011-12-09add FSM inetableKatze Miau
- implemented according to documentation - almost no tests so far
2011-12-09remove p2ptbl testKatze Miau
2011-12-09fix /etc/init.d/nodeidKatze Miau
2011-12-09add cron job to watch update FSM and gossip update p2p tableKatze Miau
For debugging reasons both cronjobs are executed once per minute. This rate should be reduced before deployment in larger networks.
2011-12-09create /etc/nodeid on first startupKatze Miau
Add a init script that - early during the first boot only - creates /etc/nodeid and fills it with a unique identifer. This nodeid is persistent across reboots and protected from sysupgrades.
2011-12-08generate files/etc/{banner, firmware} from repository stateKatze Miau
The new script ./name_firmware is used to generates two files in openwrt/$REPO/files/ during `make image/...`: - /etc/firmware (see documentation on firmware id) - /etc/banner (login banner; generated from the template in /files/common/etc/banner)
2011-12-06add FSM updateKatze Miau
FSM to handle firmware update process in a synchronized all-or-nothing manner. See doc/overview.org for details.
2011-12-03delete hotplug wan_led script (deprecated)Katze Miau
2011-12-03add p2ptbl "test" as exampleKatze Miau
The table broadcasted once per minute over br-mesh. To fill the table with contents on all nodes, run: p2ptbl update /tmp/p2ptbl/test somekey somevalue on one node. If the command shall have immediate effect, run: p2ptbl update /tmp/p2ptbl/test somekey somevalue br-mesh
2011-12-03add hbbpd (udp broadcaster listener) to /etc/init.dKatze Miau
2011-10-16set default hostname to FFJwrtbuild
2011-10-16add jh to ssh authorized keyswrtbuild
2011-10-16add makefile to generate imageswrtbuild
contact: Jan Huwald // Impressum