For adam:ONE® on the ASUS platform, there are two components:
- the script that runs on merlin-flashed routers on startup
- the adam:ONE® binary that is stored on permanently-inserted flash drive
This announcement is about an update to the script that is stored at:
/jffs/scripts/adamone
Version 2.1.6 had a bug where two settings offered in the installation script were not always applied properly, specifically this one:
[i] adam:ONE includes local DNS services but endpoints may be statically set to use DNS servers other than your router.
[q] would you like to hijack and re-direct all other endpoint port 53 DNS queries to adam:ONE? [Y/n]:
[i] selected yes.
Even if you selected yes, the configuration was not stored properly.
Fix to hijack non-local DNS
If your intent was to hijack non-local DNS server usage, it can be enabled manually at any time with this command:
/jffs/scripts/adamone set dns hijack enable
This command works even on earlier version of the script.
The scripted prompt option is fixed in version 2.1.7.
Script upgrade process
Your router will automatically upgrade its script provided you selected this option as Yes:
[q] would you like to enable automatic weekly upgrade checks? [Y/n]:
[i] selected yes.
If you selected n
for No during the initial script, you will need to manually upgrade with this command:
/jffs/scripts/adamone selfupdate
Check script version
To check your current version of the adamone
script, make an ssh connection to your ASUS gateway and run /jffs/scripts/adamone
and you’ll see results like this:
admin@RT-AC68R-B468:/tmp/home/root# /jffs/scripts/adamone
# _ ____ _ _ ______
# | | _ / __ \| \ | | ____|
# __ _ __| | __ _ _ __ ___ (_) | | | \| | |__
# / _` |/ _` |/ _` | '_ ` _ \ | | | | . ` | __|
# | (_| | (_| | (_| | | | | | |_| |__| | |\ | |____
# \__,_|\__,_|\__,_|_| |_| |_(_)\____/|_| \_|______|
#
# Tomas Trebicky (c) Adam Networks, Inc.
#
# Script v2.1.7
#
# Thanks to Adamm - https://github.com/Adamm00/IPSet_ASUS for the code base.