So I got this idea online to make my own terminal server with a Raspberry Pi and ser2net.
- UGREEN USB to Serial RS232 Cable Adapter 4 Ports DB9 Converter 9-Pin Male to Male with Hexnuts
- Raspberry Pi
- Raspbian Stretch Lite
I think a Pi Zero could also do the job and save a few dollars. So far it remembers the port numbers on reboot and my config is good but I’m working on getting the logging to work the way I want it.
Install ser2net running Raspbian Stretch:
apt-get install ser2net Then edit /etc/ser2net.conf with your USB to information that I got from running “dmesg | grep tty”.
apt-get install ufw
sudo ufw default deny
sudo ufw allow ssh
sudo ufw enable
sudo ufw status numbered
sudo apt-get install screen
screen -S term <to open a screen with the name term>
To use the terminal server I ssh in and then run screen and open a terminal in there. The advantage to that is I can leave the terminal running during an upgrade and go get some milk and cookies.
telnet 127.0.0.1 2001