If you would like to configure Cisco router using Linux or FreeBSD (connected to a local COM port). Use the following instruction to configure device:
1) Connect cisco router to com port using serial cable
2) Use program like minicom (type minicom at a shell prompt)
$ minicom
3) Select the port, speed and /dev/ttyS0 as com1 port and save configuration as dfl. Next select Exit
4) Continue with your router configuration…
5) For more information on minicom read man page here
6) Other links:
* Cisco Router Configuration Tutorial
* Accessing a Cisco Router using FreeBSD (command also works with linux)
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 9 comments… read them below or add one }
Hi Sir,
How r u. This is Mithun.
I’m very happy,you back again.
At this time me and Vishwas undergonig with CCNA.
This article most helpful for me.
My email-id – gaikwadmithun@yahoo.com
Thank You.
I realize this is an old post but I’ve made it my mission in life that whenever someone mentions minicom I’ll spread the good news of screen. Every admin should know GNU screen already (if not, go look it up) and it turns out that you can run ‘screen /dev/ttyS0′ and it takes care of setting up all of the speeds/etc. Plus you can disconnect and leave it running if you’re interested in catching log messages, etc.
Thanks man.
its really helping..
Hi everybody,
My problem looks like this: after establishing the connection with minicom, cu, cutecom or gtkterm my laptop (IBM T42 in the dockstation II) sends every 8 seconds “AT” string and after about 4 seconds “^Z” string.
In Exmp:
Cisco#AT
Translating “AT”
% Unknown command or computer name, or unable to find computer address
Cisco#^Z
Cisco#
Cisco#AT
Translating “AT”
% Unknown command or computer name, or unable to find computer address
Cisco#^Z
Cisco#
Cisco#AT
In that situation only cutecom allows me to work somehow (for example write an enable pass for privilaged mode). So the problem lies in configuration of the Ubuntu system 8.04 2.6.24-21.42-generic which I am using.
I would be very glad for any suggestions.
Thanks in advance,
JWedrowycz
OMG! Thank you. I have been looking for months for how to get terminal emulation from linux! This works perfectly for me.
# speshak Says: December 1st, 2007 at 4:14 pm
I realize this is an old post but I’ve made it my mission in life that whenever someone mentions minicom I’ll spread the good news of screen. Every admin should know GNU screen already (if not, go look it up) and it turns out that you can run ’screen /dev/ttyS0′ and it takes care of setting up all of the speeds/etc. Plus you can disconnect and leave it running if you’re interested in catching log messages, etc.
Dear All,
Linux#minicom -o
There are more option avilable. You have to select proper option.
Hi Sir,
How r u.I am masum parvez from Bangladesh.I had learned linux server configuaration.Now I will want to learn how to configure a cisco router into a linux server.For this please you will help me?
hi sir,
iam preparing to CCNA , which BOOK is preferable to pass the EXAM .
how to get the terminal connection (hyper terminal) from LINUX.
thanks for this