What's new

🐾 Idefix Terminal — an ultimate terminal in your ASUS-Merlin GUI

I’m not sure what happened here, just tried to install using iTerminal on my iPad, it said installed successfully but then said failed?

I have not installed Idefix previously.

There’s no tab under administration as yet.
 

Attachments

  • IMG_3370.jpeg
    IMG_3370.jpeg
    66 KB · Views: 20
Last edited:
Not sure what is happening, but I can't update to from 1.3.0 to 1.4.1.

I get some strange errors in the cli:

Code:
wget -O /tmp/idefix-install.sh \
>   https://raw.githubusercontent.com/DanielLavrushin/asuswrt-merlin-idefix/refs/heads/main/install.sh \
>   && chmod 0755 /tmp/idefix-install.sh \
>   && /tmp/idefix-install.sh \
>   && rm /tmp/idefix-install.sh
--2026-04-12 17:50:01--  https://raw.githubusercontent.com/DanielLavrushin/asuswrt-merlin-idefix/refs/heads/main/install.sh
Resolving raw.githubusercontent.com... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 344 [text/plain]
Saving to: '/tmp/idefix-install.sh'

/tmp/idefix-install.sh                         100%[==================================================================================================>]     344  --.-KB/s    in 0s     

2026-04-12 17:50:01 (13.8 MB/s) - '/tmp/idefix-install.sh' saved [344/344]

/tmp/asuswrt-merlin-idefix.tar.gz              100%[==================================================================================================>]   2.83M  --.-KB/s    in 0.03s   
Updating Idefix Terminal...
Downloading the version:latest...
/tmp/asuswrt-merlin-idefix.tar.gz              100%[==================================================================================================>]   2.83M  --.-KB/s    in 0.05s   
Download completed successfully.
Extracting the package...
Extraction completed.
Setting up the script...
Script set up successfully.
Installing Idefix Terminal server...
Stopping Idefix Terminal...
Idefix Terminal stopped.
Clearing firewall rules for Idefix Terminal…
Downloading  release version https://github.com/daniellavrushin/asuswrt-merlin-idefix/releases/latest/download/idefix-server-arm64.tar.gz into /tmp/idefix-server.tar.gz
/tmp/idefix-server.tar.gz                      100%[==================================================================================================>]   2.45M  --.-KB/s    in 0.03s   
Download completed successfully.
Extracting the package...
Extraction completed.
Idefix Terminal server installed successfully.
Running the installation...
Installing Idefix Terminal 1.4.1...
Updated /jffs/scripts/post-mount with Idefix Terminal command entry.
Updated /jffs/scripts/service-event with Idefix Terminal command entry.
Can't load /tmp/home/root/.rnd into RNG
4155424784:error:2406F079:lib(36):func(111):reason(121):NA:0:Filename=/tmp/home/root/.rnd
Generating a RSA private key
..................................+++++
...............+++++
writing new private key to '/jffs/addons/idefix/key.pem'
-----
sleeping for 10 seconds...
No Idefix Terminal page found to unmount. Continuing to clean up...
Removing any Idefix Terminal menu entry from menuTree.js.
Unmount completed.
Assigning new IDEFIX page: user2.asp
Mounting Idefix Terminal as user2.asp
Idefix Terminal mounted successfully as user2.asp
Generating secret for Idefix Terminal...
Creating Idefix Terminal response file: /www/user/idefix/response.json
Adding firewall rules for Idefix Terminal...
╔═════════════════════════════════════════════════╗
║                                                 ║
║  Idefix Terminal 1.4.1 installed successfully.  ║
║                                                 ║
╚═════════════════════════════════════════════════╝
Installation completed successfully.

and then I get stuck with this on the GUI:

1776030932355.png


And once that happens, "idefix uninstall" does not work since idefix is not found. I have to roll back via backups to v1.3.0, which works fine 🤷‍♂️ .

Any thoughts?
 
Last edited:
@MegaMango any chance you could roll back to 1.4.0 while the code/errors are examined? I was actually able to install 1.4.0 successfully just before you updated to 1.4.1 and 1.4.2.
 
yes sure, you can simply run
Code:
idefix update 1.4.0
I just really surprised it fails for all others...
Same here 1.4.0 worked, 1.4.1 and 1.4.2 not so much.
 
I was able to upgrade to 1.4.0, works just fine. However, when I updated to 1.4.2 somethings breaks - calling for idefix at the cli reports "idefix: not found".
 
In order to install 1.4.0 fresh, I had to get the install file, edit it to "sh /tmp/idefix/idefix update 1.4.0", and then execute.
 
a stupid long shot
INI:
idefix update
also don't help?
I’m not sure what you mean here.

As Idefix is not installed (does not install) I never tried Idefix update.

To confirm I just tried it and as expected Idefix is not found.
 
Last edited:
@jksmurf @RandomUser777
yeah, I think i got it fixed in 1.4.4 - Asuswrt Signature Detection (asd) has started to quarantining `/jffs/scripts/idefix`, no idea why. So I moved the entire script into /jffs/addons - this is actually the right place for it.

Working for me on an RT-AX86U running 3004.388.11_0, thanks @MegaMango.
Had to do a couple of rounds of uninstall/reinstall as I was getting weirdness but it came good in the end ...
 
@jksmurf @RandomUser777
yeah, I think i got it fixed in 1.4.4 - Asuswrt Signature Detection (asd) has started to quarantining `/jffs/scripts/idefix`, no idea why. So I moved the entire script into /jffs/addons - this is actually the right place for it.
Coolio... thank you!

Well when I saw the SSH log I was not too hopeful as there seemed to be 3 errors BUT this time it did indeed add the Idefix Terminal tab to the WebGUI.
Played around with it, it seems to work OK, the quick commands are awesome.... so... should I be concerned about the errors, can we make them go away so my OCD does not bother me at night :).

And finally, will there be any leftover remnants from the several failed installs that I need to get rid of; and if so where? I could not see a /jffs/scripts/idefix dir but I do not know if there are others,

... and no way do I want to hide the Dog Idefix, I love Asterix and Obelix, I still have the full set and quote it regularly!

Code:
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
Code:
Can't load /tmp/home/root/.rnd into RNG
Code:
cp: can't stat '/tmp/idefix/idefix': No such file or directory

Code:
ASUSWRT-Merlin RT-AX88U_PRO 3006.102.8_alpha1-gcbc0e79254 Wed Apr  8 01:08:33 UTC 2026
SmurfXX@RT-AX88U-Pro:/tmp/home/root# wget -O /tmp/idefix-install.sh \
>   https://raw.githubusercontent.com/DanielLavrushin/asuswrt-merlin-idefix/refs
/heads/main/install.sh \
>   && chmod 0755 /tmp/idefix-install.sh \
>   && /tmp/idefix-install.sh \
>   && rm /tmp/idefix-install.sh
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2026-04-13 17:06:40--  https://raw.githubusercontent.com/DanielLavrushin/asuswrt-merlin-idefix/refs/heads/main/install.sh
Resolving raw.githubusercontent.com... 2606:50c0:8003::154, 2606:50c0:8001::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 447 [text/plain]
Saving to: '/tmp/idefix-install.sh'

/tmp/idefix-install 100%[===================>]     447  --.-KB/s    in 0s

2026-04-13 17:06:41 (15.2 MB/s) - '/tmp/idefix-install.sh' saved [447/447]

/tmp/asuswrt-merlin-idefix.tar.gz       100%[=============================================================================>]   2.83M   384KB/s    in 8.0s
Updating Idefix Terminal...
Downloading the version:latest...
/tmp/asuswrt-merlin-idefix.tar.gz       100%[=============================================================================>]   2.83M  8.28MB/s    in 0.3s
Download completed successfully.
Extracting the package...
Extraction completed.
Setting up the script...
Script set up successfully.
Installing Idefix Terminal server...
Stopping Idefix Terminal...
Clearing firewall rules for Idefix Terminal…
Downloading  release version https://github.com/DanielLavrushin/asuswrt-merlin-idefix/releases/latest/download/idefix-server-arm64.tar.gz into /tmp/idefix-server.tar.gz
/tmp/idefix-server.tar.gz               100%[=============================================================================>]   2.45M  7.57MB/s    in 0.3s
Download completed successfully.
Extracting the package...
Extraction completed.
Idefix Terminal server installed successfully.
Running the installation...
Installing Idefix Terminal 1.4.4...
Removing existing Idefix Terminal entries from scripts.
Updated /jffs/scripts/post-mount with Idefix Terminal command entry.
Updated /jffs/scripts/service-event with Idefix Terminal command entry.
Can't load /tmp/home/root/.rnd into RNG
4158033936:error:2406F079:lib(36):func(111):reason(121):NA:0:Filename=/tmp/home/root/.rnd
Generating a RSA private key
....................................+++++
.............+++++
writing new private key to '/jffs/addons/idefix/key.pem'
-----
sleeping for 10 seconds...
No Idefix Terminal page found to unmount. Continuing to clean up...
Removing any Idefix Terminal menu entry from menuTree.js.
Unmount completed.
Assigning new IDEFIX page: user4.asp
Mounting Idefix Terminal as user4.asp
Idefix Terminal mounted successfully as user4.asp
Generating secret for Idefix Terminal...
Creating Idefix Terminal response file: /www/user/idefix/response.json
Adding firewall rules for Idefix Terminal...
╔═════════════════════════════════════════════════╗
║                                                 ║
║  Idefix Terminal 1.4.4 installed successfully.  ║
║                                                 ║
╚═════════════════════════════════════════════════╝
Installation completed successfully.
cp: can't stat '/tmp/idefix/idefix': No such file or directory
SmurfXX@RT-AX88U-Pro:/tmp/home/root#
 
Last edited:
Coolio... thank you!

Well when I saw the SSH log I was not too hopeful as there seemed to be 3 errors BUT this time it did indeed add the Idefix Terminal tab to the WebGUI.
Played around with it, it seems to work OK, the quick commands are awesome.... so... should I be concerned about the errors, can we make them go away so my OCD does not bother me at night :).

And finally, will there be any leftover remnants from the several failed installs that I need to get rid of; and if so where? I could not see a /jffs/scripts/idefix dir but I do not know if there are others,

... and no way do I want to hide the Dog Idefix, I love Asterix and Obelix, I still have the full set and quote it regularly!

Code:
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
Code:
Can't load /tmp/home/root/.rnd into RNG
Code:
cp: can't stat '/tmp/idefix/idefix': No such file or directory

Code:
ASUSWRT-Merlin RT-AX88U_PRO 3006.102.8_alpha1-gcbc0e79254 Wed Apr  8 01:08:33 UTC 2026
SmurfXX@RT-AX88U-Pro:/tmp/home/root# wget -O /tmp/idefix-install.sh \
>   https://raw.githubusercontent.com/DanielLavrushin/asuswrt-merlin-idefix/refs
/heads/main/install.sh \
>   && chmod 0755 /tmp/idefix-install.sh \
>   && /tmp/idefix-install.sh \
>   && rm /tmp/idefix-install.sh
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2026-04-13 17:06:40--  https://raw.githubusercontent.com/DanielLavrushin/asuswrt-merlin-idefix/refs/heads/main/install.sh
Resolving raw.githubusercontent.com... 2606:50c0:8003::154, 2606:50c0:8001::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 447 [text/plain]
Saving to: '/tmp/idefix-install.sh'

/tmp/idefix-install 100%[===================>]     447  --.-KB/s    in 0s

2026-04-13 17:06:41 (15.2 MB/s) - '/tmp/idefix-install.sh' saved [447/447]

/tmp/asuswrt-merlin-idefix.tar.gz       100%[=============================================================================>]   2.83M   384KB/s    in 8.0s
Updating Idefix Terminal...
Downloading the version:latest...
/tmp/asuswrt-merlin-idefix.tar.gz       100%[=============================================================================>]   2.83M  8.28MB/s    in 0.3s
Download completed successfully.
Extracting the package...
Extraction completed.
Setting up the script...
Script set up successfully.
Installing Idefix Terminal server...
Stopping Idefix Terminal...
Clearing firewall rules for Idefix Terminal…
Downloading  release version https://github.com/DanielLavrushin/asuswrt-merlin-idefix/releases/latest/download/idefix-server-arm64.tar.gz into /tmp/idefix-server.tar.gz
/tmp/idefix-server.tar.gz               100%[=============================================================================>]   2.45M  7.57MB/s    in 0.3s
Download completed successfully.
Extracting the package...
Extraction completed.
Idefix Terminal server installed successfully.
Running the installation...
Installing Idefix Terminal 1.4.4...
Removing existing Idefix Terminal entries from scripts.
Updated /jffs/scripts/post-mount with Idefix Terminal command entry.
Updated /jffs/scripts/service-event with Idefix Terminal command entry.
Can't load /tmp/home/root/.rnd into RNG
4158033936:error:2406F079:lib(36):func(111):reason(121):NA:0:Filename=/tmp/home/root/.rnd
Generating a RSA private key
....................................+++++
.............+++++
writing new private key to '/jffs/addons/idefix/key.pem'
-----
sleeping for 10 seconds...
No Idefix Terminal page found to unmount. Continuing to clean up...
Removing any Idefix Terminal menu entry from menuTree.js.
Unmount completed.
Assigning new IDEFIX page: user4.asp
Mounting Idefix Terminal as user4.asp
Idefix Terminal mounted successfully as user4.asp
Generating secret for Idefix Terminal...
Creating Idefix Terminal response file: /www/user/idefix/response.json
Adding firewall rules for Idefix Terminal...
╔═════════════════════════════════════════════════╗
║                                                 ║
║  Idefix Terminal 1.4.4 installed successfully.  ║
║                                                 ║
╚═════════════════════════════════════════════════╝
Installation completed successfully.
cp: can't stat '/tmp/idefix/idefix': No such file or directory
SmurfXX@RT-AX88U-Pro:/tmp/home/root#
thanks man!

no, those are just cosmetics. Fixed them in 1.4.5, but if 1.4.4 works - no need to update.
 
Sorry to bother you again but I went in and updated from the Addon itself to see how that went and it updated but oddly jumped out to the Blue Reconnect button. More on that button below, because it starts to become very familiar…

I thought nothing of it at first, but then went and did a little poking around in the quick menus and ran a few things and sometimes the terminal screen jumped back to the shebang but mostly it seemed to run the command, which you can see faintly in the background, then showed me that blue reconnect button.

Wondering if there’s something amiss in my install, or if other folks are experiencing the same thing?

IMG_3373.jpeg
IMG_3374.jpeg
 
I am experiencing the same. I did note that we both have RT-AX88U-Pro routers.
I can do a number of commands like pwd, cd - simple things. If I try “ls” it starts to output but then bails and show the reconnect button.
Ive tried in both Safari and Firefox.
 
just made a tiny patch for a 1.4.1 to fix the syslog timestamps, that some users previously reported and I missed this.
Running the latest idefix version 1.4.5.


Still seeing time warp in messages timestamps when starting idefix.

2026-04-13T19:21:45.000000-04:00 rt-be88u dnsmasq-dhcp[29651]: DHCPREQUEST(br0) 10.215.101.123 48:3f:da:c9:04:e0
2026-04-13T19:21:45.000000-04:00 rt-be88u dnsmasq-dhcp[29651]: DHCPACK(br0) 10.215.101.123 48:3f:da:c9:04:e0 oil-tank
2026-04-13T19:22:10.000000-04:00 rt-be88u IDEFIX: Starting Idefix Terminal...
2026-04-13T19:22:10.000000-04:00 rt-be88u IDEFIX: Adding firewall rules for Idefix Terminal...
2026-04-13T23:22:10.000000-04:00 rt-be88u IDEFIX[12506]: Using TLS: /etc/cert.pem
2026-04-13T23:22:10.000000-04:00 rt-be88u IDEFIX[12506]: 🐾 Idefix Terminal Server on :8787

2026-04-13T19:22:10.000000-04:00 rt-be88u IDEFIX: Idefix Terminal started with PID: 12506
2026-04-13T19:22:15.410177-04:00 rt-be88u kernel: CFG80211-ERROR) wl_cfg80211_change_station :

More examples:

2026-04-13T19:50:12.000000-04:00 rt-be88u rc_service: httpds 15871:notify_rc idefix_generate_token
2026-04-13T19:50:12.000000-04:00 rt-be88u custom_script: Running /jffs/scripts/service-event (args: idefix_generate_token)
2026-04-13T19:50:12.000000-04:00 rt-be88u IDEFIX: Generating token for Idefix Terminal...
2026-04-13T23:50:13.000000-04:00 rt-be88u IDEFIX[20370]: authorised client 10.215.101.87:9579 (c=eB2GEusrDLcXTQmp)
2026-04-13T23:50:13.000000-04:00 rt-be88u IDEFIX[20370]: WS connected (10.215.101.87:9579)
2026-04-13T23:50:13.000000-04:00 rt-be88u IDEFIX[20370]: Starting shell: /bin/sh
2026-04-13T23:50:13.000000-04:00 rt-be88u IDEFIX[20370]: shell pid=24336 for 10.215.101.87:9579
2026-04-13T23:50:33.000000-04:00 rt-be88u IDEFIX[20370]: WS read error (10.215.101.87:9579): failed to get reader: received close frame: status = StatusGoingAway and reason = ""
2026-04-13T23:50:33.000000-04:00 rt-be88u IDEFIX[20370]: shell pid=24336 closed (10.215.101.87:9579)

2026-04-13T19:50:41.000000-04:00 rt-be88u rc_service: httpds 15871:notify_rc start_YazDHCPcheckUserIcons ; start_YazDHCPcheckGNetReservations
 

Attachments

  • Screenshot 2026-04-13 193908.png
    Screenshot 2026-04-13 193908.png
    42.4 KB · Views: 12
Last edited:

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!
Back
Top