JackMerlin/USBAccelerator

Unable to install on RT-AC68U running Asus Merlin 384.19

Thomasphoenix opened this issue · 4 comments

Im pasting the log from the ssh session.

ASUSWRT-Merlin RT-AC68U 384.19_0 Fri Aug 14 19:17:44 UTC 2020
admin@Dark-Knight3:/tmp/home/root# /usr/sbin/wget --tries=3 --timeout=3 --no-che
ck-certificate -O "/tmp/usbaccelerator.sh" "https://raw.githubusercontent.com/Ja
ckMerlin/USBAccelerator/master/usbaccelerator.sh" && chmod 755 /tmp/usbaccelerat
or.sh && sh /tmp/usbaccelerator.sh --github --shellui
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2020-11-01 22:08:31-- https://raw.githubusercontent.com/JackMerlin/USBAccelerator/master/usbaccelerator.sh
Resolving raw.githubusercontent.com... 151.101.0.133, 151.101.192.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 126877 (124K) [text/plain]
Saving to: '/tmp/usbaccelerator.sh'

/tmp/usbaccelerator 100%[===================>] 123.90K --.-KB/s in 0.09s

2020-11-01 22:08:33 (1.35 MB/s) - '/tmp/usbaccelerator.sh' saved [126877/126877]
_____________
Hello, I am Iso, I am a android of USB Accelerator, and I'm here to
help you and serve you whatever you need and you can count on me!

Like most programs, you need to understand and agree to all the
following terms if you want to use.

Hello there @Thomasphoenix

Resolving raw.githubusercontent.com... 151.101.0.133, 151.101.192.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 126877 (124K) [text/plain]
Saving to: '/tmp/usbaccelerator.sh'
/tmp/usbaccelerator 100%[===================>] 123.90K --.-KB/s in 0.09s
2020-11-01 22:08:33 (1.35 MB/s) - '/tmp/usbaccelerator.sh' saved [126877/126877]

It looks like you have successfully downloaded.

Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.

It seems that there is no problem, it is just an HSTS error. I think this may be caused by HSTS enabled on GitHub, but if you can successfully install after multiple retries, I think it’s not a problem. Because any connection established with GitHub or GitLab after installation will use certificate-verified HTTPS, of course, provided that your firmware contains a usable root certificate.

If there are still errors, you can try to install from GitHub using curl. This can solve some problems, but please note that this only applies to Merlin firmware. For general users, only wget is recommended for the first installation, because the wget can work both on Stock and Merlin firmware.

Install via curl

/usr/sbin/curl --retry 3 --connect-timeout 3 "https://raw.githubusercontent.com/JackMerlin/USBAccelerator/master/usbaccelerator.sh" -o "/tmp/usbaccelerator.sh" && chmod 755 /tmp/usbaccelerator.sh && sh /tmp/usbaccelerator.sh --github --shellui

Hope these can help you.
Jack

Hi, I’m on the latest Merlin , I will try through curl and report back . Thank you so much for your assistance.

You're welcome, I'm glad you have successfully installed it.

No errors with curl, However icons are not working.

Try using the code below, it should automatically fix the icon issue, if it doesn’t work, please try to clear your browser cache.

if [ ! -f "/jffs/addons/usbaccelerator/usbstatus.png" ]; then echo "NOT FOUND ICON, Try to reinstall, please wait a moment."; sh /jffs/addons/usbaccelerator/usbaccelerator.sh --reinstall; echo "EXIT CODE:$?"; else echo "Found the icon, try restart the USB Accelerator"; sh /jffs/addons/usbaccelerator/usbaccelerator.sh -f -d; sh /jffs/addons/usbaccelerator/usbaccelerator.sh -f -e; echo "EXIT CODE:$?"; fi

If the code says "NOT FOUND ICON", please share the exit code.

edit:
I closed this issue, if your problem is not solved, please reopen this issue.