Wireless Recycled Reef Controller

   Home   |   Recent Edits   |   Search   |   Edit this page

Summary:
1) Install the new OpenWRT experimental Firmware. Choose one of the JFFS? ones for your Router. Motorola, WRT54G, or WRT54GS.

  • Important, if you were on the old WRRC firmware, a direct could fail. Downgrade to a Linksys Firmware then Configure Section 2 paramenters, the upgrade to the New WRRC firmware.

    2) Make sure you have these configured in your Linksys Web interface.
    ---
    Setup -> Basic Setup
    Internet Setup:
    Static IP (does not matter what IP)
    Gateway

    Optional Settings:
    Configure Router Name
    Hostname
    Domain Name

    Network Settings
    LAN IP Address
    Static DNS
    ---

    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
    nvram commit

    5) reboot the router

    6) telnet to the router again

    7)
    ipkg update
    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
    OpenWRT->Packages?->
    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.

    Start OWFS:
    /etc/init.d/owfs start

    ---
    Important!!! After the package is installed
    telnet to the router
    cd /wrrc/temploggerd/
    rmdir rrd

    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
    mkdir /tmp/rrd
    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
    /wrrc/temploggerd/temploggerd.conf

    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
    /etc/init.d/temploggerd start

    ---



  • Page Hits: 4528