Setting up termnet - Ubuntu
Termnet is a simple telnet replacement. It does not implement for the complete telnet protocol, but does provide a few nifty features of it's own. Especially when used with the termnetd terminal server daemon. It is great for accessing a serial port based Linux console; which is typical done when developing an embedded Linux based product.
Installing termnet
On Ubunt, you can simply
sudo apt-get install termnet termnetd
Note: In newer versions of Ubuntu Termnet is not handed in the installed repositories, but it can be downloaded as a .deb package for the daemon from here and for the application from here
Configuring Termnet
Edit the termnetd.conf file for the communication port. This file is located inside /etc in the local computer. An example line for a serial port is:
3000:on:/dev/ttyS0:B115200 CLOCAL IGNBRK CS8 CREAD;
Restart the daemon with the following after you've saved the file:
sudo /etc/init.d/termnetd restart
Running termnet
Open a terminal and write:
termnet localhost <portNumber>