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