[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?

Les Mikesell lesmikesell at gmail.com
Mon Jun 23 04:46:36 UTC 2008


Rudi Ahlers wrote:

>>> I have a problem switch in our data centre, which is connected to a 
>>> linux server via a serial cable. I know I can / could access the 
>>> switch from my Windows PC back at the office, using hyperterm, but 
>>> trying to access it using minicom just doesn't seem to work.
>>>
>>> I have changed the comms in minincom to use /dev/tty0 & the baud rate 
>>> to 9600, yet I can't seem to connect with minicom. Does anyone know 
>>> how to connect to a serial device from the console?
>>
>> That should work, but I usually use kermit which has a lot more 
>> options and is scriptable.
>>
>> With kermit, try:
>>
>> set line /dev/ttyS0
>> set carrier off   (just in case the device doesn't raise CD)
>> connect
>>
>> then it is control-] followed by 'c' to get back to kermit.
>>
>>
> where do I get kermit? yum install kermit returned no results

The machine where I use it is still running Centos 4.x - and it looks 
like it has been dropped from 5.x.  If rpmfind doesn't locate a copy, 
the home for the kermit project is http://www.columbia.edu/kermit/ and 
C-kermit would be the version for Linux.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list