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

Abubakr Ali (spam-protected)
Thu Feb 19 16:37:08 CET 2015


Even the "telnet 10.2.70.108 2004" gives me one-time result-text only ...

On 19 February 2015 at 15:33, Abubakr Ali <(spam-protected)> wrote:

> Hi Henning,
>
> First of all, thank you for bearing my issue in mind and for the
> updated-fix.
>
> I tested the new "master" branch (OLSRd v.0.6.9) and, unfortunately, the
> problem still exist: one time topology static-image followed by connection
> closed.
> Besides, now, in that static-image, I have, strangely, a new node with
> IP-address of 1.0.0.0 ?!!
>
> what might be the issue .. it's running in your side and not mine ..
> really confusing
>
> Thanks and Regards
> Abubakr
>
> On 19 February 2015 at 07:48, Henning Rogge <(spam-protected)> wrote:
>
>> Hi,
>>
>> I was able to reproduce the bug on a bunch of VMs and fixed it (for
>> me) in the most recent olsrd commit.
>>
>> At least I see dotdraw going on with producing new output.
>>
>> Can you test the newest master branch commit?
>>
>> Henning
>>
>> On Wed, Feb 18, 2015 at 5:49 PM, Abubakr Ali <(spam-protected)>
>> 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. 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)> 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)>
>> >> 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)>
>> 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)>:
>> >> >> > 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)>
>> >> >> > 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)>:
>> >> >> >> > Hi All,
>> >> >> >> >
>> >> >> >> > Whenever I run the "./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)
>> >> >> >> > https://lists.olsr.org/mailman/listinfo/olsr-users
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Olsr-users mailing list
>> >> > (spam-protected)
>> >> > https://lists.olsr.org/mailman/listinfo/olsr-users
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150219/6f7d5416/attachment.html>


More information about the Olsr-users mailing list