[Olsr-users] Olsr_dot_draw plugin runs only once, why ?

Ferry Huberts (spam-protected)
Wed Feb 18 18:10:14 CET 2015


Can you bisect the commit the broke it please?


On 18/02/15 17:49, Abubakr Ali wrote:
> Hi Henning,
>
> Unfortunately, commenting the "if()" block didn't work. But thanks anyway.
> I tried another solution of changing the condition at line 303 from "(
> result <= 0 )"  to "( result < 0 )" based on this post
> <http://t27544.network-olsr-development.networktalks.info/dot-draw-plugin-closing-connection-t27544.html>.
> But, again, it was another fail attempt.
>
> Now I am out of solutions...
>
> Regards,
> Abubakr
>
>
> On 17 February 2015 at 14:37, Henning Rogge <(spam-protected)
> <mailto:(spam-protected)>> wrote:
>
>     Could you just go into the lib/dotdraw/src/olsrd_dot_draw.c file and
>     remove the if() block from line 312 to line 319?
>
>     This might fix your issue.
>
>     Henning
>
>     On Tue, Feb 17, 2015 at 3:25 PM, Abubakr Ali <(spam-protected)
>     <mailto:(spam-protected)>> wrote:
>      > Well, I see the following output :
>      >
>      > Connected to 10.2.70.108...
>      > Escape character is ']'.
>      > disgraph topolopgy
>      > {
>      > "10.2.70.108" -> "10.2.70.104"[label="0.000", style=sold];
>      > "10.2.70.108" [shape=box];
>      > }
>      >
>      > Connection closed by foreign host.
>      >
>      > Thant is it !! .. no constant flow of data. Only this data. to
>     see another
>      > instance of the result, I have to run the command again.
>      >
>      > On 16 February 2015 at 07:16, Saverio Proto <(spam-protected)
>     <mailto:(spam-protected)>> wrote:
>      >>
>      >> if you just do
>      >>
>      >> telnet ipaddress 2004
>      >>
>      >> do you see a constant flow of data from the dot draw plugin ?
>      >>
>      >> Saverio
>      >>
>      >> 2015-02-15 15:09 GMT+01:00 Abubakr Ali <(spam-protected)
>     <mailto:(spam-protected)>>:
>      >> > Thank you Saverio for the tip ...
>      >> >
>      >> > About the version I'm running OLSRd v:0.6.6.2. The OLSRd itself is
>      >> > running
>      >> > fine and as expected. Therefore, I don't think it's a matter
>     of OLSRd
>      >> > configuration. However, the Osr Dot Draw plugin is the
>     problem, and here
>      >> > is
>      >> > configuration part for it in the olsrd.conf file:
>      >> >
>      >> > LoadPlugin "olsrd_dot_draw.so.0.3"
>      >> > {
>      >> >        PlParam "accept" "10.2.70.108"
>      >> >        PiParam "port"  "2004"
>      >> > }
>      >> >
>      >> > Any suggestions !!
>      >> >
>      >> > Thank you,
>      >> > Abubakr
>      >> >
>      >> >
>      >> >
>      >> >
>      >> > On 14 February 2015 at 19:43, Saverio Proto
>     <(spam-protected) <mailto:(spam-protected)>> wrote:
>      >> >>
>      >> >> What version of olsrd are you running ?
>      >> >>
>      >> >> When you ask a question always say which version are you
>     running and
>      >> >> attach relevant config files.
>      >> >>
>      >> >> Saverio
>      >> >>
>      >> >> 2015-02-13 17:04 GMT+01:00 Abubakr Ali
>     <(spam-protected) <mailto:(spam-protected)>>:
>      >> >> > Hi All,
>      >> >> >
>      >> >> > Whenever I run the "./olsr-topology-mesh-lab.pl
>     <http://olsr-topology-mesh-lab.pl>" command, everything
>      >> >> > works
>      >> >> > fine showing the network topology map. Then after a second
>     or so, the
>      >> >> > command exit with the message "connection closed" while the
>     map still
>      >> >> > there.
>      >> >> > The map doesn't change at all. It is static, i.e.: one
>     picture one
>      >> >> > ImageMagick window. If I need to see the topology changes,
>     then I
>      >> >> > have
>      >> >> > to
>      >> >> > run the command again. But, again, "connection closed"
>     message and
>      >> >> > static
>      >> >> > picture of a network topology.
>      >> >> >
>      >> >> > As far as the command's help-text states, it should run for
>     ever
>      >> >> > unless
>      >> >> > I
>      >> >> > stated the option "--once".
>      >> >> >
>      >> >> > does that mean it will and keep on producing images and
>     showing it on
>      >> >> > ImageMagic window ? or does it mean something else ?
>      >> >> >
>      >> >> > Is there is any solution or any way that keep the
>     ImageMagick showing
>      >> >> > images
>      >> >> > every second or two showing my network topology. Even
>     though if the
>      >> >> > topology
>      >> >> > does not change, I am still want ImageMagick to keep
>     showing me a new
>      >> >> > image
>      >> >> > every 1 or 2 seconds .
>      >> >> >
>      >> >> >
>      >> >> > Thank you
>      >> >> > Abubakr
>      >> >> >
>      >> >> >
>      >> >> > --
>      >> >> > Olsr-users mailing list
>      >> >> > (spam-protected) <mailto:(spam-protected)>
>      >> >> > https://lists.olsr.org/mailman/listinfo/olsr-users
>      >> >
>      >> >
>      >
>      >
>      >
>      > --
>      > Olsr-users mailing list
>      > (spam-protected) <mailto:(spam-protected)>
>      > https://lists.olsr.org/mailman/listinfo/olsr-users
>
>
>
>

-- 
Ferry Huberts




More information about the Olsr-users mailing list