[Olsr-users] Neighbors via openwrt-luci: doesnt work on OLSRv1

Ferry Huberts (spam-protected)
Wed Dec 9 17:23:08 CET 2015



On 09/12/15 16:35, Ufo wrote:
> i was building a new openwrt trunk.
> but now there is an error message instead of olsr neighbors table on luci.


IF this means that olsrd master is used, AND that you are interfacing 
with olsrd's JSONinfo THEN this might be correct.

I changed the JSON output for neighbors.

Earlier this week I already warned JSONinfo users that things were 
changing...


However, (see below)

>
> http://10.61.xx.yy/cgi-bin/luci//freifunk/olsr/neighbors/
>
> /usr/lib/lua/luci/dispatcher.lua:452: Failed to execute call dispatcher target for entry '/freifunk/olsr/neighbors'.
> The called action terminated with an exception:
> /usr/lib/lua/luci/controller/olsr.lua:175: attempt to index field 'iwdata' (a nil value)


Nowhere in the source tree of olsrd is 'iwdata' mentioned.

Without the output that the lua script is processing I can only conclude 
that this is not an olsrd problem.



F.

> stack traceback:
> 	[C]: in function 'assert'
> 	/usr/lib/lua/luci/dispatcher.lua:452: in function 'dispatch'
> 	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
>
>
>
> so i was opening up a ticket on openwrt/luci. maybe someone of you could fix (or test) that please!?
> https://github.com/openwrt/luci/issues/569
>
>
>
> p.s.
>
> i saw that olsrd is atm at 0.9.0.3-372 and my build is olsr 0.9.0.3-1.
> but i wasnt able to compile that with openwrt. on olsr-git there is only
> a olsrd-stable-git package instead of olsrd. so i couldnt integrate that
> in our meshkit/imagebuilding process
>
> p.p.s.
>
> via dmesg i see two of these errors when starting the device.. with some
> older openwrt-firmware (and older OLSR) there is no such warning:
>
> Konsole output
> [   27.277045]
> [   27.277045] do_page_fault(): sending SIGSEGV to olsrd for invalid
> write access to 00000000
> [   27.285529] epc = 77140e54 in libc.so[7711a000+92000]
> [   27.290694] ra  = 0040d42d in olsrd[400000+3b000]
> [   27.295549]
> [   27.592031] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   27.783223] wlan0: Created IBSS using preconfigured BSSID
> 02:44:ca:ff:ee:ee
> [   27.790400] wlan0: Creating new IBSS network, BSSID 02:44:ca:ff:ee:ee
> [   27.797495] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
>
>
>
>
>

-- 
Ferry Huberts



More information about the Olsr-users mailing list