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-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

It is believed that many inexperienced people have no idea about how to use minicom in CentOS system. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

First of all, let you understand the CentOS system, and then comprehensively introduce the use of minicom software in the CentOS system. I hope it will be useful to you. Because you want to use serial port minicom to configure equipment, so consider using serial port management software, it is easier to use windows, it is better to use hyperterminal directly.

It's OK to use CRT, but linunx is a little more troublesome. A few days ago, I used minicom software with redhat Enterprise Edition 4.0, and wrote a ppt to explain how to use it. Now I forgot how to use CentOS. A few days ago, I was in a hurry to use putty directly. This software can use serial port directly. But there is a problem, that is, it is unable to copy. It is more troublesome to encounter long strings. Think about using minicom software. Run "minicom" with 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 the man minicom software, 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. 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 software

After selecting Serial port setup, the serial port settings menu options will pop 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 run the minicom software directly when you use it.

Tag tag: Linux,CentOS,minicom

After reading the above, have you mastered how to use minicom in the CentOS system? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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