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

Les Mikesell lesmikesell at gmail.com
Sun Jun 22 14:32:43 UTC 2008


Rudi Ahlers wrote:
> Hi all
> 
> 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.


-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list