Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-11 | fsm inetable: add uhttpd state helpers, enable service httpd at boot | Katze 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-11 | split /www into subdirs for several services; adapt uhttpd config | Katze 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-11 | fsm inetable: sync mesh iface w/ uci, use batctl gw off, reduce redundancy | Katze 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-09 | fix fsm inetable trans/queen.enter | Katze Miau | |
2011-12-09 | watch FSM inetable every minute, gossip gwip table at the same rate | Katze Miau | |
2011-12-09 | add FSM inetable | Katze Miau | |
- implemented according to documentation - almost no tests so far | |||
2011-12-09 | p2ptbl: print error msgs to stderr instead of stdout | Katze Miau | |
2011-12-09 | remove p2ptbl test | Katze Miau | |
2011-12-09 | add usage info to /sbin/test_connectivity | Katze Miau | |
2011-12-09 | fix /etc/init.d/nodeid | Katze Miau | |
2011-12-09 | add cron job to watch update FSM and gossip update p2p table | Katze Miau | |
For debugging reasons both cronjobs are executed once per minute. This rate should be reduced before deployment in larger networks. | |||
2011-12-09 | create /etc/nodeid on first startup | Katze 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-08 | generate files/etc/{banner, firmware} from repository state | Katze 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-06 | add FSM update | Katze Miau | |
FSM to handle firmware update process in a synchronized all-or-nothing manner. See doc/overview.org for details. | |||
2011-12-06 | sbin/fsm: fix error msg | Katze Miau | |
2011-12-06 | add p2ptbl show subcommand | Katze Miau | |
lists an entire table (but without the version of each row) | |||
2011-12-05 | add sbin/test_connectivity | Katze Miau | |
`test_connectivity <internet|vpn>` returns true iff. one of several probe hosts can be reached over the given interface. | |||
2011-12-05 | add /sbin/fsm | Katze Miau | |
- implements finite state machine given a definition in /etc/fsm/ - see upcoming doc/ commits for detail | |||
2011-12-03 | delete hotplug wan_led script (deprecated) | Katze Miau | |
2011-12-03 | add p2ptbl "test" as example | Katze 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-03 | p2ptbl: add gossip protocol | Katze Miau | |
- add `p2ptbl gossip` to distribute tables via udp bcast - add interface option to `p2ptbl update` for immediate communication of updates - add p2ptbl-recv as HBBP-handler to receive table updates p2ptbl-recv has to be symlinked from <HBBP-root>/p2ptbl/<table-name>. It reads the table name from $0 and assumes that all tables are stored in /tmp/p2ptbl/. | |||
2011-12-03 | add primitive shuf | Katze Miau | |
2011-12-03 | add hbbpd (udp broadcaster listener) to /etc/init.d | Katze Miau | |
2011-12-03 | ar71xx config: adapt batman-adv to new wifi if name | Katze Miau | |
2011-11-30 | add p2ptbl | Katze Miau | |
P2P tables allow to maintain distributed state using a MVCC key-value store. This patch adds the executable for manipulating a table but not the gossip protocol to synchronize it. | |||
2011-10-16 | set default hostname to FFJ | wrtbuild | |
2011-10-16 | add jh to ssh authorized keys | wrtbuild | |
2011-10-16 | add files for TL-WR741ND, TL-WR841ND | wrtbuild | |
2011-10-16 | add makefile to generate images | wrtbuild | |
2011-06-25 | * added radomization for the second bit of the used mac-address (n2n) | egon0 | |
2011-06-25 | * do not use the complete ath0 mac, only the last 4 bytes with 2 ↵ | egon0 | |
prefix-bytes "12:34" | |||
2011-06-24 | * removed because of unused change (hostname change should be done elsewhere) | egon0 | |
2011-06-24 | * killall -9 edge to force n2n stopping | egon0 | |
2011-06-24 | * added mobile pubkeys of darkeye and egon0 | egon0 | |
2011-06-24 | * added ath0 mac to n2n-devices, for better identification of nodes ↵ | egon0 | |
reachable via n2n | |||
2011-06-24 | * added output of status messages to syslog | egon0 | |
2011-06-24 | * added cron restart after setting up the cronjobs | egon0 | |
2011-06-22 | * switched splash stuff from ip based to mac based | egon0 | |
2011-06-22 | * changed jabber-muc on splash from support to chat because more user idle ↵ | egon0 | |
in chat-muc | |||
2011-06-21 | * do not write splashed users permanently to nand-flash | egon0 | |
2011-06-20 | * added n2n_watchdog to crontab if node-mode is setup to gateway | egon0 | |
2011-06-20 | * set batman-adv gw_mode to server if wan goes up | egon0 | |
2011-06-20 | * restart batman-adv if wan goes down | egon0 | |
2011-06-20 | * set batman gw_mode to "client" if wan port is going down | egon0 | |
2011-06-20 | * small typo in a comment | egon0 | |
2011-06-20 | * send 3 instead of only 1 ping packet because n2n usually kills the first ↵ | egon0 | |
ping packet | |||
2011-06-20 | * made test_vpn script executable | egon0 | |
2011-06-20 | * first implementation of n2n watchdog | egon0 | |
2011-06-20 | * Added Cron Jobs to setup_router script for gateway-mode | egon0 | |
2011-06-20 | * removed hardcoded cront jobs that should only run on gateway-nodes | egon0 | |