What's new
  • 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!

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

Another approach - did this years back on my old project - cafeole - this was the dev view - we closed it on production, but still kinda handy...
Screenshot 2025-05-13 at 5.57.09 PM.png
 
LOL :)

@ExtremeFiretop always wanted me to make a VPNMON-R3 web UI. Here you go - as promised! :p

1747434233519.png
 
[1.2.0] - 2025-05-17
Important: Please clear your browser cache (e.g. **Ctrl+F5**) to ensure outdated files are updated.

- FIXED: Terminal now picks up the correct width and height on first load, window resizes, and fullscreen toggles.
- FIXED: Idefix— my super-duper mascot dog — no longer overlaps the terminal pane. If his fluffy face is still too distracting, you can hide him with a single click (cookie-based)… though I won’t ask about your conscience.

The UI update proc is still a bit fluffy... ui is not that responsive, after the update just refresh the page and ensure you got the expected version on the bottom right corner. Or just run
INI:
idefix update
 
I just wanted the dog gone. To have to accept yet another cookie to remove your branding (which, by the way, no other script I use has) then I refuse and uninstall. Nothing wrong with PuTTY.
 
I just wanted the dog gone. To have to accept yet another cookie to remove your branding (which, by the way, no other script I use has) then I refuse and uninstall. Nothing wrong with PuTTY.
Yep, that’s your choice. I prefer "my branding" over your preferences—this is open-source, and as the author I’ll present the project the way I see fit. Deal with it or ignore it.
Just to make it straight: you installed a full console controller on your router from an open-source repo, yet you’re upset about a cookie to hide an image.
 
I finally installed Idefix v1.1.6 this morning. Slick little utility that appears to work great with an http seesion, but it does not connect (spins for a second or two, and then the RECONNECT button appears). Might this have anything to do with using an alternate ssh port (available in nvram variable sshd_port)? Is there any log (I see nothing in syslog)?
Well… cool, let’s test it like this:

1. Stop any running Idefix session with `idefix stop`
2.Start the server manually in an SSH shell: `/opt/share/idefix/idefix-server`
You should see something like:
Code:
rt-be88u /t/h/root# /opt/share/idefix/idefix-server
2025/05/17 23:30:01 🐾 Idefix Terminal Server on :8787

Now open the router’s web interface and load the Idefix page. The SSH window should start printing connection messages:
Code:
2025/05/17 23:30:01 🐾 Idefix Terminal Server on :8787
Connected to shell from 192.168.1.100:35480
I agree the debug output is a bit sparse; I haven’t had many bug-reports yet. I’ll add more logging soon.
 
Well… cool, let’s test it like this:

1. Stop any running Idefix session with `idefix stop`
2.Start the server manually in an SSH shell: `/opt/share/idefix/idefix-server`
You should see something like:
Code:
rt-be88u /t/h/root# /opt/share/idefix/idefix-server
2025/05/17 23:30:01 🐾 Idefix Terminal Server on :8787

Now open the router’s web interface and load the Idefix page. The SSH window should start printing connection messages:
Code:
2025/05/17 23:30:01 🐾 Idefix Terminal Server on :8787
Connected to shell from 192.168.1.100:35480
I agree the debug output is a bit sparse; I haven’t had many bug-reports yet. I’ll add more logging soon.
I have tried that command :

Admin@Den-AX11000:/tmp/home/root# /opt/share/idefix/idefix-server


2025/05/17 17:56:16 🐾 Idefix Terminal Server on :8787


Connected to shell from 192.168.50.208:56224
Terminated

In the actual web browser I am seeing -- Reconnect & when I click that it doesn't do anything.
 
I have tried that command :

Admin@Den-AX11000:/tmp/home/root# /opt/share/idefix/idefix-server


2025/05/17 17:56:16 🐾 Idefix Terminal Server on :8787


Connected to shell from 192.168.50.208:56224
Terminated

In the actual web browser I am seeing -- Reconnect & when I click that it doesn't do anything.
I’ve just published a pre-release build:
INI:
idefix update 1.2.1
It doesn’t change any functionality, but it adds extra logging so we can pinpoint the issue. The server might now print more detailed error messages.
 
Well… cool, let’s test it like this:

1. Stop any running Idefix session with `idefix stop`
2.Start the server manually in an SSH shell: `/opt/share/idefix/idefix-server`
You should see something like:
Code:
rt-be88u /t/h/root# /opt/share/idefix/idefix-server
2025/05/17 23:30:01 🐾 Idefix Terminal Server on :8787

Now open the router’s web interface and load the Idefix page. The SSH window should start printing connection messages:
Code:
2025/05/17 23:30:01 🐾 Idefix Terminal Server on :8787
Connected to shell from 192.168.1.100:35480
I agree the debug output is a bit sparse; I haven’t had many bug-reports yet. I’ll add more logging soon.
Attempt to connect from https: web session results in TLS handshake error, while connecting from http: web session is successful:
Code:
# idefix stop
Stopping Idefix Terminal...
Clearing firewall rules for Idefix Terminal…
# /opt/share/idefix/idefix-server
2025/05/17 18:33:12 🐾 Idefix Terminal Server on :8787

2025/05/17 18:33:22 http: TLS handshake error from 192.168.222.14:63960: remote error: tls: bad certificate

Connected to shell from 192.168.222.14:64106
 
Attempt to connect from https: web session results in TLS handshake error, while connecting from http: web session is successful:
Code:
# idefix stop
Stopping Idefix Terminal...
Clearing firewall rules for Idefix Terminal…
# /opt/share/idefix/idefix-server
2025/05/17 18:33:12 🐾 Idefix Terminal Server on :8787

2025/05/17 18:33:22 http: TLS handshake error from 192.168.222.14:63960: remote error: tls: bad certificate

Connected to shell from 192.168.222.14:64106
Idefix v1.2.1 does not generate any additional error info.
 
Thanks for moving the dog - he no longer obscures the text.
But now the scrolling's a bit weird.

If I have my pointer in the terminal window I can scroll the text just up/down just fine with the mouse wheel until it hits the bottom, then the whole browser window scrolls up and the terminal disappears off the top off the screen. Which is a bit irritating.

Can it be made so that the mouse wheel doesn't scroll the browser window when focus is in the terminal window?
i.e. you would have to click outside the terminal window to scroll the browser.
 

v1.2.2 — small update​


What’s new
  • The add-on now writes its status and error messages straight into the router’s System Log (tagged IDEFIX).
    Open System Log › General Log in the Web UI to watch connections, shell sessions and warnings without having to tail the process manually.

    1747687303887.png
fixing the HTTPS “unknown certificate” prompt
Actually, nothing is wrong with the plugin.
Most connection problems people reported were simply the browser refusing the router’s router self-signed certificate (Firefox is the strictest; Chrome often remembers an earlier “Proceed anyway”).

1. Export the router’s certificate
Web UI › Administration › System › Download Certificate › Export.
This gives you a file like xxxx.crt.
1747686795654.png


2. Add that certificate as a trusted authority in your browser
Steps for Firefox (other browsers similar):
  1. Settings → search “certificate”
  2. Click “View Certificates”
  3. Open the Authorities tab → Import
  4. Select the .crt you just saved
  5. Restart the browser.
 
Last edited:
Thanks for moving the dog - he no longer obscures the text.
But now the scrolling's a bit weird.

If I have my pointer in the terminal window I can scroll the text just up/down just fine with the mouse wheel until it hits the bottom, then the whole browser window scrolls up and the terminal disappears off the top off the screen. Which is a bit irritating.

Can it be made so that the mouse wheel doesn't scroll the browser window when focus is in the terminal window?
i.e. you would have to click outside the terminal window to scroll the browser.
I really cannot reproduce this... what browser do you use? Did you clear the cache after performing the update?
 

Similar threads

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!

Staff online

Back
Top