What's new

amtm amtm - the Asuswrt-Merlin Terminal Menu

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

Yes. I foud it unmounted. I rebooted the rooter and now it is mounted but I get this:
Code:
 amtm 3.1.7 FW             by thelonelycoder
 RT-AC86U (aarch64) FW-384.17 @ 192.168.1.1
    The Asuswrt-Merlin Terminal Menu

Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
 j5 open     uiDivStats            -> min upd

Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
 dc manage   Disk check script   dcl show log
 fd run      Format disk         fdl show log
Segmentation fault

 i  show     all available scripts or tools
 u  check    for script updates

    amtm options
 e  exit      t  theme   r  reset   a  about
_____________________________________________

 Getting from fwupdate.asuswrt-merlin.net
 ! Module diversion.mod is not an amtm file
 ! using fallback server diversion.ch
 ! Module diversion.mod is not an amtm file
 ! Module entware.mod is not an amtm file
 - Disk check script updated to v2.9
_____________________________________________

 Enter option
 
I have done an amtm reset and now I get:
Code:
Initializing amtm for first run
 - Created /jffs/addons/amtm directory

 Getting from fwupdate.asuswrt-merlin.net
 ! Module amtm.mod is not an amtm file
 ! using fallback server diversion.ch
 ! Module amtm.mod is not an amtm file

 All download attempts failed,
 exiting amtm now.

 Check that both domains properly resolve
 on this router:
 - fwupdate.asuswrt-merlin.net
 - diversion.ch
 
I have done an amtm reset and now I get:
Code:
Initializing amtm for first run
 - Created /jffs/addons/amtm directory

 Getting from fwupdate.asuswrt-merlin.net
 ! Module amtm.mod is not an amtm file
 ! using fallback server diversion.ch
 ! Module amtm.mod is not an amtm file

 All download attempts failed,
 exiting amtm now.

 Check that both domains properly resolve
 on this router:
 - fwupdate.asuswrt-merlin.net
 - diversion.ch
Is the time properly set on the router? Did you do what the instructions say and make sure the hostnames resolve from the router ssh terminal? Does your /jffs partition exist?
 
Time is properly set.
How can I check if /jffs partition exist ?
How to check from SSH if domains are resolved ?

Sorry for the basic question but I am not expert.
 
Code:
 mount
ubi:rootfs_ubifs on / type ubifs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=220096k,nr_inodes=55024,mode=75                                                                                        5)
proc on /proc type proc (rw,relatime)
tmpfs on /var type tmpfs (rw,noexec,relatime)
tmpfs on /tmp/mnt type tmpfs (rw,noexec,relatime,size=16k)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mtd:bootfs on /bootfs type jffs2 (ro,relatime)
tmpfs on /tmp/mnt type tmpfs (rw,noexec,relatime,size=16k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
mtd:data on /data type jffs2 (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/mtdblock8 on /jffs type jffs2 (rw,noatime)
tmpfs on /www/index_style.css type tmpfs (rw,relatime)
tmpfs on /www/require/modules/menuTree.js type tmpfs (rw,relatime)
/dev/sda1 on /tmp/mnt/86U_Entware type ext4 (rw,nodev,relatime,data=ordered)
/dev/sdb1 on /tmp/mnt/sdb1 type tfat (rw,nodev,relatime,uid=0,gid=0,umask=0000,a                                                                                        llow_utime=0022,codepage=437,iocharset=utf8,shortname=winnt,min_prealloc_size=64                                                                                        k,max_prealloc_size=3984404,writeback_boundary=4M,readahead=1M,nocache,fail_safe                                                                                        ,hidden=show,errors=continue)

Code:
 nslookup fwupdate.asuswrt-merlin.net
Server:    91.80.35.134
Address 1: 91.80.35.134 fmidmzdns001.dsl.vodafone.it

Name:      fwupdate.asuswrt-merlin.net
Address 1: 104.18.40.167
Address 2: 104.18.41.167
Address 3: 2606:4700:3035::6812:29a7
Address 4: 2606:4700:3037::6812:28a7

Code:
nslookup diversion.ch
Server:    91.80.35.134
Address 1: 91.80.35.134 fmidmzdns001.dsl.vodafone.it

Name:      diversion.ch
Address 1: 80.74.145.140 emerson.ch-meta.net
 
Code:
 nslookup fwupdate.asuswrt-merlin.net
Server:    91.80.35.134
Address 1: 91.80.35.134 fmidmzdns001.dsl.vodafone.it

Name:      fwupdate.asuswrt-merlin.net
Address 1: 104.18.40.167
Address 2: 104.18.41.167
Address 3: 2606:4700:3035::6812:29a7
Address 4: 2606:4700:3037::6812:28a7
OK so try running this curl command to look for errors. Maybe Cloudflare is blocking your IP.
Code:
/usr/sbin/curl -NL --retry 2 --connect-timeout 3 -m 8 https://fwupdate.asuswrt-merlin.net/amtm_fw/amtm.mod -o ~/test.mod
 
OK so try running this curl command to look for errors. Maybe Cloudflare is blocking your IP.
Code:
/usr/sbin/curl -NL --retry 2 --connect-timeout 3 -m 8 https://fwupdate.asuswrt-merlin.net/amtm_fw/amtm.mod -o ~/test.mod
Code:
RT-AC86U-3150:/tmp/home/root# /usr/sbin/curl -NL --retry 2 --connect-timeout 3 -m 8 https://fwupdate.asuswrt-merlin.net/amtm_fw/amtm.mod -o ~/test.mod
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   245    0   245    0     0   1884      0 --:--:-- --:--:-- --:--:--  1960
100 22288  100 22288    0     0  74541      0 --:--:-- --:--:-- --:--:-- 74541

I have alsto tried to reinstall FW but no news.
 
Finally :
- I set USB Mode to 2.0 (I have never done but the amtm step-by-step install guide - L&LD state that :))
- I removed the USB and deleted manually the partition
- rebooted the router and amtm was working again
- I formatted the USB in the USB 2-0 port in ext 4 with amtm formatting tool
- reinstalled Diversion

Now everything is back working.

Indeed I do not know what happened but I strongly suspect the USB drive got corrupted.
If this will happen again I will throw the USB pen out of the window.
 
@thelonelycoder
Enabling LED control disables my wifi time schedule.
Schedule seems OK in FW but doesn't work anymore.
Disabling LED control wifi schedule works again.
Where does one set that scheduler?
 
I've pushed an amtm update, no version change

- NEW: Added entware-services symlink to /opt/etc/init.d/rc.unslung, as requested by @TeHashX.
Options are start|stop|restart|reconfigure|check|kill
For example "entware-services restart" would restart all Entware services.

Use u to update to this latest version.
 
Where does one set that scheduler?
amtm 3.1.7 FW
tm.jpg
 
@thelonelycoder
Enabling LED control disables my wifi time schedule.
Schedule seems OK in FW but doesn't work anymore.
Disabling LED control wifi schedule works again.
Confirmed, but this appears to be an Asus bug. The LED scheduler only changes one NVRAM variable: nvram set led_disable=[value], then restarts the LED service with service restart_leds. Why that affects the completely different NVRAM settings is a mystery to me and shall remain so.
 
@thelonelycoder agreed. It makes no sense.
Disabling LEDs from AsusWrt System tab (Disable LEDs=Yes) wifi schedule remains.
Maybe "service restart_leds" is the reason ?
...
did some log work.
It seems when Disable LED Y/N changes runs a more than needed service restart ?
"rc_service: httpd 1364:notify_rc restart_time;restart_leds;restart_usb_idle;restart_firewall;"
but after this wifi schedule remains.
...
could you please add "restart_time" before "restart_leds" ?
or the full set "restart_time;restart_leds;restart_usb_idle;restart_firewall"
 
Last edited:
Confirmed, but this appears to be an Asus bug. The LED scheduler only changes one NVRAM variable: nvram set led_disable=[value], then restarts the LED service with service restart_leds. Why that affects the completely different NVRAM settings is a mystery to me and shall remain so.
You mean you didn't have plans to make a wifi scheduler in amtm?
 
Probably the wrong time to bring this up, but have you ever thought about a router update option? That would make amtm a one stop shop. I usually check amtm every few days for updates, and if it would show alphas, betas, and regular Merlin updates for the given router, it would save a little time. Thanks for all your work. You and Merlin are taking Asus routers to a different level.
 
Probably the wrong time to bring this up, but have you ever thought about a router update option? That would make amtm a one stop shop. I usually check amtm every few days for updates, and if it would show alphas, betas, and regular Merlin updates for the given router, it would save a little time. Thanks for all your work. You and Merlin are taking Asus routers to a different level.
I'm not sure how @thelonelycoder has it behind the scenes but I would think AMTM would need to "work inside the firmware" and therefore not be able to upgrade the firmware itself.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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