When installing YAMon 3.4.6 the "install.sh" wants to call "setup.sh" but the file is still called "setup3.4.6.sh". I tweaked it and it installed but even with SFE off it's not tracking the data. Is it Ok that there's a lot of YAMon entries in iptable?
EDIT: Also, if I do a clean install the config file wants to store data in "data3" & "live_data3.js" but the default says "data" & "live_data.js".
EDIT2: With a clean install it tries to load the data from the start of the month (for me it's 5), saying:
Quote:
Please check paths to ensure that the file exists: data/2019-01-05-mac_data.js
But the file doesn't exist and it seems to refuse to continue.
The install & setup scripts create a number of symlinks (and it sounds like yours did not get formed properly).
The install script should create a symlink called setup.sh that points to the latest version of the setup script (currently 3.4.6)
I've just made a minor tweaks in both setup3.4.6.sh and /includes/util3.4.6.sh... both were small so I did not bump the minor version.
In setup3.4.6.sh, I (finally) noticed a missing ! in the line that checks to see if NTP is enabled. Oops!
In /includes/util3.4.6.sh, I made a minor change to the way that the symlinks in /tmp/www are created.
I also had the problem with the reversed entries in the "users.js". Also, for some reason on a clean install when it creates the router.js it complains that the www/js directory doesn't exist but if I create it the install continues fine.
I also had the problem with the reversed entries in the "users.js". Also, for some reason on a clean install when it creates the router.js it complains that the www/js directory doesn't exist but if I create it the install continues fine.
I just went through clean installs (both basic and advanced) and did not see any errors. Can you send your setup logs to questions@usage-monitoring.com?
I still don't understand why it keeps creating a "data3" directory. Also the cannot create the "/mnt/sda_part1/YAMon3/www/js" directory error showed on the screen but not in the log.
In the other log it says:
Quote:
10:49:13 2 recreated /mnt/sda_part1/YAMon3/www/js/router.js
10:49:13 1 Path found OK for /www/user --> no link needed
For some historic reason, I change the name of the symlink in /tmp/www... I don't exactly recall why but it likely has to do with me running v2 concurrently with v3 while I was developing & testing the new version. Other than being odd, the name has no impact upon performance.
whitebeard wrote:
Also the cannot create the "/mnt/sda_part1/YAMon3/www/js" directory error showed on the screen but not in the log.
In the other log it says:
Quote:
10:49:13 2 recreated /mnt/sda_part1/YAMon3/www/js/router.js
10:49:13 1 Path found OK for /www/user --> no link needed
10:49:25 2 >>> config3.4.js not found... creating new file: /mnt/sda_part1/YAMon3/www/js/config3.4.js
[But it's not there]
RE: the js folder, what is the error on the screen? Does that folder exist? Is there a permissions issue in the parent folder?
Clearly, if the directory could not be created, then files can't get created either.
Posted: Wed Jan 23, 2019 18:47 Post subject: Clean Install?
I'm new, so forgive me...
I'm running DD-WRT v3.0-r38100M kongac ( 12/27/18 ) on an R8000 and seem to have run out of ideas.
I have 62 devices populated and have updated the names as they differ to the users.js file, but all my data is showing as No match MAC in the devices tab and live data.
I tried deleting my YAMon3 folder within /opt and running the install.sh again, but nothing seems to have changed. I updated the 2 new files that were released today, but still nothing.
I've read that bridges could be a problem, My set up has the one router and a number of switches, but no additional bridges per se - my dd-wrt configurations is such that the LAN bridge is set up as br0, I have upnp and sfe disabled, but I just can't figure it out.
You'll see the firmware on my router is new, but is there something else I am missing?
thanks
Last edited by spherular on Fri Jan 25, 2019 2:36; edited 1 time in total
Posted: Wed Jan 23, 2019 20:13 Post subject: Re: Clean Install?
spherular wrote:
I'm new, so forgive me...
I'm running DD-WRT v3.0-r38100M kongac ( 12/27/18 ) on an R8000 and seem to have run out of ideas.
I have 62 devices populated and have updated the names as they differs to the users.js file, but all my data is showing as No match MAC in the devices tab and live data.
I tried deleting my YAMon3 folder within /opt and running the install.sh again, but nothing seems to have changed. I updated the 2 new files that were released today, but still nothing.
I've read that bridges could be a problem, My set up has the one router and a number of switches, but no additional bridges per se - my dd-wrt configurations is such that the LAN bridge is set up as br0, I have upnp and sfe disabled, but I just can't figure it out.
You'll see the firmware on my router is new, but is there something else I am missing?
thanks
To follow up on this I tried flushing all my IP tables to see if that made a difference.
I also see the following in my logs. This repeats every 5 seconds for different IP addresses (in the no matching entry) but the same MAC - this MAC is identified as my WAN as the IP in devices is shown as my external public IP. I tried deleting my users.js file, but it just does the same again.
/mnt/sda_part1/YAMon3/yamon3.4.6.sh: line 1: can't create /mnt/sda_part1/YAMon3/www/js/config3.4.js: nonexistent directory
Otherwise all the other files are being written to and the permissions are all "rwxr-xr-x" and the owner is root everywhere and "whoami" says root.
Anyway, if I create the "js" directory and re-run the install all's ok except for the strange users.js.
RE: the js directory... Hmmm?!? Not sure what is going on there. I cannot replicate the issue here.
RE: strange users.js... I have no clue why the IP and device names are getting reversed. It could be a coding error (but then I'd expect to see it here or have more reports of it). It could also be an `issue` that's been introduced in a recent firmware update.
Bottom line - without a log, I cannot begin to guess what is going on. can you (and anyone else who is seeing this) please set loglevel=-1 and let things run for an hour or so and then send me the log?
Posted: Thu Jan 24, 2019 16:56 Post subject: Re: Clean Install?
spherular wrote:
I'm new, so forgive me...
I'm running DD-WRT v3.0-r38100M kongac ( 12/27/18 ) on an R8000 and seem to have run out of ideas.
I have 62 devices populated and have updated the names as they differs to the users.js file, but all my data is showing as No match MAC in the devices tab and live data.
I tried deleting my YAMon3 folder within /opt and running the install.sh again, but nothing seems to have changed. I updated the 2 new files that were released today, but still nothing.
I've read that bridges could be a problem, My set up has the one router and a number of switches, but no additional bridges per se - my dd-wrt configurations is such that the LAN bridge is set up as br0, I have upnp and sfe disabled, but I just can't figure it out.
You'll see the firmware on my router is new, but is there something else I am missing?
thanks
spherular - welcome on board. Sorry for the grief.
See my comments just above about sending a log file... that should help me understand what is going on/wrong.
Posted: Thu Jan 24, 2019 18:26 Post subject: Re: Clean Install?
al_c wrote:
spherular wrote:
I'm new, so forgive me...
I'm running DD-WRT v3.0-r38100M kongac ( 12/27/18 ) on an R8000 and seem to have run out of ideas.
I have 62 devices populated and have updated the names as they differs to the users.js file, but all my data is showing as No match MAC in the devices tab and live data.
I tried deleting my YAMon3 folder within /opt and running the install.sh again, but nothing seems to have changed. I updated the 2 new files that were released today, but still nothing.
I've read that bridges could be a problem, My set up has the one router and a number of switches, but no additional bridges per se - my dd-wrt configurations is such that the LAN bridge is set up as br0, I have upnp and sfe disabled, but I just can't figure it out.
You'll see the firmware on my router is new, but is there something else I am missing?
thanks
spherular - welcome on board. Sorry for the grief.
See my comments just above about sending a log file... that should help me understand what is going on/wrong.
Al
Thanks Al, just sent you some screen shots and today's log file so far - just the 9mb compressed!
I stopped yamon, used compare to sync the files and restarted. It tweaked the users.js like Whitebeard's so I corrected the js file, reverted to 3.4.5 and started again.
I'll stay out of this and let you and Whitebeard work it out. _________________ 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