¿ªÔÆÌåÓý

Re: Direwolf web dashboard


 
Edited

Hi Stuart,
It is two applications Gotty and Tmux.

Gotty -https://github.com/yudai/gotty/releases
Example is for Linux amd64 -Choose the file file for you hardware.
cd /tmp
wget?
-Extract downloaded file.
tar xvf?gotty_2.0.0-alpha.3_linux_amd64.tar.gz
chmod? +x gotty
sudo mv gotty /usr/local/bin/

Tmux
-Follow the instructions for you environment -https://computingforgeeks.com/linux-tmux-cheat-sheet/
sudo apt-get update
sudo apt-get install tmux

-Make a gotty service file:
nano usr/lib/systemd/system/gotty.service
-Copy the following into the file:

[Unit]
Description=tmux default session (detached)
# Description=Place this file in /usr/lib/systemd/system
?
[Service]
Type=simple
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty7
ExecStart=/usr/local/bin/gotty tmux new -A -s gotty screen -D -m -r direwolf &
ExecReload=/bin/kill -2 $MAINPID
KillMode=process
RestartSec=2
?
[Install]
WantedBy=default.target

-Then enable and start the new service
systemctl enable gotty
systemctl start gotty

You now will have a web based terminal tmux gotty direwolf screen on port 8080 of the host.

Enjoy
Tim VK3TIM


Join [email protected] to automatically receive all group messages.