Should objectid be the IP of the OpenWrt AP?
Anyway, whatever is put there - its not being written into
/etc/smartsnmpd.conf on startup.
I wonder if thing does work at all..... I guess not.
Tim J <[email protected]> wrote:
Tim J <[email protected]> wrote:
I used to use it. Have you tried using -v 1 instead of 2c ?
What do you use now?
Yes - I also tried protocol version 1 without any difference.
root@basmati /root> snmpwalk -v 1 -c public zwiebel
Timeout: No Response from zwiebel
"Config":
root@zwiebel:/etc/config# cat smartsnmpd
config smartsnmpd
option port '161'
option ro_community 'public'
option rw_community 'private'
option mib_module_path 'mibs'
option objectid '1.2.3.4'
option contact 'Me <[email protected]>'
option location 'Shanghai'
option services '72'
config smartsnmpd_module
option oid "1.3.6.1.2.1.1"
option module 'system'
config smartsnmpd_module
option oid "1.3.6.1.2.1.2"
option module 'interfaces'
config smartsnmpd_module
option oid "1.3.6.1.1"
option module 'dummy'
root@zwiebel:/etc/config#
_______________________________________________
(Sorry for the top post last time)
I just use a simple shell script and run it with an ssh.
eg ssh 1.2.3.4 /root/script.sh wl0
The script just sends the bytes on the specified interface.
If you only want traffic, try tossing out the existing config and use a
simple snmpd.conf such as;
syslocation Earth
sysName Super-Duper OpenWRT
syscontact some@guy
rocommunity <community>
rwcommunity <community>
Tim
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users