Andrew Hodel | 1 Apr 2005 01:04

Re: Re: [olsr-dev] httpinfo plugin

I like to be able to change the way the httpinfo plugin looks easily.  
This is because my plans are to have people looking to the httpinfo page 
for more information, gps locations, temperature, ...

We are installing nodes on boats so this will be useful information.

Perhaps a better way of implementing this would be a parameter in 
olsrd.conf where you load the httpinfo module.

othersource="file"
or
othersource="http://domain.tld/file.ext"
and if othersource is not set, don't include the other tab.

 From here you could load your xml file via the fs, or over http.

However, I wouldn't load the xml file directly into the other tab as it 
would only display the actual xml doc.  I would setup a perl or bash 
script that parses all of the information you want to display and write 
to a file.  Then set othersource to the location of the output file.

I could also setup an othersourcename parameter in the plugin load that 
will allow you to set the name of the tab.

I will get to work on implementing the "other" tab based on parameters 
set when loading httpinfo, if anyone has anything to consider or wants 
easily editable css/html files, speak up.

Andrew

(Continue reading)

Andrew Hodel | 1 Apr 2005 01:15

Re: Re: [olsr-dev] httpinfo plugin

I misunderstood the intention of your question, however it did give me a 
better idea throughout the misunderstanding :)

Creating an XML feed from httpinfo which gives all the current 
values/routes/... of the node requested from should be quite simple and 
require no libs.

The only issue I can think of would be the way httpinfo responds to 
requests.  The header and footer are attached to the document requested, 
it should not be hard to work around though.

I will see what I can do with it, it seems like a great idea though.

Thanks,
Andrew

Andrew Hodel wrote:

> I like to be able to change the way the httpinfo plugin looks easily.  
> This is because my plans are to have people looking to the httpinfo 
> page for more information, gps locations, temperature, ...
>
> We are installing nodes on boats so this will be useful information.
>
> Perhaps a better way of implementing this would be a parameter in 
> olsrd.conf where you load the httpinfo module.
>
> othersource="file"
> or
> othersource="http://domain.tld/file.ext"
(Continue reading)

Aldert J.B.P. Hazenberg | 1 Apr 2005 01:37

OpenWRT experimental and OLSR


FYI,

As I am always testing OpenWRT I noticed that the new OpenWRT
experimental of March 28 has a newer version of libpthread in
use than the stable OpenWRT version --> libpthread-0.9.27.so

I say this as OLSR seems to have a dependency on this and it
might be of good information for the developers or people
who compile OLSR for mips (usage on WRT54G and WL500G etc etc).

I also noticed that I could not get the latest CVS compilation of John
(of Wildcat Wireless) for mips to run on this experimental OpenWRT.

OLSRD seems to crash the second I try to load the httpinfo webpage
in my browser (sometimes I only get the first page and then it crashes.)

The slighly older compilation of 8 Feb does work. Wierd.

I tried it twice on newly flashed openwrt's and they showed the same
issue....

Aldert.

ps, URLs :

Latest -experimental- version of OpenWRT :
http://openwrt.org/downloads/experimental/
(I kinda think it rocks with things like jffs2, so no more wierd
 symbolic link stuff...)
(Continue reading)

Andreas Tønnesen | 1 Apr 2005 07:26

Re: OpenWRT experimental and OLSR

Aldert, all,

We are in the process of finalizing 0.4.9 right now. Could somebody
verify if the mentioned problem is still valid in current CVS? I'd
like to make sure it is fixed before releasing 0.4.9.

- Andreas

Aldert J.B.P. Hazenberg wrote:
> FYI,
> 
> As I am always testing OpenWRT I noticed that the new OpenWRT
> experimental of March 28 has a newer version of libpthread in
> use than the stable OpenWRT version --> libpthread-0.9.27.so
> 
> I say this as OLSR seems to have a dependency on this and it
> might be of good information for the developers or people
> who compile OLSR for mips (usage on WRT54G and WL500G etc etc).
> 
> I also noticed that I could not get the latest CVS compilation of John
> (of Wildcat Wireless) for mips to run on this experimental OpenWRT.
> 
> OLSRD seems to crash the second I try to load the httpinfo webpage
> in my browser (sometimes I only get the first page and then it crashes.)
> 
> The slighly older compilation of 8 Feb does work. Wierd.
> 
> I tried it twice on newly flashed openwrt's and they showed the same
> issue....
> 
(Continue reading)

Marc Quinton | 1 Apr 2005 08:58
Picon
Favicon

Re: OpenWRT experimental and OLSR

Andreas Tønnesen a écrit :

> Aldert, all,
>
> We are in the process of finalizing 0.4.9 right now. Could somebody
> verify if the mentioned problem is still valid in current CVS? I'd
> like to make sure it is fixed before releasing 0.4.9.

hello ;-)

* I've build a .ipk for current Openwrt buildroot.
* a file was missing from CVS :

  olsrd-0.4.9-cvs/src/link_layer.h

so I took one from old source package.

* all can be built from standard buildroot src directory.
* I have not tested the resulting binaries, I do not have
a free wrt54g for this purpose now.
* you can find all necessary files at :

  http://wrt54g.free.fr/openwrt/olsr/

* for openwrt user, you need to add those lines in package directory

[marc <at> mq buildroot-2005.03.28]$ grep -i OLSR package/Makefile
package-$(BR2_PACKAGE_OLSR) += olsr 
[marc <at> mq buildroot-2005.03.28]$ grep -i OLSR package/Config.in
source "package/olsr/Config.in"
(Continue reading)

Andreas Tønnesen | 1 Apr 2005 09:16

Re: OpenWRT experimental and OLSR


Thanks.
BTW, the headerfile link_layer.h has been removed from olsrd. You should
be able to build without this file without any problems if everything is
properly cleaned(make uberclean).

- Andreas

> Andreas Tønnesen a écrit :
>
>> Aldert, all,
>>
>> We are in the process of finalizing 0.4.9 right now. Could somebody
>> verify if the mentioned problem is still valid in current CVS? I'd
>> like to make sure it is fixed before releasing 0.4.9.
>
>
> hello ;-)
>
> * I've build a .ipk for current Openwrt buildroot.
> * a file was missing from CVS :
>
>   olsrd-0.4.9-cvs/src/link_layer.h
>
> so I took one from old source package.
>
> * all can be built from standard buildroot src directory.
> * I have not tested the resulting binaries, I do not have
> a free wrt54g for this purpose now.
> * you can find all necessary files at :
(Continue reading)

Marc Quinton | 1 Apr 2005 10:07
Picon

Re: OpenWRT experimental and OLSR

On Apr 1, 2005 9:16 AM, Andreas Tønnesen <andreto <at> olsr.org> wrote:
> 
> Thanks.
> BTW, the headerfile link_layer.h has been removed from olsrd. You should
> be able to build without this file without any problems if everything is
> properly cleaned(make uberclean).

I have done a fresh checkout this morning, so my source directory should
be clean enought to build cleanly.

I will make a second test next hours ...
Sven-Ola Tuecke | 1 Apr 2005 10:28
Picon

Re: OpenWRT experimental and OLSR

Hey,

I'am running the "classic" OpenWRT buildroot here. If the experimental 
buildroot uses other lib version, please rename your ipk to 
"experimental-olsrd-mipsel.ipk" to avoid confusion. My personal impression 
is: The OpenWRT devs still needs some time to stabilize things. Example: 
iwconfig does not work and the whole thing needs much to much flash space...

Rgds,
Sven-Ola

""Aldert J.B.P. Hazenberg"" <aldert <at> rotz.org> schrieb im Newsbeitrag 
news:424C89BF.9010109 <at> rotz.org...
>
> FYI,
>
> As I am always testing OpenWRT I noticed that the new OpenWRT
> experimental of March 28 has a newer version of libpthread in
> use than the stable OpenWRT version --> libpthread-0.9.27.so
>
> I say this as OLSR seems to have a dependency on this and it
> might be of good information for the developers or people
> who compile OLSR for mips (usage on WRT54G and WL500G etc etc).
>
> I also noticed that I could not get the latest CVS compilation of John
> (of Wildcat Wireless) for mips to run on this experimental OpenWRT.
>
> OLSRD seems to crash the second I try to load the httpinfo webpage
> in my browser (sometimes I only get the first page and then it crashes.)
>
(Continue reading)

Marc Quinton | 1 Apr 2005 17:14
Picon

Re: OpenWRT experimental and OLSR

On Apr 1, 2005 2:41 PM, Andreas Tønnesen <andreto <at> olsr.org> wrote:
> 
> Hmmm... strange. Please report the error message you get if it still fails
> when you retry!

I have made a CVS extract, and now it works for standard linux build.
John Gorkos | 1 Apr 2005 17:24

Re: OpenWRT experimental and OLSR

There is a new build and ipkg in the Wildcat Wireless repository.  The only 
plugin I've tested is the dyn-gw plugin, although all of them are compiled 
and stripped.  This is built with the OLD buildroot.  Please let me know if 
there are pthread issues with the newer version.

I had some stability issues with the last CVS build I made, the daemon would 
sometimes die silently.

Note for developers:  I've begun using a circular syslog daemon on my routers.  
Is there any chance of getting syslog-enabled debug and status messages added 
to olsr for the .50 release?

Finally, I've noticed that the load average on my core router is down 
significantly with the new executable.  Before, it would run ay .40-.55, now 
it barely registers.  Was there an errant loop that was sucking clock cycles 
before?

John Gorkos

On Friday 01 April 2005 09:14, Marc Quinton wrote:
> On Apr 1, 2005 2:41 PM, Andreas Tønnesen <andreto <at> olsr.org> wrote:
> > Hmmm... strange. Please report the error message you get if it still
> > fails when you retry!
>
> I have made a CVS extract, and now it works for standard linux build.
> _______________________________________________
> olsr-users mailing list
> olsr-users <at> olsr.org
> https://www.olsr.org/mailman/listinfo/olsr-users
(Continue reading)


Gmane