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 added in the installed repositories, but it can be downloaded as a .deb package for the daemon and for the application.
You can try link1 OR link2 to download them.
Installation: (for ubuntu 64bit with AMD PC processor)
sudo dpkg -i /home/<user>/Downloads/termnet_3.3-9.1_amd64.deb sudo dpkg -i /home/<user>/Downloads/termnetd_3.3-9.1_amd64.deb
Installation: (for ubuntu 32bit with intel i386 PC processor)
sudo dpkg -i /home/<user>/Downloads/termnet_3.3-9.1_i386.deb sudo dpkg -i /home/<user>/Downloads/termnetd_3.3-9.1_i386.deb
Configuring Termnet
Edit the /etc/termnetd.conf file for the communication port. An example line for a serial port is:
3000:on:/dev/ttyUSB0: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>