Eject the disk and test it in a laptop. Or eject the disk, boot the router, plug the disk back in and if it's recognized, try to run the disktest from there.
Eject the disk and test it in a laptop. Or eject the disk, boot the router, plug the disk back in and if it's recognized, try to run the disktest from there.
is there any script that could check if new amtm (entware + scripts are available) every day at night and automatically update all to the newest version.
amtm work very well - this is exactly functionality I was missing and stay with tomato for long time.
thx to all devs working on amtm and scripts - great job.
This firmware version includes amtm, so all you’d have to do is enter amtm into the terminal and it will initialize itself. No install command is needed. To differentiate the two functionally equal versions, the firmware version adds FW to the amtm version number in its UI.
As the two cannot live side by side, it has built in checks and does its magick automatically if one would run the install command from the Diversion website. It surely did it on your router.
I have just run the "curl...." command, and all went ok after
specially liked the "ls" led scheduler function >> it should be included in router's GUI menu
prefer older, tried and reliable versions, 386.2 is too new for my everyday use
Everyone it's own preference of course, but we've got a whole crowd cheering about the 386 branch over here and running older builds also means that you take a certain risk with security issues that have been found but not fixed in olders builds... Before a firmware build goes stable it has been through alpha and beta stages and it's not going to stable until it's ready for it.
is there any script that could check if new amtm (entware + scripts are available) every day at night and automatically update all to the newest version.
amtm work very well - this is exactly functionality I was missing and stay with tomato for long time.
thx to all devs working on amtm and scripts - great job.
As @L&LD pointed out, I don't like any script that automatically updates things without my consent. Just never know when someone has something special set up that an upgrade will muck up.
That said, I call this script daily at 10 am via a cron job. The script checks for entware/3rd party scripts and sends me an email if any exist. The mailer is another custom script that I use to email/text me when a variety to things happen (script updates, WAN events, UPS events, No comms to AP's, etc.).
The portions of the code commented out was to check for CAKE updates when using 386.1 and prior. Since CAKE is now part of 386.2, I can't update it anyway myself. I'll likely end up removing it altogether once I am sure I will stay with the 386.2 firmware.
Code:
#!/bin/sh
readonly SCRIPT_NAME="cake-qos"
readonly SCRIPT_BRANCH="master"
readonly SCRIPT_REMOTEDIR="https://raw.githubusercontent.com/ttgapers/cakeqos-merlin/${SCRIPT_BRANCH}"
readonly MAILFILE="/tmp/update_file.txt"
readonly AMTMCHECKFILE="/tmp/amtm-tpu-check"
if [ -f $AMTMCHECKFILE ]; then rm $AMTMCHECKFILE; fi
amtm tpu
# VERSION_REMOTE_MANIFEST=$(/usr/sbin/curl -fsL --retry 3 --connect-timeout 3 "${SCRIPT_REMOTEDIR}/versions.txt")
# if [ -n "$VERSION_REMOTE_MANIFEST" ]; then
# VERSION_LOCAL_CAKE=$(opkg list_installed | grep "^sched-cake-oot - " | awk -F " - " '{print $2}' | cut -d- -f-4)
# VERSION_LOCAL_TC=$(opkg list_installed | grep "^tc-adv - " | awk -F " - " '{print $2}')
# VERSION_REMOTE_CAKE=$(echo "$VERSION_REMOTE_MANIFEST" | awk -F "|" '{print $1}')
# VERSION_REMOTE_TC=$(echo "$VERSION_REMOTE_MANIFEST" | awk -F "|" '{print $2}')
# MD5_LOCAL_SCRIPT="$(md5sum "/opt/bin/cake-qos" | awk '{print $1}')"
# MD5_REMOTE_SCRIPT="$(/usr/sbin/curl -fsL --retry 3 ${SCRIPT_REMOTEDIR}/${SCRIPT_NAME}.sh | md5sum | awk '{print $1}')"
# if [ "$VERSION_LOCAL_CAKE" != "$VERSION_REMOTE_CAKE" ] || [ ! -f "/opt/lib/modules/sch_cake.ko" ] || [ "$VERSION_LOCAL_TC" != "$VERSION_REMOTE_TC" ] || [ ! -f "/opt/sbin/tc" ] || [ "$MD5_LOCAL_SCRIPT" != "$MD5_REMOTE_SCRIPT" ]; then
# UPDATE="Yes" # 0
# else
# UPDATE="No" # 1
# fi
#else
# UPDATE="No" # 1
#fi
UPDATE="No"
if [ -f $AMTMCHECKFILE ] || [ "$UPDATE" = "Yes" ]; then
echo "The following updates have been reported by AMTM/Cake-QoS" > $MAILFILE
echo "" >> $MAILFILE
if [ -f $AMTMCHECKFILE ]; then
cat $AMTMCHECKFILE >> $MAILFILE
fi
if [ "$UPDATE" = "Yes" ]; then
echo "Updates to Cake-QoS are available" >> $MAILFILE
fi
echo "" >> $MAILFILE
echo "Check for updates done on $(date -R)" >> $MAILFILE
if [ -f $AMTMCHECKFILE ]; then rm $AMTMCHECKFILE; fi
/jffs/addons/young/smail.sh $MAILFILE "AMTM: Script Updates are available"
fi
The mailer is another custom script that I use to email/text me when a variety to things happen (script updates, WAN events, UPS events, No comms to AP's, etc.).
Here you go. Nothing special. I created a gmail account just for the router and set up an application password for the account. The certificate file I also downloaded from Google.
If I call the script without an address (recipients), the script just uses my default email address. Sometimes when I want a text as well as an email, I have the option of passing a recipient list.
Everything working ok on my RT-AX88U Mesh system. But running the "U" command on AMTM, get this following error message....
"Collected errors: * pkg_get_installed_files: Failed to open //opt/lib/opkg/info/dejavu-fonts-ttf-DejaVuSerif-Italic.list: Input/output error."
Checking forum, nothing conclusive to me to resolve, other then appears related to Entware package? My actions to resolve so far...Update on Entware runs clean, powered Router off/on. Ideas to resolve greatly appreciated! Thks.
Everything working ok on my RT-AX88U Mesh system. But running the "U" command on AMTM, get this following error message....
"Collected errors: * pkg_get_installed_files: Failed to open //opt/lib/opkg/info/dejavu-fonts-ttf-DejaVuSerif-Italic.list: Input/output error."
Checking forum, nothing conclusive to me to resolve, other then appears related to Entware package? My actions to resolve so far...Update on Entware runs clean, powered Router off/on. Ideas to resolve greatly appreciated! Thks.