Confirm that it works. Thanks for experimenting and the excitement that I missed while I was asleepUpdate:
Running RT-AX88U with 384.16 Alpha 1. Just ran 'u' and amtm updated with no issues.
amtm and my own scripts it supports like the format disk, disk check and reboot scheduler along with Diversion are hosted on my own server diversion.ch here in Switzerland. Third party scripts supported by amtm are hosted on GitHub or entware.net.In China, many plugins cannot be downloaded and installed normally. Are you considering solving this problem? Thank you。
I have run "r" and "uu" more times than I can shake a stick at ... rebooted tried again ... all attempts seemingly ending successfully until I run "u" to check for updates - then get this ...
View attachment 21584
Of course the "r" option removed dc and fd scripts - and after reinstall of dc the fd option does not stick in the amtm menu but can only be seen under option "i" .
I can access Github and diversion.ch without problems - so does not seem to be a DNS issue.
Any ideas ?
OK - so here's the thing ... put a stop to unbound [option "x"] and "presto" - amtm updates ran flawlessly and quicker than ever ???
So @thelonelycoder - nothing for you to look at in your awesome script .
Github Regional Mirrors ...
if having amtm "u" or "uu" problems ... do test for connectivity issues
That is exactly what @thelonelycoder said.
The swap file was in use and could not be deleted, that was the brief flash notice. Nothing I can do about, I already built into amtm what I can do to free the memory so swap is not in use.I think there might be an issue with amtm's swap file management.
My existing swap file is 512kb. In updating skynet it warned me to increase it to 1gb minimum. So I went to amtm sw command, which offered me only the choice of deleting it. I took that choice, I had a brief flash of a message, then it reported the swap file was deleted, and then "Added missing swap file entry to /jffs/scripts/post-mount", then back to the menu, which still shows the swap file.
Then, I deleted the swap file entry from post-mount by hand, rebooted. I could not delete the swap file, which apparently was in use. But amtm could then delete the swap file correctly, and I could go recreate it in a larger size.
@Adamm and I are discussing future swap file management strategies. Until we have come to an agreement I am not going to change the swap file code any more than I already did in amtm.Then, I deleted the swap file entry from post-mount by hand, rebooted. I could not delete the swap file, which apparently was in use. But amtm could then delete the swap file correctly, and I could go recreate it in a larger size.
Something to try as a temporary work-around to increase swap file size (which worked for me):The swap file was in use and could not be deleted, that was the brief flash notice. Nothing I can do about, I already built into amtm what I can do to free the memory so swap is not in use.
A number of us had this issue. I was searching for the easy steps to resolve I saw posted, no luck. Then I came back and @visortgw (who solved it before), just posted here.I think there might be an issue with amtm's swap file management.
My existing swap file is 512kb. In updating skynet it warned me to increase it to 1gb minimum. So I went to amtm sw command, which offered me only the choice of deleting it. I took that choice, I had a brief flash of a message, then it reported the swap file was deleted, and then "Added missing swap file entry to /jffs/scripts/post-mount", then back to the menu, which still shows the swap file.
Then, I deleted the swap file entry from post-mount by hand, rebooted. I could not delete the swap file, which apparently was in use. But amtm could then delete the swap file correctly, and I could go recreate it in a larger size.
work-around to increase swap file size
/usr/sbin/curl -fsNL --retry 2 --connect-timeout 3 -m 8 https://fwupdate.asuswrt-merlin.net/amtm_fw/amtm
! using fallback server diversion.ch
curl -fsL --retry 3 --connect-timeout 3 https://ipinfo.io/AS33438
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!