Ok, let’s run SNMP Agent on BeagleBone this time. I am using the “classic” BeagleBone White. Lets start from scratch.
- First we need write a microSD card, I have an 8GB one.
- Write the linux image using Win32DiskImager utility
- Find out the IP address of the BeagleBone (lets call it Bone). By default, the Bone is enable with DHCP so you may need to download app like Angry IP Scanner to see if there is a new deivce added onto the network.
- Use Putty utility to access the shell of the Bone. Login as root
- You will need to expand the file system of BeagleBone to install ANYthing new on it. Use this resource to do it. The default partion of linux image is around 1.8GB which hardly accommodates the OS itself. If you try to install anything new, it will bump an error.
- Now install SNMP agent by:
apt-get intall snmpd
- Now configure the snmp by sudo nano /etc/snmp/snmp.conf . Comment out the line with mib: like
- And the snmpd by:
sudo nano /etc/snmp/snmpd.conf
- After editing, snmpd.conf should look like below:
# Listen for connections from the local system only #agentAddress udp:127.0.0.1:161 # Listen for connections on all interfaces (both IPv4 *and* IPv6) agentAddress udp:161,udp6:[::1]:161
- Now brows the MIB using your favourite MIB browser like iReasoning MIB browser.