Wifi Client through SNMP ?

Discussion in 'DD-WRT Firmware' started by ericmule, Mar 4, 2008.

  1. ericmule

    ericmule LI Guru Member

    Trying to graph via SNMP active wireless clients are associated. This is WRT54GL router running DD-WRT v23 sp1.

    I've created the following startup script:
    #!/bin/sh
    cd /jffs
    echo "exec wlclients /jffs/wlclients" >> /var/snmp/snmpd.conf
    killall -TERM snmpd
    snmpd -c /var/snmp/snmpd.conf

    It runs the following file (wlclients):
    #!/bin/sh
    wl assoclist | wc -l | sed 's/ //g'

    When I do a SNMP walk I get permission errors. I've checked permissions and can't find the problem. This is what I get...
    snmpwalk -v 1 -c rthotspot 192.168.102.1 .1.3.6.1.4.1.2021.8.1.101.1
    UCD-SNMP-MIB::extOutput.1 = STRING: /jffs/wlclients: Permission denied

    I'm a newbie here, so I'm probably missing something simple. Any help is appreciated.
     
  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