pmelange
5d0b720f8b
ff_olsrd_watchdog: delete existing tunnels
...
When OLSRd crashes, the old tunnels still exist. This can lead to unexpected behaviour.
The tunnels to be removed start with "tnl_"
See freifunk-berlin/firmware#522
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-07-25 22:50:31 +02:00
Jo-Philipp Wich
6abc488db3
freifunk-common: explicitely depend on libuci-lua
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:54:16 +02:00
Hannu Nyman
7ab9b5a714
freifunk-common: cleanup references to madwifi
...
Remove the code related to the deprecated madwifi driver.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-28 18:56:52 +02:00
Sven Roederer
12e82a3425
freifunk-common: bump version as of recent changes
...
the updates for olsr-0.9.5 compatibility should have changed the release-number
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2017-01-13 23:28:42 +01:00
Bastian Bittorf
8ca5d6da96
freifunk-common: neigh.sh: work also with unprettyfied JSON output
...
Older OLSRd-version outputs JSON humanreadable over multiple lines.
The introduced change in 524439cd16
broke
the output for those users. Fix that be a finer filter regex.
Thanks to Thomas Huehn <thomas@net.t-labs.tu-berlin.de> for spotting that.
2016-12-13 21:38:29 +01:00
Bastian Bittorf
524439cd16
freifunk-common: neigh.sh: fix for new olsrd 0.9.5
...
Starting with version 0.9.5 the new olsr-deamon behaves
more standard-compliant and outputs correct HTTP-headers.
This would confuse the script and abort parsing.
Fix that by only trying to parse the JSON-value and
just ignore the other stuff. After this, we can see neighbours again.
Thanks to FreifunkUFO <ufo@rund.freifunk.net> for spotting this.
2016-12-12 08:48:11 +01:00
Bastian Bittorf
e0bcfe82fb
freifunk-common: neigh.sh - show hostnames
...
if nameservice-plugin is configured, we read
in all locally known hostnames and show them
in the output:
root@stuttgarter-core:~# neigh.sh
Local Remote vTime LQ NLQ Cost Host
10.230.105.241 10.230.105.246 138851 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
10.230.105.241 10.230.105.247 135717 1.000000 1.000000 1024 stuttgarter-emma.olsr
10.230.105.241 10.230.105.244 138309 1.000000 1.000000 1024 stuttgarter-sued.olsr
10.230.105.241 10.230.105.245 136001 1.000000 1.000000 1024 stuttgarter-west.olsr
10.230.105.241 10.230.105.242 134818 1.000000 1.000000 1024 stuttgarter-nord.olsr
10.230.105.241 10.230.105.243 137187 1.000000 1.000000 1024 stuttgarter-ost.olsr
10.230.105.241 10.230.105.250 139984 1.000000 1.000000 1024 stuttgarter-hof2.olsr
10.230.105.241 10.230.105.251 138294 1.000000 1.000000 1024 stuttgarter-stra2.olsr
Local Remote vTime LQ NLQ Cost Host
2001:bf7:820:901::1 2001:bf7:820:950::1 139703 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
2001:bf7:820:901::1 2001:bf7:820:960::1 139541 1.000000 1.000000 1024 stuttgarter-emma.olsr
2001:bf7:820:901::1 2001:bf7:820:990::1 140415 1.000000 1.000000 1024 stuttgarter-hof2.olsr
2001:bf7:820:901::1 fde6:24f1:a388::1 141338 1.000000 1.000000 1024
the filenames for the olsrd hosts-file is taken from uci
and falls back to sane defaults.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
2015-11-20 20:46:55 +01:00
soma
7cfa62a254
contrib/freifunk-common: fix wifi device and iface settings: mcast_rate set to 6000, remove hwmode, remove madwifi only options. introduce a new section to set madwifi iface options
2015-02-25 19:59:26 +01:00
Jo-Philipp Wich
50b258a1d4
Remove obsolete ipkg directories
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:31:40 +01:00
Matthias Uferer
33d88f9b54
olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware-leipzig/issues/15
2014-07-30 14:22:06 +00:00
Patrick Grimm
b8fe93a836
package/freifunk-common: neigh.sh: fix for missing .. as well as aligned headers
2013-10-14 17:29:40 +00:00
Patrick Grimm
d5cd72e011
package/freifunk-common: neigh.sh use olsr-jsoninfo
2013-10-14 10:27:09 +00:00
Manuel Munz
f7a1bf23ed
contrib/freifunk-common: start dhcp ranges at the second available ip by default
2013-05-18 12:59:43 +00:00
Manuel Munz
28abb7b85b
contrib/freifunk-common: Check for ipv6 availability in neigh.sh
2013-03-28 23:25:02 +00:00
Manuel Munz
35de3b7411
contrib/freifunk-common: Remove unused upgrade defaults from freifunk
2013-03-17 13:14:24 +00:00
Patrick Grimm
095adf1354
contrib/package/freifunk-common: add ipv6 support for neigh.sh
2013-01-24 09:45:56 +00:00
Manuel Munz
66eec98a57
contrib/freifunk-common: Remove ff_rdate script, #439
2012-06-23 09:07:51 +00:00
Manuel Munz
e0797183fe
contrib/freifunk-common: add watch.sh script to simulate the watch command
2012-05-30 18:26:09 +00:00
Manuel Munz
f9282116ca
contrib/freifunk-common: Remove location from /etc/config/freifunk, it is set in /etc/config/system for a while now
2011-11-18 10:45:29 +00:00
Jo-Philipp Wich
eeb63417a1
contrib/package: complete rework of dependencies, should cure menuconfig issues
2011-10-23 14:20:51 +00:00
Jo-Philipp Wich
345cbf2e46
contrib/package: freifunk-common: don't depend on self
2011-10-11 02:36:18 +00:00
Manuel Munz
42365325d6
contrib/freifunk-common: Somehow uci-defaults/freifunk got lost, re-add it
2011-09-30 08:44:22 +00:00
Manuel Munz
c3a028c76c
modules/freifunk: Move profiles and common files into seperate packages, this will enable us to build freifunk images without luci.
2011-09-28 00:20:56 +00:00