Wireless Recycled Reef Controller
|Home | Recent Edits | Search | Edit this page|
2) Make sure you have these configured in your Linksys Web interface.
Setup -> Basic Setup
Static IP (does not matter what IP)
Configure Router Name
LAN IP Address
3) Upgrade to the new firmware via the Admin screen
4) after successful upgrade, telnet to the router and verify:
nvram get boot_wait
nvram set boot_wait=on
5) reboot the router
6) telnet to the router again
ipkg install http://bytality.com/wrrc/code/ipkg2/wrrc-webint_0.05_mipsel.ipk
8) After it is done, point your browser at the router. Go to
Add a repository of
name: wrrc2 location: http://bytality.com/wrrc/code/ipkg2
(better instructions to follow)
set up Timezone on the router.
Telnet to router
echo "PST8PDT?" > /etc/TZ?
- Is for Pacific Daylight Savings. Google for uclibc TZ? to figure out the correct time zone for your area. It is sort of confusing.
Add NTP Client Package
after client is installed, telnet to router and
ntpclient -h pool.ntp.org -s
This will set your clock on the router. Need to automate this and write a script. Also need to work on saving time to the DS2438 and how to manually set if there is no internet connection.
OWFS and Temploggerd (WRRC Package wrrc-loggerd - contains both temploggerd and owfs files for logging and OWFS drivers)
Add the package via the package manager.
Important!!! After the package is installed
telnet to the router
Make rrd file store someplace else, such as under /tmp or a network share. Writing to the flash takes a serious performance hit, and there is only so many times you can write to flash before it is useless.
For example if you want to write to /tmp
ln -s /tmp/rrd /wrrc/temploggerd/rrd
This is temporary, and you will loose the datafiles on reboot.
See Network shares for a long term solution.
Also work on an automated network backup via /tmp
Next take a look at
Need to document this.. Basically, sensors can fall under humidity.rrd temperature.rrd and ph.rrd. Take a look at the example and change to your 1Wire device IDs?.
All the html files and rrd's are created when temploggerd is started, if they do not exist, they will be created then. It is a good idea to start temploggerd manually first if you make changes to the config file:
/wrrc/temploggerd/temploggerd -c /wrrc/temploggerd/temploggerd.conf
You can catch error messages, and get unknown sensors to add to the config file this way.
Once you're happy, control c, to kill it
then start temploggerd with