Results 1 to 6 of 6

Thread: hddtemp

  1. #1

    hddtemp

    Did anybody try to compile hddtemp for WL-700g? I think interestingly it will be to know the temperature of HDD at the different modes of operations of device.
    Also rrdtool from repository does not work with this router, probably it is also necessary to recompile?

  2. #2
    What do you mean exactly by "does not work"? Is it a configuration script that doesn't work? If this is the case, it may be worth editing the script to point it at /opt/bin/bash as opposed to /bin/sh - which lacks a lot of functionality with the Wl700Ge's firmware

  3. #3
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Quote Originally Posted by Denmike View Post
    Also rrdtool from repository does not work with this router, probably it is also necessary to recompile?
    I know that rrdtool is somehow broken. But until now I did not found a way how to resolve this. I have native compiled rrdtool with its libraries with the same bogus problems with fpclassify.

  4. #4
    Quote Originally Posted by d3viant View Post
    What do you mean exactly by "does not work"? Is it a configuration script that doesn't work?
    I used script from this forum for monitoring network interfaces. It can't to create rrd-database. Process rrdtool eat all CPU-time. but nothing happened.
    I tried to use rrdweather script and it also can't create database with the same error. When I try to create database on my linux-box rrdtool can't update this database with error: "database created on another platform".

  5. #5
    Hmm, looks like it stores a config file somewhere saying that the database has already been created. oleo did a lot of work on the original mips based packages - and seeing as it never appeared to work, I guess it's not such a simple problem as the wrong shell being used so it looks like you may be stuck for the time being.

  6. #6
    For example:
    rrdtool on router can create this database:

    Code:
    rrdtool create ${RRDDIR}/${CITY}/dew.rrd \
            --start 1127253600 \
            DS:dew:GAUGE:600:-50:150 \
            RRA:AVERAGE:0.5:1:600 \
            RRA:AVERAGE:0.5:6:700 \
            RRA:AVERAGE:0.5:24:775 \
            RRA:AVERAGE:0.5:288:797 \
            RRA:MIN:0.5:1:600 \
            RRA:MIN:0.5:6:700 \
            RRA:MIN:0.5:24:775 \
            RRA:MIN:0.5:288:797 \
            RRA:MAX:0.5:1:600 \
            RRA:MAX:0.5:6:700 \
            RRA:MAX:0.5:24:775 \
            RRA:MAX:0.5:288:797
    But when I changed one line (3) for next database, rrdtool can't create database. On normal linux machine this command create database without any problem

    Code:
    rrdtool create ${RRDDIR}/${CITY}/humidity.rrd \
            --start 1127253600 \
            DS:humidity:GAUGE:600:0:100 \
            RRA:AVERAGE:0.5:1:600 \
            RRA:AVERAGE:0.5:6:700 \
            RRA:AVERAGE:0.5:24:775 \
            RRA:AVERAGE:0.5:288:797 \
            RRA:MIN:0.5:1:600 \
            RRA:MIN:0.5:6:700 \
            RRA:MIN:0.5:24:775 \
            RRA:MIN:0.5:288:797 \
            RRA:MAX:0.5:1:600 \
            RRA:MAX:0.5:6:700 \
            RRA:MAX:0.5:24:775 \
            RRA:MAX:0.5:288:797

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •