Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use minicom in CentOS system

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to use minicom in the CentOS system. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

The CentOS system runs "minicom" but has an error message:

Root@host temp] # minicom minicom: WARNING: configuration file not found, using defaults

Device / dev/modem access failed: there is no such file or directory.

Search on the Internet and find that it is OK to use minicom-s. Through man minicom, it is found that-s means configuration, and the warning message indicates that there is no configuration file.

[root@hostcy temp] # minicom-s minicom: WARNING: configuration file not found, using defaults

The following is the configuration process in the CentOS system. The interface is as follows:

Filenames and paths File transfer protocols Serial port setup Modem and dialing Screen and keyboard Save setup as dfl Save setup as.. Exit Exit from Minicom

After the CentOS system selects Serial port setup, the serial port setting menu option pops up, as follows:

A-Serial Device: / dev/ttyS1 B-Lockfile Location: / var/lock C-Callin Program: d-Callout Program: e-Bps/Par/Bits: 38400 8N1 F-Hardware Flow Control: Yes G-Software Flow Control: No Change which setting?

Press A to change ttyS1 to ttyS0, because my laptop has only one serial port COM1, if you use other corresponding settings of your own. Press E, select Bps/Par/Bits to 115200 8N1, I think the general development board should be set up like this. Then press F to change Yes to No and exit.

The result before quitting should look like this:

A-Serial Device: / dev/ttyS0 B-Lockfile Location: / var/lock C-Callin Program: d-Callout Program: e-Bps/Par/Bits: 115200 8N1 F-Hardware Flow Control: No G-Software Flow Control: No Change which setting?

After exiting, select the following Save setup as dfl and save it as the default read configuration file.

Filenames and paths File transfer protocols Serial port setup Modem and dialing Screen and keyboard Save setup as dfl Save setup as.. Exit Exit from Minicom

Select Exit, exit the configuration interface to reach the serial port, and then when you use it, run minicom directly, and you can use it in the CentOS system.

The above is how to use minicom in the CentOS system. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report