Using tmux on Synology DSM

       124 words, 1 minutes

tmux is not available on Synology by default. But it only takes a command call to get it.

Connect to the DSM using SSH. This requires starting the Control Panel, going to Connectivity > Terminal & SNMP and checking Enable SSH service.

Once logged in, switch to the root user and run the commad:

# synogear install

The extra commands can be listed using synogear list.

To use them as a user, add /var/packages/DiagnosisTool/target/tool to the user’s $PATH.

# which tmux
/var/packages/DiagnosisTool/target/tool/tmux

# ls /var/packages/DiagnosisTool/target/tool/
autojump           iotop            nmap           sar update_check.py
autojump_match.py  iperf            nping          sid2ugid.sh zblacklist
cifsiostat         iperf3           perf-check.py  sockstat zmap
domain_test.sh     log-analyzer.sh  pidstat        speedtest-cli.py ztee
file               lsof             sa1            sysstat
fix_idmap.sh       mpstat           sa2            tcpdump
iftop              ncat             sadc           tcpdump_wrapper
iostat             nethogs          sadf           tmux

That’s All Folks!