Look like AL forget something like make a Setup folder just make that folder and move all root files in to the Setup folder and do same with includes, strings and www folder.
Joined: 28 Jun 2011 Posts: 580 Location: Vilnius, Lithuania
Posted: Wed Jan 27, 2016 18:26 Post subject:
shspvr wrote:
Look like AL forget something like make a Setup folder just make that folder and move all root files in to the Setup folder and do same with includes, strings and www folder.
Where do I get those extra files? I can download setup.sh, yamon3.0.1.sh. What about other? I believe I should not use v2.x files? _________________ [Ramips] Nexx WT3020F Openwrt @kernel #4.14.167 (OpenVPN server, Wireguard server, AD blocking, SQM QOS, USB)
This script will guide you through the process of setting up the
basic parameters in your `config.file`.
NB - a number of the advanced (aka less commonly used) settings
are not currently addressed in this script.
If you want to use any of those features, you can edit your
`config.file` directly (without actually having to stop the
YAMon script).
*** Cannot find either config.file or default config.file...
*** Please check your installation! ***
*** Exiting the script. ***
This is what I get after running setup _________________ [Ramips] Nexx WT3020F Openwrt @kernel #4.14.167 (OpenVPN server, Wireguard server, AD blocking, SQM QOS, USB)
TypeError: $.md5 is not a function
util3.0.js:298:28 _________________ 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
Sorry! I've been tied up with my real job(s) for a couple of days... You guys have gotten way ahead of me
I got another router for testing yesterday (TP-WD1043ND?) and immediately found lots of issues in install.sh... In particular, no curl... So install.sh now checks for this & fails over to wget... Yeah!
But, it is a cut-down version of wget which does not recognise the -C and/or --no-cache options.
Does anyone know how to clear the cache within dd-wrt?
Posted: Fri Jan 29, 2016 4:52 Post subject: Updated installer
An update to the installer...
[NB - attachment removed... see first page of this thread for the installer]
Just run the installer again and it will download fresh copies of the files. It will ask if you want to run setup.sh again (which should not be necessary).
Fixes include:
- checks to see whether `curl` is installed and uses `wget` if not
[NB - for some annoying reason, wget likes to get cached versions of the downloads so it does not always get a fresh copy like it is supposed to.
- only clears the screen if the clear function is available
- creates the /opt/YAMon3/ directory if it does not exist
- downloads yamon3.0.2.sh
yamon3.0.2 includes the following fixes;
- I create /tmp/www/js if it does not exist
- the symlinks are created properly.
- now makes a local copy if _doLocalFiles is non-zero (NB - I've changed default config a bit... the suggested values for doLocalFiles are now 0 & 1. As above, I try to use curl but will fail over to wget if needed...
[NB - doLocalFiles does not yet copy the images... I'll add that shortly]
If you are running v2 & v3 in parallel, you'll have to do some playing around with parameters in config.file so that the v3 reports look at the right directory and JS files... I'll post more about that shortly...
Thanks for your feedback.
Al
Last edited by al_c on Tue Feb 02, 2016 4:02; edited 2 times in total
Gone now that the page is working.........
With the folders in /Setup
Wasn't using localfiles. _________________ 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
Last edited by ddaniel51 on Fri Jan 29, 2016 7:37; edited 1 time in total
******************************************************************
***
*** Please wait for the message indicating that the script
*** has stopped... this may take up to 30 seconds
***
******************************************************************
cat: can't open '/tmp/yamonsetup.txt': No such file or directory
rm: can't remove '/tmp/yamonsetup.txt': No such file or directory
chmod: /opt/YAMon3/setup.sh: No such file or directory
/opt/install.sh: source: line 99: can't open '/opt/YAMon3/includes/getlatest.sh'
root@R7000_2:~# cd /opt
root@R7000_2:/opt# /opt/install.sh
**************************************
Welcome to the YAMon3.0 installer
cat: can't open '/tmp/yamonsetup.txt': No such file or directory
rm: can't remove '/tmp/yamonsetup.txt': No such file or directory
chmod: /opt/YAMon3/setup.sh: No such file or directory
/opt/install.sh: source: line 99: can't open '/opt/YAMon3/includes/getlatest.sh'
root@R7000_2:/opt# /opt/install.sh
**************************************
Welcome to the YAMon3.0 installer
cat: can't open '/tmp/yamonsetup.txt': No such file or directory
rm: can't remove '/tmp/yamonsetup.txt': No such file or directory
chmod: /opt/YAMon3/setup.sh: No such file or directory
/opt/install.sh: source: line 99: can't open '/opt/YAMon3/includes/getlatest.sh'
root@R7000_2:/opt# _________________ 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
cat: can't open '/tmp/yamonsetup.txt': No such file or directory
rm: can't remove '/tmp/yamonsetup.txt': No such file or directory
Then Running YAMon3
**********************************************************
* YAMon 3.0.2 was started
**********************************************************
cp: can't stat '/opt/YAMon3/Setup/www/*': No such file or directory
18:18:01 2 !!! Copy from /opt/YAMon3/Setup/www/* to /tmp/www/ failed (1)
18:18:01 1 >>> Copy from /opt/YAMon3/data/* to /tmp/www/data3 successful (0)
******************************************************************
*** `yamon3.0.2.sh` has been started
******************************************************************
cat: can't open '/tmp/yamonsetup.txt': No such file or directory
rm: can't remove '/tmp/yamonsetup.txt': No such file or directory
Then Running YAMon3
**********************************************************
* YAMon 3.0.2 was started
**********************************************************
cp: can't stat '/opt/YAMon3/Setup/www/*': No such file or directory
18:18:01 2 !!! Copy from /opt/YAMon3/Setup/www/* to /tmp/www/ failed (1)
18:18:01 1 >>> Copy from /opt/YAMon3/data/* to /tmp/www/data3 successful (0)
******************************************************************
*** `yamon3.0.2.sh` has been started
******************************************************************
do you still have a reference to setup in config.file? If yes, remove it.