Article Title: minicom is used in CentOS. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Before giving you a detailed introduction to the mini-com software, let's first let you know about the CentOS system, and then give a comprehensive introduction to the use of mini-com software in the CentOS system, hoping to be useful to you. Because the serial port minicom is used to configure the device, it is easier to use the serial port management software in windows.
You can also use CRT. linunx is a little more troublesome. previously, I used minicom software in redhat Enterprise 4.0, and wrote a ppt to explain how to use it. Now I forgot how to use CentOS. I was anxious to use putty a few days ago, this software can be used directly by serial port, but there is a problem, that is, it cannot be copied. It is troublesome to encounter long strings. Think about it or use the mini-com software, run "minicom" but an error message is displayed: [root @ host temp] # minicom
Minicom: WARNING: configuration file not found, using defaults
Device/dev/modem access failed: No file or directory.
You can search for minicom-s from the Internet, and use man minicom to find that-s indicates configuration, the WARNING message indicates that no configuration file [root @ hostcy temp] # minicom-s minicom: WARNING: configuration file not found, using defaults is displayed.
The configuration process is as follows:
Filenames and paths
File transfer protocols
Serial port setup
Modem and dialing
Screen and keyboard
Save setup as dfl
Save setup ..
Exit
Exit from minicom Software
After Serial port setup is selected, the Serial port settings menu is displayed, as shown below:
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 notebook only has one serial port com1. if you use other settings. Press E and set Bps/Par/Bits to 115200 8N1. I think the general development board should be set like this. Then press F to change Yes to No and exit.
The result before exiting should be as follows:
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 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 ..
Exit
Exit from Minicom
Select Exit and Exit the configuration interface to reach the serial port. When you use it again, run the minicom software directly.
Before giving you a detailed introduction to the mini-com software, let's first let you know about the CentOS system, and then give a comprehensive introduction to the use of mini-com software in the CentOS system, hoping to be useful to you. Because the serial port minicom is used to configure the device, it is easier to use the serial port management software in windows.
You can also use CRT. linunx is a little more troublesome. previously, I used minicom software in redhat Enterprise 4.0, and wrote a ppt to explain how to use it. Now I forgot how to use CentOS. I was anxious to use putty a few days ago, this software can be used directly by serial port, but there is a problem, that is, it cannot be copied. It is troublesome to encounter long strings. Think about it or use the mini-com software, run "minicom" but an error message is displayed: [root @ host temp] # minicom
Minicom: WARNING: configuration file not found, using defaults
Device/dev/modem access failed: No file or directory.
You can search for minicom-s from the Internet, and use man minicom to find that-s indicates configuration, the WARNING message indicates that no configuration file [root @ hostcy temp] # minicom-s minicom: WARNING: configuration file not found, using defaults is displayed.
The configuration process is as follows:
Filenames and paths
File transfer protocols
Serial port setup
Modem and dialing
Screen and keyboard
Save setup as dfl
Save setup ..
Exit
Exit from minicom Software
After Serial port setup is selected, the Serial port settings menu is displayed, as shown below:
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 notebook only has one serial port com1. if you use other settings. Press E and set Bps/Par/Bits to 115200 8N1. I think the general development board should be set like this. Then press F to change Yes to No and exit.
The result before exiting should be as follows:
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 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 ..
Exit
Exit from Minicom
Select Exit and Exit the configuration interface to reach the serial port. When you use it again, run the minicom software directly.