telnet to serial connection?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2006-01-04 at 16:03, Steve Huff wrote:

> however, my eventual plan is to use these as fencing devices for a  
> small RHCS cluster i'm building, and so the fencing process will need  
> to be scriptable.  RHCS wants to fence by invoking a "/sbin/ 
> fence_<whatever>" script that uses Net::Telnet to connect to the  
> fencing device and then enters the commands.
> 
> so, it seems that what i need is a telnet server running on my CentOS  
> box that, instead of calling /bin/login when someone connects,  
> instead starts up a serial session (i'd prefer something more  
> transparent than minicom, if possible).  anyone have any good ideas  
> on how to do this?  i had been thinking of creating a user for this  
> purpose whose shell was /usr/bin/minicom, but i'm open to other  
> suggestions.

If it is obvious what the fence_ script is doing, you can probably
replace it completely with a kermit script where you can
chat equally well with serial or network connections.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux