Remote Management Guide for Smart Radio –Appendix C – Using SNMP
Appendix C – Using SNMP
Before you can use SNMP, you need to open
up the firewall at port 161 for UDP traffic. In the GUI, navigate to Network Configuration → Firewall. Under the section Open
ports on router, add a new rule like that shown
in the figure below. Click Add, and after the page reloads, click Save & Apply.
Fig. 1 – Opening the Firewall for SNMP
In
order to enable SNMP, click the Advanced
Settings
button in the bottom left corner of the GUI. Then navigate to services → SNMPD. Uncheck Disable SNMPD Service, and fill in the table. Finally click Save & Apply.
With
SNMP enabled, we can test it using the program snmpwalk in Linux. The listing below
shows an example test script.
#!/bin/sh
IPADDR="10.223.187.2"
USRNAME="doodleAaron"
USRPASS="doodledoodle"
DATAPASS="d00dled00dle"
snmpwalk -m ALL -M ./ -v 3 -u $USRNAME -l authPriv -a SHA
-A $USRPASS -x AES -X $DATAPASS $IPADDR 1.3.6.1.3.12314
Modify
the user login information in snmpwalk.sh using the information you
used in the web GUI setup. The MIB is defined in /usr/lib/lua/smithsnmpd/mibs/wifi.lua and needs to be modified to
be able to support the information defined in WIFI-MIB.txt which is available here:
https://doodlelabs.sharepoint.com/:f:/s/Technical/Elhb0AcP3ClCltsuPOu9gqEBY0v34XZYp1GDrMCTaRS8oA?e=IgmAJd
Related Articles
Introduction to Remote Management Guide for Smart Radio
Remote Management Guide for Smart Radio Advanced Mesh Router for Private Wireless Networks Introduction The Smart Radio runs the Mesh Rider OS. It is a customized version of Openwrt with enhancements useful for applications requiring low-latency ...
Remote Management Guide for Smart Radio - Appendix A – Using SSH
Appendix A – Using SSH The followings are some examples of remotely executing a command via SSH to obtain network information from the node. ssh root@10.223.134.70 ‘iw wlan0 info’ Lists the current configuration of wlan0 ssh root@10.223.134.70 ‘iw ...
Remote Management Guide for Smart Radio – Appendix B – Using the JSON-RPC API
Appendix B – Using the JSON-RPC API For detailed descriptions on how to use the JSON-RPC API, please refer to the following links: https://openwrt.org/docs/techref/ubus https://github.com/openwrt/luci/wiki/JsonRpcHowTo The listings below, along ...
Remote Management Guide for Smart Radio –Appendix D – Common CLI Commands
Appendix D – Common CLI Commands This section provides commands commonly used in the Smart Radio for configuration and diagnostics. UCI The UCI system is used for configuration. Most UCI files are found at /etc/config/. This is a slow method of ...
2. Smart Radio Settings (For all models)
Default Network Configuration The Smart Radio runs Doodle Labs Mesh Rider® OS, a customized version of Openwrt with enhancements. These enhancements are useful for applications requiring low-latency command-and-control transmission, HD Video, ...