Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Serious Wireless problems

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Virgin Media Services > Virgin Media Internet Service
Register FAQ Community Calendar

monitor user bandwidth usage (dd wrt routers only)
Reply
 
Thread Tools
Old 14-07-2012, 11:59   #1
jfish
Inactive
 
Join Date: Apr 2012
Posts: 52
jfish is on a distinguished roadjfish is on a distinguished road
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)
jfish is offline   Reply With Quote
Advertisement
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:43.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum