[Olsr-users] new olsr + jsoninfo-plugin on lede/openwrt tests

Ufo (spam-protected)
Tue Dec 6 16:04:27 CET 2016


finally, it got olsr 0.9.5 working on LEDE :-)

https://github.com/OLSR/olsrd/ is now 0.9.5
i hope lede and openwrt will also increase version number to this value 
(https://github.com/openwrt-routing/packages/blob/master/olsrd/Makefile)

very nice:

* olsr doesnt crash twice anymore when starting the system/device

but atm there are still some problems:

* the jsoninfo plugin has a very new default setting "with 
http-headers:true" and this option seems new. so the neigh.sh command 
(and luci-olsr neighborhood-page) doesnt work anymore.

the workaround "uci set olsrd.olsrd_jsoninfo.httpheaders=false; uci 
commit" fixes it.
but, with older olsr-versions this config-command breaks olsr-starting! 
(because that plugin-configuration isnt known yet)

i propose it would be better to have a default setting "with 
http-header:false" for downwards-compatibility, so the config for olsr 
wouldnt need to be changed (we are using olsr for years with same config!)
if anyone wants to use the new "http-header" feature, (s)he can enable 
that..

* the luci-page "OLSR Interfaces" doenst have all values. 
(/cgi-bin/luci//freifunk/olsr/interfaces/)
* the luci-page "OLSR mid-page" brings errors:

/usr/lib/lua/luci/controller/olsr.lua:325: attempt to compare two nil values


* the new netjson-stuff doesnt seems to work 
(http://netjson.org/docs/implementations.html#olsrd1-netjson-plugin) :

Konsole output
(spam-protected):~# echo /NetworkRoutes | nc 127.0.0.1 9090
{"pid": 1879,"systemTime": 1481035827,"timeSinceStartup": 
1689342,"error": "404 Not Found"}

---

Konsole output
(spam-protected):~# olsrd -v

*** olsr.org - 0.9.5-git_0e7869f-hash_5ac82c7f1c848eaf5783c30395acac4a ***
Build date: 2016-11-25 14:28:34 on freifunkvm
http://www.olsr.org

Terminated
(spam-protected):~# opkg list-installed | grep olsr
collectd-mod-olsrd - 5.5.2-4
luci-app-olsr - git-16.324.51057-1c27f6b-1
luci-app-olsr-services - git-16.324.51057-1c27f6b-1
luci-i18n-olsr-de - git-16.324.51057-1c27f6b-1
olsrd - 0.9.5-v0.9.5
olsrd-mod-dyn-gw-plain - 0.9.5-v0.9.5
olsrd-mod-jsoninfo - 0.9.5-v0.9.5
olsrd-mod-nameservice - 0.9.5-v0.9.5
olsrd-mod-txtinfo - 0.9.5-v0.9.5
olsrd-mod-watchdog - 0.9.5-v0.9.5
(spam-protected):~# uname -a
Linux 113-77 4.4.32 #0 Thu Nov 24 12:42:58 2016 mips GNU/Linux



p.s.
dependencies: when using collectd-mod-olsrd you now need to install 
olsrd-mod-txtinfo.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20161206/30d0c353/attachment.html>


More information about the Olsr-users mailing list