Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My computer and switch both are connected to network. I need to connect to the console port of switch via serial port on my computer. I am using ubuntu.

How can I do that? How do I know whats the port where I've plugged the serial jack into and how to access it? I need some terminal emulator kind of thing.


share|improve this question
up vote 2 down vote accepted

Connect it to COM1 with a normal serial cable, and connect minicom to /dev/ttyS0.

share|improve this answer
Minicom is nice, but you might also want to just use screen. Something like screen /dev/ttyS0 9600 may be what you want. See… – Zoredache Aug 25 '10 at 23:30
Zoredache - you are awesome. screen works like a charm. – hari Aug 25 '10 at 23:37
Zoredache +1 I didn't know screen could do that....nice tip – 3dinfluence Aug 25 '10 at 23:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.