Interactive Mode fix on QNAP stty error

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
crapp0
Posts: 1
Joined: 05 Feb 2024, 08:05

Interactive Mode fix on QNAP stty error

Post by crapp0 »

If you encounter on your QNAP using interactive mode the following error:

Format: Select all

"Bad Terminal: Cannot run program "/bin/stty": error=2, No such file or directory" 
You can install "Entware_1.03std.qpkg" from
https://www.myqnap.org/product/entware-std/

For most users its the TS-NASX86 version
It is signed and an official one.
Go to Appcenter and install it manually.

Then SSH into your QNAP

Format: Select all

sudo /opt/bin/opkg update

Format: Select all

sudo /opt/bin/opkg install coreutils

Format: Select all

sudo ln -s /opt/bin/stty /bin/stty 
Finally to check if everything worked:

Format: Select all

which stty
Should show

Format: Select all

/bin/stty
Now you should be able to use interactive mode
Post Reply