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.
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.