Centos minicom Communication Terminal

Source: Internet
Author: User
Tags file transfer protocol

Minicom is a serial communication software in Linux. It uses a keyboard. Although it does not have a Windows Super Terminal, it is also a method of serial communication.
1. Install minicom
Enter:
[Email protected]: ~ $ Sudo apt-Get install minicom
Note: The minicom dependency file is not integrated into the installation before Ubuntu 8.0. You need to manually install the dependency package. The installation command is:
[Email protected]: ~ $ Sudo apt-Get install lrzsz
Ii. minicom Configuration
1. Before using minicom, you must ensure that you have read and write permissions on the serial port. in Linux, the device files are stored in the/dev directory. The device file corresponding to serial port 1 is ttys0, the device file corresponding to serial port 2 is ttys1. In the terminal, type the following command to view the com permission:
[Email protected]: ~ $ Sudo LS-L/dev/ttys0
[Sudo] password for Sally:
CrW-RW ---- 1 root dialout 4, 64 2010-07-10 11: 08/dev/ttys0
It can be seen that its owner belongs to the root permission.
2. type the following command in the Super Terminal to configure minicom
[Email protected]: ~ $ Sudo minicom-S
The following interface is displayed:
+ ---- [Configuration] ---- +
| File name and path |
| File Transfer Protocol |
| Serial Port Settings |
| Modem and dialing |
| Screen and keyboard |
| Set to DFL |
| Save the settings as... |
| Exit |
| Exit minicom |
+ ------------ +
Move the cursor over the serial port settings with the up/down key. Press enter to display the following interface:
+ ----------------------------------------------------------------------- +
| A-serial port device:/dev/ttys0
| B-lock file location:/var/lock
| C-import program:
| D-call out program:
| E-bps/PAR/bits: 115200 8n1 |
| F-hardware Data Flow Control: OK
| G-Software Data Flow Control: No |
| Which setting Do You Want To modify? + ----------------------------------------------------------------------- +
Type A A-G to set related options and return to the configuration page. Select "Save settings as DFL" and exit to complete the configuration of minicom.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.