What's new

Asus-Merlin 384.15: amtm won't run, just hangs

  • 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!

Still not working.

I did a
reset to factory
reformat usb drive to ntfs
reformat jffs on reboot and use for scripts and configs (and did a reboot)
enable ssh
log in with ssh and type amtm

Still hangs after I press "1" + ENTER

Only 3% of JFFS is used.

=========================================
Router1@RT-AC68P-0730:/tmp/home/root# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 33408 33408 0 100% /
devtmpfs 127732 0 127732 0% /dev
tmpfs 127836 652 127184 1% /tmp
/dev/mtdblock4 64256 1724 62532 3% /jffs
/dev/sda 15151100 66500 15084600 0% /tmp/mnt/AC68P-USB
Router1@RT-AC68P-0730:/tmp/home/root#
And remove the USB device, just for the heck of it. Use the WebUI to do that.
 
Had the same issue on AC68U dirty flashed from latest official ASUS. Hanged on theme selection, processor usage skyrocketed, and after about 10 secs I got a segmentation fault.

In my case reset to factory and jffs reformat helped though.
Also I made sure to give it ample time between making any changes in GUI and actual reboots. I have it running in Media Bridge mode, if that is a relevant data point.
 
And @wimpie post this output:
Code:
nvram get sw_mode
 
At what point is amtm hanging?
I need the full output of your ssh terminal to determine what's wrong and where.
Just run /usr/sbin/amtm
It hangs many times. First it hanged when I ran it for the first time. Then it hanged during diversion installation. It also hanged while updating the scripts. Amtm terminal never hanged for me on previous Merlin firmware (384.14) but it hangs on 384.15.
My router Asus 86U.
Edit- restarting the router fixes the issue.
 
It hangs many times. First it hanged when I ran it for the first time. Then it hanged during diversion installation. It also hanged while updating the scripts. Amtm terminal never hanged for me on previous Merlin firmware (384.14) but it hangs on 384.15.
My router Asus 86U.
That does not help, I need the output as it runs to see where.
 
Anything is possible, let's see if amtm is corrupted. Enter this, one line by one:
Code:
cd
wget https://raw.githubusercontent.com/decoderman/amtm/master/amtm_fw/amtm
cmp /home/root/amtm /usr/sbin/amtm
The last command will return nothing if the file is the same as the original.

Last command did return nothing


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ASUSWRT-Merlin RT-AC68U 384.15_0 Sat Feb 8 18:38:21 UTC 2020
Router1@RT-AC68P-0730:/tmp/home/root# cd
Router1@RT-AC68P-0730:/tmp/home/root# wget https://raw.githubusercontent.com/decoderman/amtm/master/amtm_fw/amtm
--2020-02-16 13:05:32-- https://raw.githubusercontent.com/decoderman/amtm/master/amtm_fw/amtm
Resolving raw.githubusercontent.com... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7133 (7.0K) [text/plain]
Saving to: 'amtm'

amtm 100%[=============================================>] 6.97K --.-KB/s in 0.001s

2020-02-16 13:05:38 (12.8 MB/s) - 'amtm' saved [7133/7133]

Router1@RT-AC68P-0730:/tmp/home/root# cmp /home/root/amtm /usr/sbin/amtm
Router1@RT-AC68P-0730:/tmp/home/root#
 
And @wimpie post this output:
Code:
nvram get sw_mode


BTW: USB device was removed when I tried the cmp (previous message)

++++++++++++++++++++++++++++++++++++++++++++
Router1@RT-AC68P-0730:/tmp/home/root#
Router1@RT-AC68P-0730:/tmp/home/root# nvram get sw_mode
1
Router1@RT-AC68P-0730:/tmp/home/root#
 
BTW: USB device was removed when I tried the cmp (previous message)

++++++++++++++++++++++++++++++++++++++++++++
Router1@RT-AC68P-0730:/tmp/home/root#
Router1@RT-AC68P-0730:/tmp/home/root# nvram get sw_mode
1
Router1@RT-AC68P-0730:/tmp/home/root#
Looks good, now try this. There will be a lot of output and I will only need the last hundred or so lines. But paste everything if you can, use pastebin.com if it is too large for here to paste:
Code:
sh -x /usr/sbin/amtm
 
Router1@RT-AC68P-0730:/tmp/home/root# sh -x /usr/sbin/amtm
+ add=/jffs/addons/amtm
+ amtmURL=https://fwupdate.asuswrt-merlin.net/amtm_fw
+ amtmRev=1
+ [ -f /jffs/addons/amtm/a_fw/amtm.mod ]
+ run_amtm
+ [ ! -f /jffs/addons/amtm/a_fw/amtm.mod ]
+ init_amtm
+ [ -d /jffs/addons/amtm ]
+ fmd=1
+ mkdir -p /jffs/addons/amtm/a_fw
+ [ ! -d /jffs/addons/amtm ]
+ mv /jffs/amtm-* /jffs/addons/amtm
+ mv /jffs/.amtm_* /jffs/addons/amtm
+ c_t
+ divconf=/opt/share/diversion/.conf/diversion.conf
+ [ -f /jffs/addons/amtm/.amtm_theme ]
+ [ -s /opt/share/diversion/.conf/diversion.conf ]
+ [ ]
+ theme_amtm new
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ [ -z new ]
+ printf Select a theme that works best in your\n SSH client. All colors in use are shown.\n\n
Select a theme that works best in your
SSH client. All colors in use are shown.

+ themes=standard green blue blue_on_white high_contrast reduced reduced_w reduced_cw reduced_b reduced_cb
+ i=1
+ ncorr=
+ theme_standard
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=20
+ printf %-22s %-24s %-14s\n 1. standard standard standard
1. standard standard standard
+ printf %-19s %-24s %-s\n standard standard standard
standard standard standard
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=2
+ unset corr2 corr1 ncorr
+ ncorr=
+ theme_green
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=20
+ printf %-22s %-24s %-14s\n 2. green green green
2. green green green
+ printf %-19s %-24s %-s\n green green green
green green green
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=3
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr1=-1
+ corr2=-1
+ theme_blue
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=21
+ printf %-22s %-25s %-15s\n 3. blue blue blue
3. blue blue blue
+ printf %-20s %-24s %-s\n blue blue blue
blue blue blue
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=4
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr2=-1
+ theme_blue_on_white
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=21
+ printf %-23s %-25s %-15s\n 4. blue_on_white blue_on_white blue_on_wh
4. blue_on_white blue_on_white blue_on_wh
+ printf %-20s %-24s %-s\n blue_on_white blue_on_white blue_on_wh
blue_on_white blue_on_white blue_on_wh
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=5
+ unset corr2 corr1 ncorr
+ ncorr=
+ theme_high_contrast
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=20
+ printf %-22s %-24s %-14s\n 5. high_contrast high_contrast high_contr
5. high_contrast high_contrast high_contr
+ printf %-19s %-24s %-s\n high_contrast high_contrast high_contr
high_contrast high_contrast high_contr
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=6
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr2=-1
+ theme_reduced
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=21
+ printf %-23s %-25s %-15s\n 6. reduced reduced reduced
6. reduced reduced reduced
+ printf %-20s %-24s %-s\n reduced reduced reduced
reduced reduced reduced
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=7
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr2=-3
+ theme_reduced_w
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=23
+ printf %-25s %-27s %-17s\n 7. reduced_w reduced_w reduced_w
7. reduced_w reduced_w reduced_w
+ printf %-22s %-24s %-s\n reduced_w reduced_w reduced_w
reduced_w reduced_w reduced_w
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=8
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr2=-3
+ theme_reduced_cw
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=23
+ printf %-25s %-27s %-17s\n 8. reduced_cw reduced_cw reduced_cw
8. reduced_cw reduced_cw reduced_cw
+ printf %-22s %-24s %-s\n reduced_cw reduced_cw reduced_cw
reduced_cw reduced_cw reduced_cw
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=9
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr2=+5
+ theme_reduced_b
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=21
+ printf %-23s %-25s %-15s\n 9. reduced_b reduced_b reduced_b
9. reduced_b reduced_b reduced_b
+ printf %-20s %-30s %-s\n reduced_b reduced_b reduced_b
reduced_b reduced_b reduced_b
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=10
+ unset corr2 corr1 ncorr
+ ncorr=
+ corr1=-2
+ corr2=+3
+ ncorr=
+ theme_reduced_cb
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=23
+ printf %-23s %-27s %-17s\n 10. reduced_cb reduced_cb reduced_cb
10. reduced_cb reduced_cb reduced_cb
+ printf %-22s %-30s %-s\n reduced_cb reduced_cb reduced_cb
reduced_cb reduced_cb reduced_cb
+ p_e_l
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ echo

+ i=11
+ unset corr2 corr1 ncorr
+ theme_basic
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=15
+ printf 11. basic basic\n
11. basic basic
+ p_r_l
+ echo _____________________________________________
_____________________________________________
+ ton=11
+ noad=
+ [ -f /opt/share/diversion/.conf/diversion.conf ]
+ printf \n The basic and reduced themes use no or fewer\n colors, service states may not be visible.\n

The basic and reduced themes use no or fewer
colors, service states may not be visible.
+ theme_standard
+ R=
+ R_BG=
+ E_BG=
+ GN=
+ GN_BG=
+ B=
+ GY=
+ NC=
+ COR=20
+ true
+ [ -z new ]
+ printf \n Select amtm theme: [1-11]

Select amtm theme: [1-11] + read -r continue
 
if I put in 2 for theme I get:

Select amtm theme: [1-11] + read -r continue
2
+ theme=green
+ break
+ echo theme=green
+ [ new ]
+ [ -f /jffs/configs/profile.add ]
+ [ -f /jffs/scripts/amtm ]
+ [ -f /opt/bin/amtm ]
+ a_m Initializing amtm for first run
+ [ -z ]
+ am= Initializing amtm for first run
+ [ ]
+ nvram get jffs2_scripts
+ [ 1 != 1 ]
+ g_m amtm.mod new
+ [ amtm.mod = amtm.mod ]
+ set -- amtm.mod new /jffs/addons/amtm/a_fw
+ [ /jffs/addons/amtm/a_fw ]
+ [ new = new ]
+ [ -z ]
+ echo https://fwupdate.asuswrt-merlin.net/amtm_fw
+ awk -F[/:] {print $4}
+ a_m \n Getting from fwupdate.asuswrt-merlin.net
+ [ -z Initializing amtm for first run ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net
+ dlLoc=1
+ c_url https://fwupdate.asuswrt-merlin.net/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ /usr/sbin/curl -fsNL --retry 2 --connect-timeout 3 -m 8 https://fwupdate.asuswrt-merlin.net/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ [ -s /jffs/addons/amtm/a_fw/amtm.mod.new ]
+ [ -f /jffs/addons/amtm/a_fw/amtm.mod ]
+ rm -f /jffs/addons/amtm/a_fw/amtm.mod.new
+ a_m ! Module amtm.mod download failed
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed
+ f_b_url
+ a_m ! using fallback server diversion.ch\n
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n
+ amtmURL=https://diversion.ch/amtm_fw
+ g_m amtm.mod new /jffs/addons/amtm/a_fw
+ [ amtm.mod = amtm.mod ]
+ set -- amtm.mod new /jffs/addons/amtm/a_fw
+ [ /jffs/addons/amtm/a_fw ]
+ [ new = new ]
+ [ -z 1 ]
+ dlLoc=1
+ c_url https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ /usr/sbin/curl -fsNL --retry 2 --connect-timeout 3 -m 8 https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ [ -s /jffs/addons/amtm/a_fw/amtm.mod.new ]
+ [ -f /jffs/addons/amtm/a_fw/amtm.mod ]
+ rm -f /jffs/addons/amtm/a_fw/amtm.mod.new
+ a_m ! Module amtm.mod download failed
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed
+ f_b_url
+ a_m ! using fallback server diversion.ch\n
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n
+ amtmURL=https://diversion.ch/amtm_fw
+ g_m amtm.mod new /jffs/addons/amtm/a_fw
+ [ amtm.mod = amtm.mod ]
+ set -- amtm.mod new /jffs/addons/amtm/a_fw
+ [ /jffs/addons/amtm/a_fw ]
+ [ new = new ]
+ [ -z 1 ]
+ dlLoc=1
+ c_url https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ /usr/sbin/curl -fsNL --retry 2 --connect-timeout 3 -m 8 https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ [ -s /jffs/addons/amtm/a_fw/amtm.mod.new ]
+ [ -f /jffs/addons/amtm/a_fw/amtm.mod ]
+ rm -f /jffs/addons/amtm/a_fw/amtm.mod.new
+ a_m ! Module amtm.mod download failed
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed
+ f_b_url
+ a_m ! using fallback server diversion.ch\n
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n
+ amtmURL=https://diversion.ch/amtm_fw
+ g_m amtm.mod new /jffs/addons/amtm/a_fw
+ [ amtm.mod = amtm.mod ]
+ set -- amtm.mod new /jffs/addons/amtm/a_fw
+ [ /jffs/addons/amtm/a_fw ]
+ [ new = new ]
+ [ -z 1 ]
+ dlLoc=1
+ c_url https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ /usr/sbin/curl -fsNL --retry 2 --connect-timeout 3 -m 8 https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
 
And then
and it seems to be looping and saying it can't download amtm.mod...
Everything looks good. You have a network problem. Disable whatever you do on that so that diversion.ch is reachable from the router.
 
But something else is very strange. the retrytest is changeing (more retrties???) Compare this with the first retries in message 30 (above)



+ dlLoc=1
+ c_url https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ /usr/sbin/curl -fsNL --retry 2 --connect-timeout 3 -m 8 https://diversion.ch/amtm_fw/amtm.mod -o /jffs/addons/amtm/a_fw/amtm.mod.new
+ [ -s /jffs/addons/amtm/a_fw/amtm.mod.new ]
+ [ -f /jffs/addons/amtm/a_fw/amtm.mod ]
+ rm -f /jffs/addons/amtm/a_fw/amtm.mod.new
+ a_m ! Module amtm.mod download failed
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed
+ f_b_url
+ a_m ! using fallback server diversion.ch\n
+ [ -z Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed ]
+ am= Initializing amtm for first run\n\n Getting from fwupdate.asuswrt-merlin.net\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n\n ! Module amtm.mod download failed\n ! using fallback server diversion.ch\n
+ amtmURL=https://diversion.ch/amtm_fw
+ g_m amtm.mod new /jffs/addons/amtm/a_fw
+ [ amtm.mod = amtm.mod ]
+ set -- amtm.mod new /jffs/addons/amtm/a_fw
+ [ /jffs/addons/amtm/a_fw ]
+ [ new = new ]
+ [ -z 1 ]
+ dlLoc=1
 
And then

Everything looks good. You have a network problem. Disable whatever you do on that so that diversion.ch is reachable from the router.


I can ping diversion.ch from a pc behind this router. It seems to me that diversion.ch is reachable...

As far as I know I have in no way whathsoever blocked access to diversion.ch in the router. I just flashed it, and tried to install amtm...

I can also ping diversion.ch from the router (SSH session)

Could double NAT be the reason?



++++++++++++++++++++++++++++++++++++++++++++++++++
C:\Users\Max Renn>ping diversion.ch

Pinging diversion.ch [80.74.145.140] with 32 bytes of data:
Reply from 80.74.145.140: bytes=32 time=30ms TTL=51
Reply from 80.74.145.140: bytes=32 time=30ms TTL=51
Reply from 80.74.145.140: bytes=32 time=30ms TTL=51
Reply from 80.74.145.140: bytes=32 time=28ms TTL=51

Ping statistics for 80.74.145.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 28ms, Maximum = 30ms, Average = 29ms


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Router1@RT-AC68P-0730:/tmp/home/root# ping diversion.ch
PING diversion.ch (80.74.145.140): 56 data bytes
64 bytes from 80.74.145.140: seq=0 ttl=52 time=30.902 ms
64 bytes from 80.74.145.140: seq=1 ttl=52 time=31.777 ms
64 bytes from 80.74.145.140: seq=2 ttl=52 time=32.210 ms
64 bytes from 80.74.145.140: seq=3 ttl=52 time=30.043 ms
64 bytes from 80.74.145.140: seq=4 ttl=52 time=26.765 ms
64 bytes from 80.74.145.140: seq=5 ttl=52 time=33.836 ms
64 bytes from 80.74.145.140: seq=6 ttl=52 time=28.930 ms
^C
--- diversion.ch ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 26.765/30.637/33.836 ms
 
BTW: USB device was removed when I tried the cmp (previous message)

++++++++++++++++++++++++++++++++++++++++++++
Router1@RT-AC68P-0730:/tmp/home/root#
Router1@RT-AC68P-0730:/tmp/home/root# nvram get sw_mode
1
Router1@RT-AC68P-0730:/tmp/home/root#
Can you PM your public IP to me so I can look up the server log.
 
@wimpie I only see one access period, from (server time) 2020-02-16 13:56:24 up to 2020-02-16 13:56:56. With the GET request for the amtm files getting the code 302, which means the server found the file but then ...
Check that double NAT, maybe that is interfering. Or plug that router directly into your modem/cablebox just to try.
 
I'll try, but it won't be for the next few hours (to many family members using internet, and they can't miss it for a second ;-) ).

In any case, success or failure, I'll let you know...
 
@wimpie I only see one access period, from (server time) 2020-02-16 13:56:24 up to 2020-02-16 13:56:56. With the GET request for the amtm files getting the code 302, which means the server found the file but then ...
Check that double NAT, maybe that is interfering. Or plug that router directly into your modem/cablebox just to try.
Also, I see you checked the website, which appears to work for you as these GET requests have code 200 which is OK.
 
I just SSHed to my real router and got the file. So somehow double NAT is the problem

Sad, because that means more downtime for my network. I wanted to configure as much as possible before I would switch routers (and also to learn how this al works before I put it in production).


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Router1@RT-N66U-ED60:/jffs/scripts# curl -Os https://diversion.ch/amtm_fw/amtm.mod
Router1@RT-N66U-ED60:/jffs/scripts# ls
amtm.mod
Router1@RT-N66U-ED60:/jffs/scripts#
 

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