SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If your router supports SNMP you might be able to monitor it using munin or MRTG.
Yes, the router supports SNMP. I mentiond that in a previous response. I'm unsure I want all the hassle and overhead of running something as complex as MRTG.
I never heard of munin but will look further.
Graphs are nice but not a priority.
However, although currently I only want to know total throughput, I notice some of these apps can calculate bandwidth speed (Mbps) too. That might cool but these complex apps are over my head at the moment.
researched a little about your setup... do you have dd-wrt already installed in the router? if not you might have a look at openwrt (either way). I believe that it can provide a much better solution for you, if changing the firmware on the router is in your interest. At least with openwrt you might be able to install a package to do what you want. You will need a PC to offload the data to though.
Honestly you are kind of limited with your setup. The switch isn't managable, and the router not much to your needs without an upgrade. Let the fun begin! It is a dangerous undertaking!
Openwrt can run in virtual box for testing, before implementation. I believe that you stated that you have VirutalBox running on your desktop. This is most helpful in getting the right solution put together.
I imagine that you have done plenty of digging already. So enjoy!
In Bandwidth Monitoring, what is "Custom Path"?[toc, link]
It's a directory that is accessible/writable from within the router. Examples: "/tmp/", "/cifs1/mystuff/" (if you mounted a drive). Windows "C:\directory\" should not be used. If you want to save the data to your computer's hard drive, use CIFS.
IMHO, tomato firmware is a simple solution to your issue.
Originally I had considered a CIFS solution, but the computer storing the logs must always be powered on. That is not the case here. For example, soon I am going to power down my office machine from which I am writing this response. I then will power up my HTPC. From my HTPC I might stream a video to watch, which needs the router. But the HTPC is not on all the time.
As I mentioned, the data I seek is already available in the router. I think I need only write a shell script to manipulate the data. That is the solution I am now leaning, although I'll let the idea fester in my subconscious for a few days.
I have a Linksys WRT54GL 1.1 router with DD-WRT v23SP2 firmware. Has worked well a long time but there are no usage stats.
Hi Woodsman. I have a Linksys WRT150N with DD-WRT v24 firmware and it records all my daily incoming/outgoing traffic in MB every month under Status -> WAN. It also has real-time bandwidth monitoring too.
amiga32: Does the data survive a power cycle? If yes, how much data? A few hours? A day? A week? Month? Year?
I just checked and I have bandwidth stats going back to February 09, which is probably around the time when I ditched Linksys firmware for DD-WRT. Since then I have a couple power outages and probably at least 15-20 manual reboots so yes it does survive and should keep your stats at least a year
I was looking at the GUI config panel for knemo. On the interfaces tab, it will let you select the interface(s) to be monitored. I don't have a home network, so I have no idea, but can't you select the right interface for your needs with this tool? Then delete the ones you don't want?
I don't have a home network, so I have no idea, but can't you select the right interface for your needs with this tool? Then delete the ones you don't want?
Yes, indeed, but that does not solve the problem of distinguishing LAN traffic and internet traffic. Also, as I mentioned, KNemo is a gui app and I prefer to monitor internet throughput at all times.
Quote:
I just checked and I have bandwidth stats going back to February 09, which is probably around the time when I ditched Linksys firmware for DD-WRT. Since then I have a couple power outages and probably at least 15-20 manual reboots so yes it does survive and should keep your stats at least a year
Thanks for sharing. I could not find that specific information online. I'm sure the information is available somewhere and I simply overlooked.
Question, how did you check that stats were stored back to February? Through the DD-WRT web page interface or SSH into the router? Specifically, does DD-WRT show the entire history on the web page interface?
Do you know the exact date of the version you are using? When I browsed the forums I kept reading about problems and bugs with v24. That is one reason I kept v23SP2 (9/15/06) on my router.
Question, how did you check that stats were stored back to February? Through the DD-WRT web page interface or SSH into the router? Specifically, does DD-WRT show the entire history on the web page interface?
Yeah I used the web interface. You can switch back between months, it logs all the incoming/outgoing traffic per day of that month in bar graph format.
Quote:
Do you know the exact date of the version you are using? When I browsed the forums I kept reading about problems and bugs with v24. That is one reason I kept v23SP2 (9/15/06) on my router.
I'm using the stable v24 release. I can't give you an exact date on it right now. Currently there is stable v24 SP1 that's supposed to be less buggy than v24, though I haven't had any noticeable problems. You could also wait for the stable v24 SP2 which should be coming out pretty soon or the v24 SP2 pre-release as well.
Yeah I used the web interface. You can switch back between months, it logs all the incoming/outgoing traffic per day of that month in bar graph format.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.