Rudi Ahlers
2008-Jun-22 06:22 UTC
[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
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? -- Kind Regards Rudi Ahlers CEO, SoftDux Office: 087 805-9573 Fax No: 086 609 6128 Cell: 082 554 7532 Web: http://www.SoftDux.com Forum: http://Forum.SoftDux.com Join SA WebHostingTalk today, on http://www.WebHostingTalk.co.za
John R Pierce
2008-Jun-22 06:59 UTC
[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
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? >try /dev/ttyS0 or /dev/ttyS1 for the serial ports.
Bent Terp
2008-Jun-22 07:02 UTC
[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
> 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?This works for me with our Cisco console cables: sudo yum install picocom sudo picocom /dev/ttyS0 BR Bent
Les Mikesell
2008-Jun-22 14:32 UTC
[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
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
Karanbir Singh
2008-Jun-22 21:26 UTC
[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
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.issues like this which are not related to CentOS should be marked with an [OT] tag in the subject line as a start.... -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Miguel Medalha
2008-Jun-23 08:57 UTC
[CentOS] is it possible to login to a switch via RS232 / serial port from the shell?
Isn't the switch accessible via a Web interface? Most are. If so, why not use a browser to access it? It is much more practical nowadays. Of course, I don't know your concrete case, I am thinking generally. -------------- next part -------------- No virus found in this outgoing message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.4.1/1513 - Release Date: 22-06-2008 7:52