Skip to content

Releases: vortex-5/ddwrt-bwmon

DDWRT Bandwidth Monitor 1.6.3

11 Dec 22:00
Compare
Choose a tag to compare

Fixed Edge and IE Specific bug where both those browsers aggressively cache requiring a new URL on every request to bypass caching.

Prior to this fix Edge may show download and upload rates as 0 Kbps.

DDWRT Bandwidth Monitor 1.6.2

11 Dec 22:00
Compare
Choose a tag to compare

Minor bugfix submitted by a user.

The start.sh had a bug in that it was not creating the data folder.

If you run install.sh the folder would be created for you but if you tried to run start.sh the code that was suppose to make it robust enough to create the data folder didn't work.

This bugfix addresses that issue.

DDWRT Bandwidth Monitor 1.6.1

11 Dec 22:00
Compare
Choose a tag to compare

Minor bugfix people that preferred overwritting the DNSMasq and were running lighttpd can now disable the #bwmon-dnsmasq.sh script and edit the mac-names.js

mac-names.js will overwrite any dnsmasq entries provided the start.sh has been instructed to not run the dnsmasq hostname builder.

Prior to this lighttpd users were unable to overwrite dnsmasq entries.

This is a bit clunky I admit but the non lighthttpd users do require that setting enabled if they wish to use dnsmasq hostnames. In a future version I'll look at potentially making both lighttpd and non lighttpd versions honor mac-names over dnsmasq entires for now you have to manually turn off start.sh

DDWRT Bandwidth Monitor 1.6

11 Dec 21:59
Compare
Choose a tag to compare

In this version I've added the ability to sort columns by clicking on the heading.

You cannot sort the name of the device or mac address however all other fields are sortable.

Click twice on a heading to reverse the sort.

DDWRT Bandwidth Monitor 1.5.1

11 Dec 21:59
Compare
Choose a tag to compare

This is mostly a bug fix release.

I am attempting to address the bug posted about how virtual interfaces are missing from the bandwidth logging.

I'm also averaging the time a request is made vs received to hopefully get a better estimate for the download and upload rate. Since DDWRT doesn't have nanosecond the services cannot give an accurate estimate so we are still relying on client side prediction for when the sample of data was taken.

DDWRT Bandwidth Monitor 1.5

16 Oct 14:55
Compare
Choose a tag to compare

Release Notes

In this version BWMON is now able to use the lighttpd with php service to further improve realtime bandwidth monitoring.

Efficiency changes: For those of you obsessed with efficiency you'll be glad to know that this version of BWMON now only samples the bandwidth from the router every 60 seconds if you don't visit the bandwidth page. The 60 second polling is for the bandwidth usage long term collection.

In order to offer this efficiency you will also notice that when you first visit bwmon.html with lighttpd enabled the page will display "--" for the current bandwidth as the bandwidth stats are being collected there's a 2 second startup and then the router will sample bandwidth stats every 2 seconds (the bandwidth displayed is over a 6 second average since it was too jumpy if shown without an averaging function).

This means you get the best of both world you get a very efficient light 1 minute job when there is no one actively looking at the usage page and you get a very fast updating usage page when people are looking at it. Also I made a fallback for all users not able to run lighttpd. In the event you are not able to run lighttpd you can still use the legacy mode that still samples every 10 seconds.

The documentation instructions have changed slightly so please refer to the following below for installation if you are upgrading please ensure you stop the old service by running stop.sh first before extracting over the old version:

Updated installation instructions

  1. Format a USB flash drive to ext4 you may try ntfs but fat partitions will not work.
  2. On DD-WRT enabled routers go to the web gui. Navigate to Services -> USB enable automount USB drive and set the automount path of the partition to /jffs/. It is recommended to use the partition GUID to do this. Non DD-WRT routers need to ensure the partition is mounted on /jffs/.
  3. Optionally enable lighttpd support from Services -> Webserver -> Lighttpd Server. Keep it at the default port 81 and do not enable WAN access.
  4. Log into your router via ssh. You may use putty to do this on windows or just ssh on linux.
  5. From your ssh terminal type: cd /jffs/.
  6. Either download the tool directly from your router's ssh prompt type: wget https://github.com/vortex-5/ddwrt-bwmon/releases/download/1.5/bwmon.tar.gz. Alternatively you can download the file from the releases page and copy it to your usb flash drive.
  7. Extract the installer package from your router's ssh prompt type: tar -xzvf bwmon.tar.gz.
  8. Fix the permissions on your router type: cd /jffs/bwmon/ && sh install.sh.
  9. Set the automount script on the router (Under your router's web gui's Services -> USB) to point to /path/bwmon/startup.sh to autostart this script on mount or just run the startup.sh script manually if you don't wish to start on system bootup.
  10. If you enabled lighttpd server for better performance you can visit http://your_router_ip:81/bwmon.html. If you do not have lighttpd capability or have chosen not to run lighttpd you can visit the legacy page at http://your_router_ip/user/bwmon.html to view your stats.

Notes: Only one of the two URL's will be available and Bwmon will autodetect which mode it should run in based on if the lighttpd server is enabled at script startup. Bwmon will automatically fall back to legacy mode if it does not have lighttpd access. Please also note that lighttpd mode also requires php execution which has been part of DDWRT since build verion 275XX and later.

DDWRT Bandwidth Monitor 1.2.1

11 Dec 21:58
Compare
Choose a tag to compare
Changelog
  • Minor bugfix fixed missing angular cookies import.
  • Angular.js updated to 1.4.4
  • ui-boostrap updated to 0.13.3
  • bootstrap CSS updated to 3.3.5
Upcoming version notes

I am currently working on an update to the back end can't commit on a release date yet but the new version should be able to further reduce cpu overhead by extending the polling to 5min intervals for bandwidth usage collection. It will also support a bandwidth rate service that will be able to actively poll every second when you open the bandwidth monitor so you can have the best of both worlds.

  • Very efficient routing with even more minimal router cpu usage when not viewing the bandwidth monitoring page.
  • Slightly more cpu usage and much more responsive UI (1 second polling) when a user visits the page to view the real time stats.

DDWRT Bandwidth Monitor 1.2

11 Dec 21:57
Compare
Choose a tag to compare

Added a toggle between compact and normal views that are persistent due to cookies.

DDWRT Bandwidth Monitor 1.1.1

11 Dec 21:57
Compare
Choose a tag to compare

Updated the mac-names.js output format so that it's consistent and lowercase. In the event that people want to use this script for that purpose in their own work.

DDWRT Bandwidth Monitor 1.1

11 Dec 21:57
Compare
Choose a tag to compare

Release with automatic DNS resolution.