amtm About Amtm, scripts and USB drives

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

L81

New Around Here
Hi ! Noob here, messing with my Ac68U Merlin. Just followed M&M guide (thanks!) and now ready to fight with scripts.

My main and first noob question is about jffs and USB drive. I know you can install scripts in Jffs but most of you are using an USB drive as swap AND to install scripts there. So...

"Who" is living in Jffs and saying "Hey, the scripts are located in the USB" ? Is it Amtm ?

What's the point about running scripts from USB and not from Jffs directly? Is this because memory degradation?

Let's figure I properly set USB swap and some scripts with Amtm. What if router is booted without the USB drive attached? Will it boot and work?


Thaaanks
 

L&LD

Part of the Furniture
While some scripts are able to run from the JFFS, many require Entware to be installed, including a swap file of 2GB too.

Look at the link in my signature below for the amtm Step-by-Step Guide to properly use a USB drive for scripts.

Just skip the parts to install amtm, it is already installed in the current RMerlin firmware.

The router will boot up and should work without the USB drive connected, but none of the scripts will run.

Once configured to use the USB drive, it will be needed for the proper operation of the router.
 

L81

New Around Here
The router will boot up and should work without the USB drive connected, but none of the scripts will run.

Once configured to use the USB drive, it will be needed for the proper operation of the router.

Thanks! I am following your Step-by-Step Guide for USB drive and scripts.

So let's say after all the steps I can run scripts and have a swap partition.
But what happens if I switch off the router, remove the USB, and switch it on again? Your answer is not clear to me :-(

Will it work (none of the scripts will run) or as you said the USB will be needed for the proper operation of the router?

Can't see at which point the router becomes "USB dependant". In other words, I would like to know how to back into a "no usb no scripts" configuration without a full reset and clean installation from scratch.

Thanks!
 

L&LD

Part of the Furniture
With a USB drive configured with use for amtm and scripts, the USB drive is necessary for the proper use of the installed scripts.

If you remove the USB drive and start the router without it, the router will work. But without script support.

Depending on the scripts used, the router may or may not be functional when the USB drive is not inserted and working correctly.
 
  • Like
Reactions: L81

ColinTaylor

Part of the Furniture
In other words, I would like to know how to back into a "no usb no scripts" configuration without a full reset and clean installation from scratch.
Go into the GUI and set Enable JFFS custom scripts and configs to No in Administration - System.
 

L&LD

Part of the Furniture
While the advice that @ColinTaylor suggests will disable JFFS support, it won't undo any changes scripts may have made to the other router options.

Simply 'safely removing' the USB drive, turning off the 'Enable' check box for JFFS, and rebooting the router may disable all scripts, depending on what was actually running, that may not be enough.

A full reset and a clean installation from scratch is the only way I would remove the amtm + Entware + swap file + script support for my customers if I want to ensure they are 100% stable.

On your own router, you may instead simply monitor the router/network and only need to do that if any obvious issues arise.

Just because it may work for a specific user/network configuration, it doesn't mean the configuration will be 100% back to stock either.
 
  • Like
Reactions: L81

Gilbert1212

New Around Here
I currently use a USB2 flash drive for the swap file and was wondering if performance would improve with a USB3 one?

If so, if I install the new flash drive, format it per instructions, would I loose my over 700 self generated YT block list or anything else?

I am on Asus AC68U, use Diversion along with Unidivstats and Unbound manager.
Thanks.
 

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