Computer Scientist, Graduate Student, and Geek

Tag: wrt54gl

Monitor Network Usage with MRTG and DD-WRT

January 26, 2010

I currently run DD-WRT on a Linksys WRT54GL. One of the great features of DD-WRT is its Simple Network Management Protocol (SNMP) functionality. You can setup a desktop to gather SNMP data from the router and provide it in nice graphical form.

First, you need to configure the router running DD-WRT:

  1. Login to the DD-WRT web interface by entering the router's IP address in your browser.
  2. Select the Services tab.
  3. Click the Enable radio button under SNMP.
  4. Enter a description for the location (such as "Home"), a name for the contact (such as "Aaron Gember"), and a name for the router (its hostname is a good choice).
  5. Click the Apply Settings button.

After DD-WRT is configured, MRTG needs to be configured. All the commands below are run as root. A few may be Fedora specific, but the commands are easily adaptable for other Linux distributions.

  1. Install MRTG
    yum install mrtg

Categories: Linux, Networking

Tags: dd-wrt, mrtg, wrt54gl