amtm disk_check.mod syntax error prevents AMTM from running

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

SSovets

Occasional Visitor
Since a while I can't run AMTM, I get the following error:
Code:
/usr/sbin/amtm: /jffs/addons/amtm/disk_check.mod: line 7: syntax error: unexpected newline
I tried replacing the file, it didn't work. Tried reinstalling AMTM with the curl command (without uninstalling) - it just opens it, with the same error. Hoped upgrading to the new Merlin firmware would help, but it didn't.

Any idea how to fix this without reinstalling everything?
 

L&LD

Part of the Furniture
Remove any USB devices from the router and format the USB drive you want to use with amtm on a PC with the NTFS file format before you insert it back into the router (after completing the steps below).

Remove the RT-AC68U AiMesh node via the GUI. Leave it until the indicated step below to re-connect it.

Check the box to 'Format the JFFS partition on the next boot...' in the GUI. Make sure you hit 'Apply' at the bottom of the page afterward.

Reboot the router via the GUI 3 times in the next 15 minutes. Waiting 5 to 10 minutes between reboots.

If you now ssh into the router, you should see a working amtm menu.

If you do, insert the USB drive you want to use with amtm and use the link below (if needed) to properly set it up.

amtm Step-by-Step https://www.snbforums.com/threads/amtm-step-by-step-install-guide-l-ld.56237/#post-483421
(Note that amtm doesn't need to be 'installed' if using RMerlin 384.15_0 or later).

At this point, you can add the AiMesh node back to the network.


If amtm still isn't working, you may want to try the formatting steps again. And if that still doesn't work, then I would suggest the following link to fully reset the router.

Fully Reset Router and Network
 

ColinTaylor

Part of the Furniture
Have you simply tried deleting that file and letting amtm reinstall it when it needs to?
Code:
rm /jffs/addons/amtm/disk_check.mod
 

SSovets

Occasional Visitor
Have you simply tried deleting that file and letting amtm reinstall it when it needs to?
Code:
rm /jffs/addons/amtm/disk_check.mod
Thanks, that's exactly the solution I was looking for! Didn't know it could be that simple.
 

Similar threads

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