Setting up termnet - Ubuntu: Difference between revisions
Efernandez (talk | contribs) (Created page with '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 t...') |
mNo edit summary |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<seo title="Setting Up Termnet - Ubuntu | Telnet Replacement | RidgeRun" titlemode="replace" keywords="GStreamer, Linux SDK, Linux BSP, Embedded Linux, Device Drivers, Nvidia, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, Embedded Linux SDK, Embedded Linux Application development, GStreamer Multimedia Framework." description="Termnet is a simple telnet replacement. Read this informative RidgeRun wiki document today and learn about the steps required to set up Termnet on Ubuntu."></seo> | |||
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. | 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. | ||
Line 7: | Line 9: | ||
</pre> | </pre> | ||
'''Note: ''' In newer versions of Ubuntu Termnet is not | '''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 [https://launchpad.net/ubuntu/+source/termpkg/3.3-9.1 '''link1'''] OR [http://old-releases.ubuntu.com/ubuntu/pool/universe/t/termpkg/ '''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)''' | |||
<pre> | |||
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 | |||
</pre> | |||
== Configuring Termnet == | == Configuring Termnet == | ||
Edit the termnetd.conf file for the communication port | Edit the /etc/termnetd.conf file for the communication port. An example line for a serial port is: | ||
'''3000''':on:/dev/ | '''3000''':on:/dev/ttyUSB0:B115200 CLOCAL IGNBRK CS8 CREAD; | ||
Restart the daemon with the following after you've saved the file: | Restart the daemon with the following after you've saved the file: | ||
sudo /etc/init.d/termnetd restart | sudo /etc/init.d/termnetd restart | ||
== Running termnet == | == Running termnet == | ||
Line 25: | Line 38: | ||
termnet localhost <portNumber> | termnet localhost <portNumber> | ||
[[Category:Ubuntu]][[Category:HowTo]] |
Latest revision as of 10:50, 25 June 2018
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>