All Projects → Kiougar → Luci Wrtbwmon

Kiougar / Luci Wrtbwmon

Licence: mit
Bandwidth tracker for OpenWRT that uses wrtbwmon

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Luci Wrtbwmon

slim-wrt
Armor for Openwrt
Stars: ✭ 66 (-67.16%)
Mutual labels:  router, openwrt
Openwrtinvasion
Root shell exploit for several Xiaomi routers: 4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C...
Stars: ✭ 366 (+82.09%)
Mutual labels:  router, openwrt
TG799VAC-XTREME-17.2-MINT
My personal unique wiki for hacking the router firmware used by (Telia)TG799vac Xtream v17.2-MINT delivered from Technicolor
Stars: ✭ 71 (-64.68%)
Mutual labels:  router, openwrt
Graphpath
Graphpath generates an ASCII network diagram from the route table of a Unix/Linux
Stars: ✭ 321 (+59.7%)
Mutual labels:  router, network-monitoring
Xunleikuainiaoinshell
[ 迅雷快鸟 Shell 版 ] A Shell Implementation of Kuainiao, Xunlei
Stars: ✭ 102 (-49.25%)
Mutual labels:  router, openwrt
YAWAC
Yet Another Wifi Auto Connect (YAWAC) is a shell script to connect to a dataset of wireless connection and free hotspot like FreeWifi. It's works on OpenWrt.
Stars: ✭ 22 (-89.05%)
Mutual labels:  router, openwrt
Asuswrt Merlin Transparent Proxy
transparent proxy base on ss, v2ray, ipset, iptables, chinadns on asuswrt merlin.
Stars: ✭ 367 (+82.59%)
Mutual labels:  router, openwrt
openwrt
OpenWrt Stable 1907 with lean's package
Stars: ✭ 55 (-72.64%)
Mutual labels:  router, openwrt
Fast Path Lede Openwrt
PLEASE GO TO NEW OPENWRT TRUNK BASED SFE FIRMWARE ->
Stars: ✭ 96 (-52.24%)
Mutual labels:  router, openwrt
Actions Openwrt K2p
Use Github Actions to automatically compile Lean's Modified Lede source for K2P
Stars: ✭ 67 (-66.67%)
Mutual labels:  router, openwrt
Xunlei Fastdick
迅雷快鸟 Xunlei Network Accelerator For Router
Stars: ✭ 789 (+292.54%)
Mutual labels:  router, openwrt
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (-39.3%)
Mutual labels:  router, openwrt
Docker Openwrt
OpenWrt running in Docker
Stars: ✭ 107 (-46.77%)
Mutual labels:  router, openwrt
Familycloudspeederinshell
[ 天翼家庭云/天翼云盘提速 Shell 版 ] A Shell Implementation of FamilyCloudSpeeder, ESurfing
Stars: ✭ 154 (-23.38%)
Mutual labels:  router, openwrt
Xfrps
xfrps fork from frp but mainly use its server side feature and cooperate with xfrp
Stars: ✭ 179 (-10.95%)
Mutual labels:  openwrt
Build Openwrt
超简单云编译,人人都能定制编译自己喜欢的OpenWrt固件
Stars: ✭ 194 (-3.48%)
Mutual labels:  openwrt
Localize Router
An implementation of routes localisation for Angular
Stars: ✭ 177 (-11.94%)
Mutual labels:  router
Openwrt Sfe Flowoffload Ath79
Openwrt firmware with SFE and FlowOffload
Stars: ✭ 178 (-11.44%)
Mutual labels:  openwrt
Brouter
Stars: ✭ 198 (-1.49%)
Mutual labels:  router
Component
🔥🔥🔥A powerful componentized framework.一个强大、100% 兼容、支持 AndroidX、支持 Kotlin并且灵活的组件化框架
Stars: ✭ 2,434 (+1110.95%)
Mutual labels:  router

Bandwidth tracker for OpenWRT Build Status

This Luci module uses wrtbwmon to track bandwidth usage.

Features
  • Auto refresh every 5 seconds (can be changed)
  • Track speed per client (if auto refresh is enabled)
  • No cron job required (wrtbwmon is updated on demand)
  • Map MAC addresses to usernames by editing a file from the UI.
  • Ability to persist database across reboots and firmware updates

After installation you will see a new Usage menu item inside the Network menu list in the Luci GUI.

Network Usage

What it does

It displays a table that includes all columns wrtbwmon provides, with two additional ones (emphasis given):

  1. Client
  2. Download speed
  3. Upload speed
  4. Total downloaded
  5. Total uploaded
  6. Total usage
  7. First seen date
  8. Last seen date
How it works

The download/upload speed is calculated in memory on the front end using JS thus minimizing resource consumption on the router. To properly calculate these values an auto refresh interval must be set that runs the following commands on the router:

  • wrtbwmon update /tmp/usage.db
  • wrtbwmon publish /tmp/usage.db /tmp/usage.htm /etc/wrtbwmon.user

For the above commands to work the only requirement is that the wrtbwmon package is installed and enabled.

Install

Step 1 - install the wrtbwmon package:
  • Download the latest .ipk file from wrtbwmon releases
  • Copy the file to your router /tmp directory
  • Install the package opkg install /tmp/wrtbwmon_*_all.ipk
Step 2 - setup* the wrtbwmon package:
  • Schedule it to run on startup /etc/init.d/wrtbwmon enable
  • Manually start it now /etc/init.d/wrtbwmon start

*If you have already setup a cron job to update the wrtbwmon database, it would be best if you removed it. There is no need for wrtbwmon to regurarly update the db since we only need to run it when the Usage page is active.

Step 3 - install this module:
  • Download the latest .ipk file from releases
  • Copy the file to your router /tmp directory
  • Install the package opkg install /tmp/luci_wrtbwmon_*_all.ipk
  • Clear the cache for luci to get the web interface to refresh rm /tmp/luci-indexcache

TODO

  • Add the .ipk package to the OpenWRT feed

Contribute

Feel free to contribute on any of the above TODO items, or even on any feature you might think is helpful. I would appreciate any help.

Credits

A big thanks to

  • pyrovski for creating wrtbwmon and helping me with creating the .ipk package
  • OpenWRT organization for creating and maintaining openwrt and luci
  • Carl Worth [email protected] for his ipkg-build script that lies in this repo
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].