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

Ferry Huberts (spam-protected)
Tue Feb 17 15:44:27 CET 2015


Single-shot is normal behaviour for txtinfo.

I don't know how dotdraw was constructed but it would have to do special 
tricks to not have single-shot

On 17/02/15 15:37, Henning Rogge 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
>

-- 
Ferry Huberts




More information about the Olsr-users mailing list