Like optddwrt I'm a network newb but I really need to get this script working because I have several roommates and need to figure out who is killing our bandwidth cap. I tried to make my questions a little more specific to hopefully help speed up the process. I apologize in advance if some or all of these questions are ridiculously easy.
-btw I'm currently running DD-WRT v24-sp2 (08/07/10) mini on a Linksys WRT150N v1
1.) I downloaded wrtbwmon but don't know where to put it or how to give it permissions. My router doesn't have a usb slot so does this mean I need to set up a shared folder on my win7 computer? If so what ip/user name is the router (or how do I look that up) so I can give it the execution permissions it needs?
2.) "Make sure you change your wrtbwmon location depending on where you place it" so would this mean changing "/mmc/wrtbwmon" to something like "\\my-pc-name\shared-folder\mmc\wrtbwmon"?
3.) "Also change your MAC-to-PCname list's file path accordingly or remove that chain if you're not using it. " I understand this is the "/mmc/MAC-PCname.txt" part of the script but have no idea what to update that file name to be, or if i need that line of the script at all.
i want to run this script but do not know how. I have dd-wrt set up on a dlink dir-615 router. I tried pasting the script in the command panel and running the script from there with no luck.
Can somebody explain how to run this script? I cannot place this on a usb or sd card as the router does not support this function. How would i run this script within the router itself?
Sorry if this is necro threading, but I really had to say THANK YOU! I had tried the two other popular monitoring scripts to no avail, and your modification worked like a charm on the first attempt. Now I know exactly which flatmate is clogging my tubes with an uncapped upstream.
1. I cannot get the page to show up within the dd-wrt MyPage WebGUI. It just shows a blank page, but without the statistics.
I can view the usage.html (cat /tmp/usage.html) and see the statistics in telnet, or if I copy the file to /tmp/www/usage.html, I can view the statistics at http://MyIp/user/usage.html . Did I miss something? I made sure usage.sh is executable (chmod +x /tmp/smbshare/router/wrtbwmon/usage.sh) Also, if I run the usage.sh script, it doesn't seem to run the cat /tmp/usage.html command within the usage.sh script.
2. Lastly, does the usage reset every month? or does it just keep adding to the total into the DB (and to reset I can just delete the database) ?
I think a suggestion to improve this is to break out the statistics by a monthly basis.
hey.. i try to run your script and did it successfully... but why in user columns, it only showed mac address ? should i do something to show the user name ?
can any-one, post a tutorial how to build this item on a usb stick and how to make it reset on a certain date, beginning from a standard setup of ddwrt?
ty ;p
I am new to DD-WRT I don't know what you mean Step 2 So if you can tell me how would I put the file to router and what file would be great sorry I am new to all this I am using WNDR3700
I had this same issue, and it was rooted in the missing "sort" function from atheros builds of dd-wrt.
I simply removed that as a dependency from the code, and told the browser to sort the data rather than the router.
I also added a totals line and some better styling.
I have attached the updated wrtbwmon file.
I will most likely be updating this file to add more features and better reporting in the future if there is any interest.
the .txt extension should be removed, but was required to attach file to this post
now i hate to ask this but i have no idea how to implement this and if someone could give a step by step guide for dummies that would be greatly appreciated
(we are going over our monthly limit and we are trying to find the source)
Posted: Sat Nov 03, 2012 9:00 Post subject: Thanks!
benawhite wrote:
MacMillan wrote:
What am I doing wrong ?
I had this same issue, and it was rooted in the missing "sort" function from atheros builds of dd-wrt.
I simply removed that as a dependency from the code, and told the browser to sort the data rather than the router.
I also added a totals line and some better styling.
I have attached the updated wrtbwmon file.
I will most likely be updating this file to add more features and better reporting in the future if there is any interest.
the .txt extension should be removed, but was required to attach file to this post
Thanks! It's working perfectly with your modifications, running it on Asus RT-N10+ (DD-WRT v24-sp2 (04/13/11) std - build 16785 | Ralink SoC) from /tmp.