On DDWRT routers with more than 16mb of flash you only need to enable it on Services -> WebServer
it's built in.
I would not recommend going the optware route to install lighttpd.
Hmm just like you state on github, but I don't seem to have that option...
Also
I'm following this guide but unfortunately when I enter "~ # mkdir /jffs/opt" in terminal, i get permission denied, and when I enter it in 'command' on DD-WRT i get sh: eval: line 1: /: Permission denied. I won't do it as you suggest not to, but why am I getting denied?
On DDWRT routers with more than 16mb of flash you only need to enable it on Services -> WebServer
it's built in.
I would not recommend going the optware route to install lighttpd.
Hmm just like you state on github, but I don't seem to have that option...
Also
I'm following this guide but unfortunately when I enter "~ # mkdir /jffs/opt" in terminal, i get permission denied, and when I enter it in 'command' on DD-WRT i get sh: eval: line 1: /: Permission denied. I won't do it as you suggest not to, but why am I getting denied?
Well, i started to use bwmon today... after hours of trying to install it (i'm on windows 10) and i don't use linux at all.
I got a few questions. I've used a 2gb pendrive, using ddwrt r26622 on a tplink wdr4300-
1st, i downloaded a ubuntu distro, formatted the pendrive to ext4, then i downloaded the bwmon.tar.gz. and i copied the extracted folder to the pendrive.
2nd, i've also copied the bwmon folder to the /tmp folder on my router using WinSCP.
See the pic below,
So, the question is this configured OK? i mean the "run-on-mount" script part, and the "mount this partition to /jffs".
I can see and navigate the page http://192.168.1.1/user/bwmon.html, but i can only see my computers as MAC addresses, how can i change that?
Thanks to anyone who can help me
and much thanks vortex05 for this thing!! _________________ Linksys WRT54GL v1.1 --- (r14929-std)-RETIRED
Linksys EA2700 v1 --- (r29409)
TP-Link WR841N v9.3 --- (r27506)
TP-Link WDR4300 v1.7 --- (r26622)
I believe you have to set static IPs to get hostnames. That is what I use and it works. If an unknown machine is connected to my network, I also see only mac address. _________________ Netgear R7000 running BS DD-WRT build 26446 (home)
I believe you have to set static IPs to get hostnames. That is what I use and it works. If an unknown machine is connected to my network, I also see only mac address.
Yes, in my home all of my PCS are with static ip addresses. , only the smarthphones are with DHCP. Maybe its this version of bwmon, or my script is bad configured.
Also, i've changed the bwmon folder location, 'cause if my router is rebooted the /tmp folder gets cleaned.. so I've moved it to /tmp/mnt/sda1 that points to my pendrive. _________________ Linksys WRT54GL v1.1 --- (r14929-std)-RETIRED
Linksys EA2700 v1 --- (r29409)
TP-Link WR841N v9.3 --- (r27506)
TP-Link WDR4300 v1.7 --- (r26622)
Great script. I may have misunderstood it's use or found a bug. I was streaming a video from my set top box to my laptop. The laptop is connected to the router by WiFi and the set-top box is connected to the router via Ethernet. No download rate was displayed in the script, but if I look at at the status->bandwidth page I can see the traffic
Just DDWRT'ed my R7000 and immediately went to work on this.
So confusing because im not a linux guy but managed to get things running - but i ran into a bunch of errors along the way.
1. i cant seem to mount my usb to jffs - i dont understand what i should be putting into the 'Mount this Partition to /jffs' section of ddwrt. I assumed it was the actual path of the usb which was listed as '/dev/sda5 mounted to /tmp/mnt/sda5' so i put '/tmp/mnt/sda5'.
2. despite doing the above i couldnt locate 'bwmon.tar.gz' so i did 'cd /tmp/mnt/sda5' and found 'bwmon.tar.gz'. I simply just executed the following from there.
root@R7000:~# cd /jffs
root@R7000:/jffs# ls -a
. ..
root@R7000:/jffs# cd /tmp/mnt/sda5
root@R7000:/tmp/mnt/sda5# ls -a
. System Volume Information
.. bwmon.tar.gz
root@R7000:/tmp/mnt/sda5# tar -xzvf bwmon.tar.gz
bwmon/
bwmon/backup.sh
bwmon/bwmon-autobackup.sh
bwmon/bwmon-running.sh
bwmon/bwmon.sh
bwmon/clean.sh
bwmon/install.sh
bwmon/lighttpd-running.sh
bwmon/start.sh
bwmon/startup.sh
bwmon/stop.sh
bwmon/www/
bwmon/www/angular.min.js
bwmon/www/arrow-left.png
bwmon/www/bootstrap.min.css
bwmon/www/bwmon.css
bwmon/www/bwmon.html
bwmon/www/bwmon.js
bwmon/www/bwreader.php
bwmon/www/mac-names.js
bwmon/www/ui-bootstrap-tpls.min.js
root@R7000:/tmp/mnt/sda5# cd /tmp/mnt/sda5/bwmon/ && sh install.sh
Installation completed.
Type /tmp/mnt/sda5/bwmon/startup.sh to start the script
You can visit the stats page by navigating to http://routerip/user/bwmon.html
root@R7000:/tmp/mnt/sda5/bwmon# /tmp/mnt/sda5/bwmon/startup.sh
killall: bwmon-running.sh: no process killed
killall: bwmon-autobackup.sh: no process killed
killall: bwmon.sh: no process killed
killall: sleep: no process killed
cp: can't stat '/tmp/www/usage.js': No such file or directory
backup completed
rm: can't remove 'angular.min.js': No such file or directory
rm: can't remove 'arrow-left.png': No such file or directory
rm: can't remove 'bootstrap.min.css': No such file or directory
rm: can't remove 'bwmon.css': No such file or directory
rm: can't remove 'bwmon.html': No such file or directory
rm: can't remove 'bwmon.js': No such file or directory
rm: can't remove 'bwreader.php': No such file or directory
rm: can't remove 'mac-names.js': No such file or directory
rm: can't remove 'ui-bootstrap-tpls.min.js': No such file or directory
rm: can't remove 'dnsmasq-conf.js': No such file or directory
rm: can't remove 'dnsmasq-leases.js': No such file or directory
bandwidth monitor shutdown completed
bandwidth monitor started use /tmp/mnt/sda5/bwmon/bwmon-stop.sh to stop
root@R7000:/tmp/mnt/sda5/bwmon# bandwidth monitor autobackup started use /tmp/mn t/sda5/bwmon/stop.sh to stop
bandwidth monitor started with cycle time of 10 use /tmp/mnt/sda5/bwmon/stop.sh to stop
cat: can't open '/tmp/in_2430.tmp': No such file or directory
cat: can't open '/tmp/out_2430.tmp': No such file or directory
sh: 0: unknown operand
cat: can't open '/tmp/in_2430.tmp': No such file or directory
cat: can't open '/tmp/out_2430.tmp': No such file or directory
sh: 0: unknown operand
appreciate if any gurus can confirm if i should be worried about the above. As per below - it all seems to be working fine =]
Can we please be clear what the automount path needs to be? I have the "jffs" partition mapped to /tmp/mnt/sda1 in dd-wrt, but after saving and applying (with my ext4-formatted USB plugged), I cannot even copy a file to jffs as it's readonly, apparently.
Also, the wget does not work - I get the following error:
wget: error getting response: Address family not supported by protocol
All I want to do is find out where all my internet usage is, and this is sooo complicated. Please help!
Netgear R7000 (AC1900) with DD-WRT v3.0-r31205M kongac (02/03/17)
Can we please be clear what the automount path needs to be? I have the "jffs" partition mapped to /tmp/mnt/sda1 in dd-wrt, but after saving and applying (with my ext4-formatted USB plugged), I cannot even copy a file to jffs as it's readonly, apparently.
Also, the wget does not work - I get the following error:
wget: error getting response: Address family not supported by protocol
All I want to do is find out where all my internet usage is, and this is sooo complicated. Please help!
Netgear R7000 (AC1900) with DD-WRT v3.0-r31205M kongac (02/03/17)
Simon
Hi, just apply this config and you'll get it.
In my case, this tplink wdr4300 where i've it mounted the thumbdrive with NTFS, its working great the latest version of bwmon 1.9, just download the .tar.gz from github, unrar, put the bwmon folder inside the formatted thumbdrive, configure as below, and thats all.