On Die, 2007-11-13 at 00:10 +0900, David Murray wrote:
[...]
> Thanks for the response Bernd, I have now had a look into txtinfo. It 
> looks like it might do what I need but I have been unable to get it 
> working yet. I have done a make and a make install and I have edited

`make install_all` is required for the plugins to be installed.

> /etc/olsrd.conf with the settings in README_TXTINFO. But I have a 
> couple of questions.
> 
> The PlParam "accept" "IP address" configuration that goes in the 
> configuration file. I presume the "IP address" bit we put in the IP of 
> the machine that is going to access it.

Yes.

> Then presumably when olsrd is running we should be able to "telnet 
> 127.0.0.1 2006" or "wget localhost:2006 -qO -" to get the output in 
> different forms. When I try to telnet I get:

Yes (given that the port number is correct).
With telnet, you have to simulate http like web browswer or wget and
type (minimalistically) "GET /" <Enter> <Enter> (the second <Enter> is
an empty line which terminates the http header).

> wimesh-2:~# telnet 127.0.0.1 2006
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> Connection closed by foreign host.
> 
> When I wget the command line just sits there doing nothing. Is there 
> something that I am doing wrong.

Most probably you are coming from a not allowed IP address.
Start olsrd from a shell with "-d 1" (and `| tee` it into a file) - the
txtinfo plugin should then write something more.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




