View Single Post
Old 12-07-2012, 19:20   #29
Sirius
Grumpy Fecker
 
Sirius's Avatar
 
Join Date: Jul 2007
Location: Warrington
Age: 66
Services: Every Weekend
Posts: 17,098
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Sirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver blingSirius has a lot of silver bling
Re: Just got a warning letter

Quote:
Originally Posted by jfish View Post
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
Many thanks, will have a play with this now

****Edit*****

All Working
__________________
Do yourself a favour and ditch Microsoft and their Spyware infested OS
I am a happy Linux user

https://nobaraproject.org/
Sirius is offline   Reply With Quote