Discussion in 'HyperWRT Firmware' started by NetrixTardis, Feb 7, 2006.

  1. NetrixTardis

    NetrixTardis Network Guru Member

    is SNMP being considering to be added to the HyperWRT code, via it be on tofu or thibor?
  2. Krip

    Krip Network Guru Member

    I'd like to see this also as I really could do with a way of monitoring internet only traffic.
  3. Thibor

    Thibor Super Moderator Staff Member Member

    it's an open source project guys, you're more than welcome to implement this yourselves and we'll include it in the main releases
  4. Krip

    Krip Network Guru Member

    Well I wouldn't have a clue how to start building things into the firmware, however after reading this thread on the HyperWRT forums it appears we can download the snmpd binary to the router and run it by doing the following:

    Telnet into your router and change to the temporary directory...

    cd /tmp

    Now download the snmpd binary and config file direct to the router using wget...


    Now we need to make the snmpd binary executable...

    chmod +x ./snmpd

    The snmp daemon can now be run using the command...

    /tmp/snmpd -c /tmp/snmpd.conf

    Now, what I would like is to be able to have the binary download and run automatically after a reboot. Making slight changes to another script I found, I was wondering if the following startup script would do the trick...

    for i in 1 2 3 4 5 6 7 8 9 10;
    sleep 10
    cd /tmp
    chmod +x /tmp/snmpd
    ( /tmp/snmpd -c /tmp/snmpd.conf & ) &

    In theory it should make 10 attempts at 10 second intervals after a reboot to download and run snmpd... Correct?


  5. NetrixTardis

    NetrixTardis Network Guru Member

    well, what i was hoping to see is net-snmp build in. unfortunatly, i have tried to implement this myself, and failed miserably. was hoping someone was working it. guess i can try again when i finish dealing with my projects for my job.
  6. Thibor

    Thibor Super Moderator Staff Member Member

    it might be in thibor14...might, no promises
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice