Difference between revisions of "Setting up termnet - Ubuntu"

From RidgeRun Developer Connection
Jump to: navigation, search
(Installing termnet)
Line 7: Line 7:
 
</pre>  
 
</pre>  
  
'''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 [http://www.ubuntuupdates.org/package/core/lucid/universe/base/termnetd here] and for the application from [http://www.ubuntuupdates.org/package/core/lucid/universe/base/termnet here]
+
'''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 and for the application from [ftp://10.251.101.2/docs/Installers/ridgerun/termnet/ here]
 +
 
 +
 
  
 
If the links don't work, then in this [https://launchpad.net/ubuntu/+source/termpkg/3.3-9.1 link] you can download them.
 
If the links don't work, then in this [https://launchpad.net/ubuntu/+source/termpkg/3.3-9.1 link] you can download them.

Revision as of 12:41, 4 January 2017

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 and for the application from here


If the links don't work, then in this link you can 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/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>