Serial Console

I need to connect into Cisco routers to change configs, etc, through a serial connection.  I run RH 6.1 and would like to know how to accomplish this without re-booting into windows to use hyperterminal.
LVL 3
ihardingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
connect cisco with an appropriate cable to the serial port of your linux machine, then use minicom (as user root), set it up as required  and described in your cisco manuals.
0
ihardingAuthor Commented:
When I run Minicom, which I tried allready, it cannot find the modem it is looking for.  How do I config Minicom to access the correct serial port?
0
ahoffmannCommented:
if you run as root, you can configure while running, think it is
  Ctrl-A o and Ctrl-A p
see man minicom for details
0
febbCommented:
The minicom thing is correct just bear in mind that you have
to point it to ttyS0 if using the "COM1" or ttyS1 if using the "COM2" ports.

Also, there has to be NO other program running on the port you will be using, such as a "mgetty" program. Check on the
/etc/inittab file and make sure all references to ttyS0 or ttyS1 (the one you are using) have an "off" on the 3rd field separated by colons.

I would make sure you have the following symbolic link which is looked up by minicom.

ln -s /dev/ttyS0 /dev/modem          

The above line assumes your're using ttyS0 (COM1).

Serial line settings MUST match on both, the Cisco and the serial port of your Linux box, that is, as an example: 9600,N,1 (9600 bps, no parity, 1 stop bit) for both devices.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.