/* $Id: INSTALL,v 1.5 2005/08/27 20:51:58 d1mag Exp $ */

INSTALL file to temploggerd
---------------------------
First of all there are some requirements to run temploggerd:
 * a web-server with cgi-support
 * rrdtools (rrdtool, rrdupdate and rrdcgi)
     Download it from http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
 * OWFS

If you are planning to use temploggerd on your WRT54G router, you
have to install wrt54g-0.51.tar.gz (to get a shell and boa web-server).
This package is found at: http://www.batbox.org/wrt54g-linux.html
Precompiled binaries of rrdtools and OWFS to WRT54G are available in the
file owfs_wrt54g-*.tar.gz which could be found downloaded from:
http://sourceforge.net/project/showfiles.php?group_id=85502

First of all, download and install OWFS from :
      http://sourceforge.net/project/showfiles.php?group_id=85502
  or (better)
      checkout the latest version from the CVS.

Compile and install temploggerd:
> cd temploggerd
> ./configure     (Run ./bootstrap if configure doesn't work for you)
> make
> make install

HTML-templates and config-file are installed in /usr/local/lib/temploggerd/
and the binary is installed in /usr/local/bin/ as default.
After all files are installed, you should create and edit your own config-file.
The default config-file should work without editing, but take a look at it
since it contains some useful options.

> cd /usr/local/lib/temploggerd/
> cp temploggerd.conf.default temploggerd.conf
> vi temploggerd.conf
> /usr/local/bin/temploggerd &

Look in README.temploggerd for more information about how it works.



Building temploggerd for WRT54G and Coldfire
--------------------------------------------
Makefile.wrt54g is supposed to work if you unpack and compile temploggerd at
/WRT54G_3_01_3_0922/release/src/router/temploggerd/
(The source to WRT54G is available at http://www.linksys.com/support/gpl.asp)

Follow all instructions how to install the cross-compiler and everything else.
I'm afraid that I can't help all people with questions how to make a complete
build of the WRT54G firmware.
------------
Add a row to /WRT54G_3_01_3_0922/release/src/router/Makefile
obj-y += temploggerd
------------
> cd /WRT54G_3_01_3_0922/release/src/router/temploggerd
> cp Makefile.wrt54g Makefile
> cd /WRT54G_3_01_3_0922/release/src
> make

Binaries and HTML-templates will probably be installed at:
/WRT54G_3_01_3_0922/release/src/router/mipsel-uclibc/target/usr/bin/temploggerd

--------------------------

Makefile.coldfire is supposed to work if you unpack and compile temploggerd at
/uClinux-dist/user/temploggerd/
(The source to uClinux-dist is available at
 http://www.uclinux.org/pub/uClinux/dist/ )

I won't much more about this here... If you have any questions then send
me an e-mail instead.

--------------------------

