root@DD-WRT:~# ls -a
. .. .ssh
root@DD-WRT:~# cd tmp
-sh: cd: can't cd to tmp
root@DD-WRT:~# cd /tmp
root@DD-WRT:/tmp# ls -a
_(it shows bwmon folder on the list)_
root@DD-WRT:/tmp# cd bwmon
root@DD-WRT:/tmp/bwmon# ls -a
. ..
root@DD-WRT:/tmp/bwmon# cd ..
root@DD-WRT:/tmp# wget https://github.com/vortex-5/ddwrt-bwmon/releases/download/1.6.2/bwmon.tar.gz
Connecting to github.com (192.30.252.128:443)
root@DD-WRT:/tmp# tar -xzvf bwmon.tar.gz
root@DD-WRT:/tmp# cd bwmon
root@DD-WRT:/tmp/bwmon# ls -a
. ..
root@DD-WRT:/tmp/bwmon# cd ..
root@DD-WRT:/tmp# ls -a
_(no extracted files seen on this list)_
root@DD-WRT:/tmp#
may be this command:
**tar -xzvf bwmon.tar.gz** doesn't create a bwmon folder or this files doesn't extract at all
I can't seem find the answer also on google, what I can think about is the command line doesn't extract or maybe something wrong in my commands in putty.
my router is Linksys E1200 v2 DD-WRT (K3)
I am really new into this things, I need help. Thanks.
root@DD-WRT:/tmp/bwmon# ls -a
. ..
root@DD-WRT:/tmp/bwmon# cd ..
By issuing "cd .." you went back to /tmp folder. I believe you want bwmon to be extracted in your /tmp/bwmon directory rather that in /tmp, so you should not do the "cd .." part.
Check that bwmon.tar.gz exists in your folder. It is not clear to me whether the download was successful. _________________ Netgear R7000 running BS DD-WRT build 26446 (home)
root@DD-WRT:/tmp/bwmon# ls -a
. ..
root@DD-WRT:/tmp/bwmon# cd ..
By issuing "cd .." you went back to /tmp folder. I believe you want bwmon to be extracted in your /tmp/bwmon directory rather that in /tmp, so you should not do the "cd .." part.
What I did here is just to test it if the files are there.
Using ls -a command to check if it will show some list of files but nothing was there.
And commanding cd.. to return to original folder (as original path in the instruction of vortex-5 in Github)
Check that bwmon.tar.gz exists in your folder. It is not clear to me whether the download was successful.
Thanks for the information, maybe it is not yet successfully downloaded.
Question if I downloaded it manually on my pc, what command should I use to copy it inside my router? (Well its just a newbie question, I can google it later this is just to help others who are new into this)
That is highly dependent on your OS.
I use Linux and scp to copy files around.
For Windows, there is WinSCP.
You have to have SSH access enabled on your router. _________________ Netgear R7000 running BS DD-WRT build 26446 (home)
I was wondering if you can help me. I have a TP-Link WR103ND Router running DD-WRT. I have installed BWMON by downloading the zip from github, placing it on a USB and using command /jffs/bwmon/ && sh install.sh in commands on DD-WRT's web UI. My issue is when I go to http://192.168.0.14/user/bwmon.html there are no devices? Does it need further configuration? Is it a setting in the router? Am I meant to manually enter the names in 'mac-names.js'?
as long as the file is extracted mounted to jffs/bwmon and the the files can be set to executable (by executing install.sh)
you should not require further configuration it should start showing you logging data.
In terms of executable it has to be executable on a posix system meaning the usb drive must be formatted to EXT3 EXT4 or NTFS version 3 or above (Windows 7 and later).
as long as the file is extracted mounted to jffs/bwmon and the the files can be set to executable (by executing install.sh)
you should not require further configuration it should start showing you logging data.
In terms of executable it has to be executable on a posix system meaning the usb drive must be formatted to EXT3 EXT4 or NTFS version 3 or above (Windows 7 and later).
Thanks for the reply
The drive is formatted to NTFS using EaseUS on Windows 10. Yes the file is extracted on jffs/bwmon and can be executed. What could the issue be?
You may have to look at the console messages if you are running lighttpd ensure that routerip/bwreader.php is accessable.
if you are not running php ensure that routerip/user/dnsmasq-leases.js and routerip/user/dnsmasq-conf.js and routerip/user/usage-stats.js are accessable
Note that devices with zero usage will not appear by design.
if you are not running php ensure that routerip/user/dnsmasq-leases.js and routerip/user/dnsmasq-conf.js and routerip/user/usage-stats.js are accessable
Note that devices with zero usage will not appear by design.
Devices not passing through the WAN port.
All three of them files are accessible.
Also my DD-WRT router is connected to the main modem lan to lan, not wan?
If you are connected to the modem lan to lan then no tracking can occur.
The router's firewall is not hooked up to the internal switch in most routers the firewall is used to count packets passing through it which is how this and other tools obtain the traffic metrics.
If you wish to have tracking you will have to connect the internet to the wan port on the router.
The correct configuration is modem is connected via wan.
Do you see any content in your routerip/user/usage-stats.js and routerip/user/usage.js?