Developer Blog - Inventic.eu
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #dd-wrt

DD-WRT Monitoring bandwidth per IP

For detailed bandwidth tracking there is a great plugin ip_conntrack available on **dd-wrt.com** forum.

Step 1 - upload plugin to DD-WRT

The easiest way how to upload any content to DD-WRT is build-it ProFTPD server. To enable it, open **Services ->** **NAS** and check **ProFTPD **server.

[caption id="" align="aligncenter" width="497"] DD-WRT FTP[/caption]

Now you can upload any content to your router by any FTP client.

Step 2 - connect to router by telnet

My DD-WRT firmware has some problems with SSH so it isn't possible to use it. It's not a big deal because we can connect to router by telnet (in Win7 it's necessary to install it Add or Remove program->Turn Windows Features -> Telnet client). Run **Telnet** from start menu and type (use IP address based on your own configuration)

<br />o 192.168.0.1<br />

[caption id="" align="aligncenter" width="417"] Telnet[/caption]

Step 3 - Install ip_conntrack plugin

Now it's necessary to execute all steps described in ip_conntrack post.

#Extract and set correct permissions<br />
chmod +x /tmp/MyPage/*.sh<br />
ln -s /tmp/MyPage/www/qos_conntrack.js /tmp/www/</p>
<p>#register new page<br />
nvram set mypage_scripts=&quot;/tmp/MyPage/qos_conntrack.sh&quot;<br />
nvram commit</p>
<p>#activate new page<br />
/tmp/MyPage/traffic_monitor.sh&amp;<br />

Step 4 - Configure automatic execution of script

Not tested, more info on plugin page

**External links**

07 Oct 2013

Posted by: ludek.vodicka

Linux #dd-wrt