Difference between revisions of "Minicom"

From Linuxintro
imported>ThorstenStaerk
(New page: Minicom is a program that lets you initiate a communication over a serial interface. = TroubleShooting = * If you get minicom: cannot open /dev/modem: No such file or directory link /de...)
 
imported>ThorstenStaerk
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Minicom is a program that lets you initiate a communication over a serial interface.
+
Minicom is a program that lets you initiate a session over a serial interface. Typically you will have a device like a [[network switch]] with a [http://en.wikipedia.org/wiki/DE-9 DE-9] connector that can be configured over using a serial cable. The manual will tell you which mode to choose for connecting, e.g. 9600-8-N1.
 +
 
 +
= Usage =
 +
Start minicom by [[opening a console]] and typing
 +
minicom -s
 +
for setup. After that, start
 +
minicom
 +
 
 +
You will get a message it is initializing a modem (even if you don't have one), then a screen like this:
 +
<pre>
 +
Welcome to minicom 2.3
 +
 
 +
OPTIONS: I18n
 +
Compiled on Feb 21 2009, 01:32:28.
 +
Port /dev/modem
 +
 
 +
              Press CTRL-A Z for help on special keys
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
CTRL-A Z for help | 57600 8N1 | NOR | Minicom 2.3    | VT102 | Online 00:00
 +
</pre>
  
 
= TroubleShooting =
 
= TroubleShooting =

Latest revision as of 09:00, 10 December 2010

Minicom is a program that lets you initiate a session over a serial interface. Typically you will have a device like a network switch with a DE-9 connector that can be configured over using a serial cable. The manual will tell you which mode to choose for connecting, e.g. 9600-8-N1.

Usage

Start minicom by opening a console and typing

minicom -s

for setup. After that, start

minicom

You will get a message it is initializing a modem (even if you don't have one), then a screen like this:

Welcome to minicom 2.3

OPTIONS: I18n
Compiled on Feb 21 2009, 01:32:28.
Port /dev/modem

               Press CTRL-A Z for help on special keys

















 CTRL-A Z for help | 57600 8N1 | NOR | Minicom 2.3    | VT102 | Online 00:00

TroubleShooting

  • If you get
minicom: cannot open /dev/modem: No such file or directory

link /dev/modem to your serial port device; for com1, this is usually /dev/ttyS0:

root@computer:~$ ln -s /dev/ttyS0 /dev/modem