summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-common/files/usr/bin/neigh.sh
AgeCommit message (Collapse)Author
2019-02-13treewide: move freifunk-related packages to separate repoSven Roederer
Even Freifunk was one of the major factory to create the LuCI-system, it's now only a very small part of LuCI. LuCI has become a much bigger thing and it seems that it's time to move the packages only relating to Freifunk into it's own feed. On the mailinglist it was discussed [1] and a repo below the general Freifunk team on github was created. This commit removes all packages that will be hosted in the new repo [2] 1 - http://lists.freifunk.net/pipermail/wlannews-freifunk.net/2019-February/004818.html 2 - https://github.com/freifunk/openwrt-packages Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2018-10-25get rid of library version numbers in luci olsrd codePhilipp Borgers
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2016-12-13freifunk-common: neigh.sh: work also with unprettyfied JSON outputBastian Bittorf
Older OLSRd-version outputs JSON humanreadable over multiple lines. The introduced change in 524439cd1647e5d6d7b48f9c75ec5800a5444109 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-12freifunk-common: neigh.sh: fix for new olsrd 0.9.5Bastian Bittorf
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.
2015-11-20freifunk-common: neigh.sh - show hostnamesBastian Bittorf
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>
2013-10-14package/freifunk-common: neigh.sh: fix for missing .. as well as aligned headersPatrick Grimm
2013-10-14package/freifunk-common: neigh.sh use olsr-jsoninfoPatrick Grimm
2013-03-28contrib/freifunk-common: Check for ipv6 availability in neigh.shManuel Munz
2013-01-24contrib/package/freifunk-common: add ipv6 support for neigh.shPatrick Grimm
2011-09-28modules/freifunk: Move profiles and common files into seperate packages, ↵Manuel Munz
this will enable us to build freifunk images without luci.