What's new

YazFi YazFi Install Failing on RT-AC88U with AsusWRT-Merlin 386.7_2

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

war59312

New Around Here
Install Failing on RT-AC88U with AsusWRT-Merlin 386.7_2



Code:
will@RT-AC88U-CDF8:~# /usr/sbin/curl -fsL --retry 3 "https://jackyaz.io/YazFi/master/install/YazFi.sh" -o /jffs/scripts/YazFi && chmod 0755 /jffs/scripts/YazFi && /jffs/scripts/YazFi install



-sh: /usr/sbin/curl: not found



Code:
will@RT-AC88U-CDF8:~# curl -fsL --retry 3 "https://jackyaz.io/YazFi/master/install/YazFi.sh" -o /jffs/scripts/YazFi && chmod 0755 /jffs/scripts/YazFi && /jffs/scripts/YazFi install

will@RT-AC88U-CDF8:~# YazFi

-sh: YazFi: not found

will@RT-AC88U-CDF8:~# /jffs/scripts/YazFi

-sh: /jffs/scripts/YazFi: not found

will@RT-AC88U-CDF8:~# /jffs/scripts/YazFi

-sh: /jffs/scripts/YazFi: not found

will@RT-AC88U-CDF8:~# cd /jffs/

will@RT-AC88U-CDF8:/jffs# ls



Even this not working:



Code:
will@RT-AC88U-CDF8:/# cd jffs/

will@RT-AC88U-CDF8:/jffs# ls

will@RT-AC88U-CDF8:/jffs# mkdir test

will@RT-AC88U-CDF8:/jffs# ls



A clue:



Code:
will@RT-AC88U-CDF8:/# curl "https://jackyaz.io/YazFi/master/install/YazFi.sh" -o "/YazFi"

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

Warning: Failed to create the file /YazFi: Read-only file system



will@RT-AC88U-CDF8:/# curl --retry 3 "https://jackyaz.io/YazFi/master/install/YazFi.sh" -o /jffs/scripts/YazFi && chmod 0755 /jffs/scripts/YazFi && /jffs/scripts/YazFi install

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

Warning: Failed to create the file /jffs/scripts/YazFi: No such file or

Warning: directory



Update 1:



Router > Advanced Settings > Administration > Set "Enable JFFS custom scripts and configs" to "Yes" > Click "Apply" > Reboot



Helps if option is enabled ;)



Should hint to the user on README.md\


Update 2:

I don't keep this router connected to internet via WAN. It's behind a pfsense firewall.

So I tried to just create the .sh file and it did create the new guest network YazFi tab when I try and access it I get:

Code:
404 Not Found
File not found.

The ssh install shows:

Code:
#############################################
##                                         ##
##     __     __          ______  _        ##
##     \ \   / /         |  ____|(_)       ##
##      \ \_/ /__ _  ____| |__    _        ##
##       \   // _  ||_  /|  __|  | |       ##
##        | || (_| | / / | |     | |       ##
##        |_| \__,_|/___||_|     |_|       ##
##                                         ##
##           v4.4.2 on RT-AC88U            ##
##                                         ##
##    https://github.com/jackyaz/YazFi/    ##
##                                         ##
#############################################


Welcome to YazFi v4.4.2, a script by JackYaz


Checking your router meets the requirements for YazFi


tar: can't open '/jffs/addons/shared-jy/shared-jy.tar.gz': No such file or directory
New version of shared-jy.tar.gz downloaded


New version of YazFi_www.asp downloaded


Mounting WebUI tab for YazFi


cp: can't stat '/jffs/addons/YazFi.d/YazFi_www.asp': No such file or directory
Mounted YazFi WebUI page as user1.asp


chmod: /jffs/addons/YazFi.d/config: No such file or directory
dos2unix: can't open '/jffs/addons/YazFi.d/config': No such file or directory
You can access YazFi's configuration via the Guest Networks section of the WebUI


Alternatively, use YazFi's menu via amtm (if installed), with /jffs/scripts/YazFi or simply YazFi


Press enter to continue...


Update 3:

Got the tab working by manually creating the /jffs/addons/YazFi.d/YazFi_www.asp file and running "Check for updates".

/jffs/addons/shared-jy/shared-jy.tar.gz was also reported missing , Grabbed it from shared-jy/shared-jy.tar.gz at master · jackyaz/shared-jy (github.com)

When trying to edit config, option 3, I got:

chmod: /jffs/addons/YazFi.d/config: No such file or directory
dos2unix: can't open '/jffs/addons/YazFi.d/config': No such file or directory

So grabbed the example config and fixed it up.

Sweet, looking good now. Should disable the upgrade check if WAN disabled/not setup.

Shows up ugly when WAN disabled:

Code:
Version information    v4.4.2     Updated version available: [1m[31m404


Update 4:

All seems installed correctly but sadly no internet when connect to wifi now, despite "Allow Internet access" set to "Yes". Does NOT seem to be DNS since cant even browse to https://1.1.1.1/ .
 
Last edited:
Router > Advanced Settings > Administration > Set "Enable JFFS custom scripts and configs" to "Yes" > Click "Apply" > Reboot
Helps if option is enabled ;)
Just an FYI. It is pretty much assumed that if using any of the add-on scripts discussed in this subforum that one has to enable JFFS.

As to all your issues setting up YazFi. Perhaps remove/uninstall YazFi, reformat the JFFS through the GUI (Administration > System > Format JFFS partition at next boot - then reboot the router) and try installing it again. Normally installing YazFi is a simple straight forward process either using the manual install method or using AMTM.

Generally YazFi will not work if the router is set as an AiMesh node. It may not even work if the router is set to some other mode other than "Wireless router mode / AiMesh Router mode (Default)". For example using Access Point (AP) mode may cause problems. It may not work right if the router isn't properly connected to the upstream ISP equipment. For example not using the WAN port to connect upstream.

One has to enable and configure Guest WiFi in the router GUI in order to use YazFi.

Once YazFi is installed one has to edit the YazFi config file using either the web GUI or the CLI YazFi terminal window. Make sure that each YazFi guest network has its own unique IP address range and that they don't share that IP address range with either the main LAN or with any of the other guest networks.

In YazFi make sure to Enable (set to Yes/True) the correct YazFi Guest Network. And make sure to set YazFi's Allow Internet Access to Yes/True. Make sure to hit the Apply button at the bottom of the YazFi GUI page to save any changes.

Because you indicated you; "don't keep this router connected to internet via WAN. It's behind a pfsense firewall" perhaps you should review your network setup to ensure the Asus router isn't being partially blocked or filtered by the pFsense firewall from fully accessing the internet/WAN.
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top