![]() |
monitor user bandwidth usage (dd wrt routers only)
want to find out who is hogging you broadband connection and downloading/uploading
The following is a script written by someone on ddwrt forum to collect and display individual usage on your ddwrt router. This is great if you want to know who is hogging the bandwidth at home. unzip attached file, using WinSCP connect to your ddwrt router and download the 2 files to the /tmp folder - chmod both files to have execute permissions create a new txt file in the /tmp folder names macs.txt - This is used to map mac addresses to hostname - format of file is macaddress,hostname, now ssh to the ddwrt router, navigate to /tmp folder and run the collect.sh script you will see following in your console Window Please wait... Updating Database Publish Data To Web Page Setting Up Bandwidth Monitor Reading Bandwidth Monitor Data Please wait... Updating Database Publish Data To Web Page Setting Up Bandwidth Monitor Reading Bandwidth Monitor Data Please wait... To view the data navigate to http://router_ip/user/usage.html if you reboot the router you will loose the usage data and the script (as its stored in the tmp folder). Copy back the files in the zip file to the router again - or write a script to download the files again on a reboot of the router, The usage data is stored in a file usage.db in the /tmp folder - you can modify the script to upload the file to your pc as a backup - so if you need to reboot you can restore the backed up usage data file. files can be found in this thread http://www.cableforum.co.uk/board/12...ng-letter.html (post 26) |
All times are GMT +1. The time now is 22:30. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum