Since dec 2006
1'942'871 Visitors
4'218'042 Pages

Nov 2010 Stats
82'909 Visitors
146'476 Pages
196 countries
Full statistics

Help us translate
our tutorials!

JOIN the
OpenManiak Team.
Blaise Carrera
Tutorials creation:
Blaise Carrera
Giovanni Fredducci
Angel Chraniotis
Moham. H. Karvan
Alexandro Silva
Blaise Carrera
Andrei Chertolyas
Sergiy Uvarov
Nickola Kolev
Łukasz Nowatkowski
Ivo Raisr
Catalin Bivolaru
Bogdan A. Costea
Kirill Simonov
Oliver Mucafir
JaeYoung Jeon
Seungyoon Lee
Jie Yu & Si Cheng
Tao Wei
Fumihito Yoshida
Muhammad Takdir
Çağdaş Tülek
Leslie Luthi
Joe Anderson
Jennifer Ockwell
Nigel Titley
Alison Rees
Blaise Carrera - MINICOM - The Easy Tutorial

Other Minicom
Last Change : Aug 21 2009 french flagenglish flag

Please check our page about COVID-19!!
100 Questions and answers about Coronavirus.

Merci de consulter notre page sur la COVID-19 !!
227 questions et réponses sur le Coronavirus.

Minicom is a serial communication program to access a network or security device through its console port.
This tool is similar to Hyper Terminal, which is by default available on a Microsoft Windows system.

Let's install Minicom:

#apt-get install minicom
Check if you have active serial ports:

#dmesg | grep tty
[17179573.660000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179573.660000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

The read and write permissions are required on the /dev/ttyS0 file. The dialout group, which is the default group owner of the file, has already these rights.
You can see it with the following command:

#ls -la /dev | grep ttyS0
crw-rw---- 1 root dialout 4, 64 2007-02-26 22:55 ttyS0

If the permissions are not set as above, you can configure them as follow:

#chown root /dev/ttyS0
#chgrp dialout /dev/ttyS0
#chmod 660 /dev/ttyS0
Now we are ready to add your Debian or Ubuntu user in the dialout group:

#adduser your_user dialout
To see which users are members of the dialout group, open the /etc/group file and look for the line beginning with dialout.

#cat /etc/group | grep dialout

We can now start Minicom:

#minicom -s
minicom configuration Serial port setup minicom configuration change which setting
minicom configuration save setup as dfl minicom configuration exit minicom initializing modem
minicom welcome

To leave Minicom: Ctlr A -> Z -> X
The default config will be saved as /etc/minicom/minirc.dfl
The next time you want to use Minicom you just have to enter the following command:

To save your Minicom settings on a specific file:

#minicom -s
minicom configuration save setup as minicom configuration save setup as
The config will be saved as /etc/minicom/minirc.config1
To start Minicom with settings configured on a specific file:

#minicom -s config1