[Olsr-dev] PID filename olsrd vs. olsrd6? Re: http-info down since some days (luci) solved

Ufo (spam-protected)
Fri Jul 18 19:39:54 CEST 2014


hi, just found another problem with the added "6":

the freifunk watchdog within luci freifunk-common still needs olsrd.pid
http://git.openwrt.org/?p=project/luci.git;a=blob;f=contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog;h=aa8de6162262cb1a7b90152443d92db6ab85edd1;hb=HEAD

but olsrd has now in /etc/init.d/olsrd
PID=/var/run/olsrd4.pid

so, which value should be used in future and who could change the other
one please?

greetings, ufo

p.s. firmware is still freifunk leipzig "meshkit" via openwrt
imagebuilder from openwrt trunk, 15.7.2014 - olsrv1, ipv4, batman-adv

p.p.s. i have

 *** olsr.org -
0.6.6.2-git_c48a165-hash_661d0772de00e0d05e6b0b63b5948bfe ***
 Build date: 2014-07-15 04:00:59 on gates

cant find that hashnumber somewhere... am i on the newest version?

p.p.p.s. atm we have some other problems with crashing olsr, with large
file in tmp??
416.0K olsrd.1902.11.1405688368.core
https://github.com/freifunk/firmware-leipzig/issues/17

Am 23.06.14 20:17, schrieb Ufo:
> Am 23.06.14 18:13, schrieb Jo-Philipp Wich:
> 
>> "neigh.sh" uses txtinfo while LuCI uses jsoninfo.
> 
> no, since some time jsoninfo is used for that too.
> but i found the problem :-) in
> http://git.openwrt.org/?p=project/luci.git;a=blob_plain;f=applications/luci-olsr/luasrc/controller/olsr.lua;hb=HEAD
> 
> The if-construct isnt very nice now and failing with our config :-(
> As a workaround i added that IpVersion to our /etc/config/olsrd
> 
> Maybe someone could change that in code please? or is that value really
> mandatory now :-/
> 
> 
> 	local IpVersion = uci:get_first("olsrd", "olsrd","IpVersion")
> 	if IpVersion == "4" or IpVersion == "6and4" then
> 		jsonreq4 = utl.exec("echo /status | nc 127.0.0.1 9090")
> 	end
> 	if IpVersion == "6" or IpVersion == "6and4" then
> 		jsonreq6 = utl.exec("echo /status | nc ::1 9090")
> 	end
> 
> 
> greetings, ufo
> 


-- 
---
Freifunk Leipzig http://leipzig.freifunk.net




More information about the Olsr-dev mailing list