Menu
Download minicom packages for ALTLinux, Arch Linux, CentOS, Debian, Fedora, FreeBSD, Mageia, NetBSD, OpenMandriva, openSUSE, PCLinuxOS, ROSA, Slackware, Ubuntu.
Contents |
Minicom is a text-based serial port communications program. It is used to talk to external RS-232 devices such as mobile phones, routers, and serial console ports.
Install the program with:
Alternatively, you can get Minicom via the Synaptic Package Manager.
In order to find the name of your port(s) enter this command in terminal:
If it is a direct serial connection, the output will be something like this:
For a USB-to-Serial adapter, one may see:
What we are interested in is the name of the serial port. In the first section above it is ttyS0, the other is ttyUSB0. which we will need in order to use Minicom. Next, enter in a terminal enter:
One will next choose 'Serial port setup'. Then, adjust the Serial Device to the device one has, for example:
Next, one will want to consult the hardware vendor's manual for the Bits per second, data bits, Parity, stop bits, and Flow control. Once these have been adjusted, one may want to also go to the Modem and dialing menu and remove all information in setting options A through I. Once configured, one may 'Save setup as dfl', which will save these as the default configurations for future connections (/etc/minicom/minirc.dfl). Once saved, one may choose Exit, and one is at the minicom prompt. Hit enter, and you may be asked for your username, indicating a successful connection.
To exit Minicom when in terminal mode press 'Ctrl-A' to get a message bar at the bottom of the terminal window and then press 'X'.
Another useful Option is to log all information to a file which will be saved in your Home directory. Select 'Filenames and paths' and press 'F' (Logging options). By default this will be saved as 'minicom.log', but change it to whatever you like with the 'A' key. Press 'Enter' to save the changes.
- http://manpages.ubuntu.com/manpages/trusty/man1/minicom.1.html - Manual web page
- https://help.ubuntu.com/community/CiscoConsole - Cisco network equipment specific
- https://help.ubuntu.com/community/DialupModemHowto/SetUpDialer - Dialup modem (alternative method3)
- https://help.ubuntu.com/community/SerialConsoleHowto
Original author(s) | Miquel van Smoorenburg |
---|---|
Developer(s) | Adam Lackorzynski |
Stable release | 2.7.1 / April 18, 2017; 2 years ago[1] |
Repository | salsa.debian.org/minicom-team/minicom |
Written in | C |
Operating system | Linux, POSIX |
Platform | Cross-platform |
Type | Terminal emulator |
License | GPL |
Website | salsa.debian.org/minicom-team/minicom |
Minicom running a Windows 2003 EMS prompt
Minicom is a text-basedmodem control and terminal emulator program for Unix-like operating systems, originally written by Miquel van Smoorenburg, and modeled after the popular MS-DOS program Telix. Minicom includes a dialing directory, ANSI and VT100emulation, an (external) scripting language, and other features. Minicom is a menu-driven communications program. It also has an auto ZMODEM download.
A common use for Minicom is when setting up a remote serial console, perhaps as a last resort to access a computer if the LAN is down. This can be done using nothing more than an old 386 laptop with a Minicom floppy distribution such as Pitux or Serial Terminal Linux.
See also[edit]
References[edit]
- ^'minicom - Project Home (git repository)'. Debian. Retrieved 19 April 2017.
External links[edit]
- minicom(1) – Linux User Commands Manual
- Bill McCarty (September 1999). '11.7 Using minicom and seyon'. Learning Debian GNU/Linux. O'Reilly & Associates. Retrieved 8 March 2009.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Minicom&oldid=934821910'