The latest YAMon installer script should be downloaded here.
Al wrote:
If you want to get YAMon but are intimidated by the notion of `flashing` your router yourself (i.e., replacing the stock firmware with DD-WRT), checkout the `Can I get a router with DD-WRT pre-installed?` help topic at the YAMon web site.
If you are not already familiar with YAMon, it gives you the ability to monitor which devices are connecting to your network and how much data they are consuming, when. You can organize devices into arbitrary logical groupings (e.g., by device function (streaming devices printers, etc.) or by device owner (family members, roommates, visitors, etc). YAMon also helps to manage the data usage cap imposed by your ISP.
To run YAMon, you will require :
a router configured to run one of the *WRT variants - e.g., DD-WRT, OpenWRT, Asus Merlin, LEDE, and Shibby Tomato as well.
either a USB drive attached directly to you router or another network accessible storage device (I strongly recommend that you format it as `ext4`)
WinSCP and PuTTY (or equivalent) to copy files and execute commands on your router
Notepad++ (or equivalent) to edit the config files (if necessary)
1. install.sh installs yamon3.0.15.sh and includes h2m.sh & organize.sh. It also better sets initial default folder permissions. 2. yamon3.0.15.sh also sets folder permissions and improves behaviour relating to (frequently) changing IP addresses
Dave??? _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
tmp/www has bad shortcuts to yamon3.html, css, and js.
The rest of the files appear to be ok. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Rebooted the router, symlink is enabled and tmp/www is empty. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
_________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
I had the same issue. I took a closer look at this and the problem is with the symlink it self. You are still including the set up directory in the symlink call, even though we'eve done away with it
I'm running both simultaneously so my directory looks like this.
Code:
lrwxrwxrwx 1 root root 25 Jan 25 00:12 css -> /opt/YAMon2/Setup/www/css/
lrwxrwxrwx 1 root root 17 Jan 25 00:12 data -> /opt/YAMon2/data//
lrwxrwxrwx 1 root root 17 Jan 25 14:06 data3 -> /opt/YAMon3/data//
lrwxrwxrwx 1 root root 28 Jan 25 00:12 images -> /opt/YAMon2/Setup/www/images/
lrwxrwxrwx 1 root root 24 Jan 25 00:12 js -> /opt/YAMon2/Setup/www/js/
lrwxrwxrwx 1 root root 35 Jan 25 00:12 yamon2.2.html -> /opt/YAMon2/Setup/www/yamon2.2.html
lrwxrwxrwx 1 root root 33 Jan 25 00:12 yamon2.html -> /opt/YAMon2/Setup/www/yamon2.html
lrwxrwxrwx 1 root root 33 Jan 25 14:06 yamon3.html -> /opt/YAMon3/Setup/www/yamon3.html
On the Daily usage tab, the drop down list 6 groups and 17 devices.
In the actual display I only see 4 groups and 12 devices. Even explicitly selecting one of these 'hidden' groups from the drop down is not enough to get them to display.
YAMon2 dipslays 4 groups and 12 devices in the same area, so perhaps it's IPv6 related. I'll check make sure I have all the toggles set correctly.
[Edit]
So when I did a browser refresh of YAMon3, it went back to 4-12, but when I let it run for a bit it goes back to 6-17. A browser refresh get's back to 4-12 again.
Last edited by VTecheira on Tue Jan 26, 2016 6:07; edited 1 time in total
Argh, didn't catch that. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Running in R7000, i have errors running YAMon, also there is folder /opt/YAMon3/Setup/ - created during download/setup
Code:
YAMon Version:: 3.0.1
******************************************************************
10:30:06 2
**********************************************************
* YAMon 3.0.1 was started
**********************************************************
cp: can't stat '/opt/YAMon3/Setup/www/*': No such file or directory
10:30:06 2 !!! Copy from /opt/YAMon3/Setup/www/* to /tmp/www/ failed (1)
10:30:06 1 >>> Copy from /opt/YAMon3/data/* to /tmp/www/data3 successful (0)
******************************************************************
*** `yamon3.0.1.sh` has been started
******************************************************************
To stop the script:
* run `shutdown.sh` [*RECOMMENDED*]
e.g., `/opt/YAMon3/shutdown.sh`
* or delete the `/tmp/YAMon3-running` directory
e.g., `rmdir /tmp/YAMon3-running`
10:30:06 99 YAMon was started at 10:30:06
10:30:06 1 >>> Delaying 24s to align updates
10:30:30 1 >>> Starting main loop
./yamon3.0.1.sh: line 1039: arithmetic syntax error
./yamon3.0.1.sh: line 1039: arithmetic syntax error
Posted: Tue Jan 26, 2016 14:14 Post subject: Re: Yamon data not getting generated post YAMon3
kramanonline wrote:
Hi,
Post upgrade of YAMon3, the data is not getting generated.. What did I miss
I had YAMon2 working earlier.
Thanks
KR
Can you provide some more details?
Did you confirm that Y3 is running?
Did you look to see if the data folder is being created?
Is your users.js populated?
Are your file permission set correctly?
Are the sym links to the data folder set correctly?
Did you try starting and stopping Y3?
What error messages, if any, are in the logs?
Did you review you config.file to make sure the settings are correct?
Getting this:
ReferenceError: _unlimited_start is not defined
util2.3.js:224:3
Constant "updating data storage format" on web page
Startup would not create js symlink so I added symlinks to top of startup script just to get it going. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
Joined: 28 Jun 2011 Posts: 580 Location: Vilnius, Lithuania
Posted: Tue Jan 26, 2016 20:07 Post subject:
Hi, I have some trouble with install script. Something to do with "curl" command. Router tp-link 842 v2. Details in sig. Thanks
Quote:
Installing YAMon...
/tmp/install.sh: line 66: curl: not found
/tmp/install.sh: line 86: curl: not found
/tmp/install.sh: source: line 87: can't open '/opt/YAMon3/includes/getlatest.sh'
P.S. maybe there is "oldschool" distribution of v 3 to do install manually? _________________ [Ramips] Nexx WT3020F Openwrt @kernel #4.14.167 (OpenVPN server, Wireguard server, AD blocking, SQM QOS, USB)
Last edited by h8red on Tue Jan 26, 2016 21:58; edited 1 time in total