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
attached is screenshot of what you will see
if you reboot the router you will loose the usage data. The data is stored in a usage.db file in /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