Linux minicom is a serial port debugging tool in Linux, similar to a Super Terminal in windows.
1. Install minicom:
Check whether the system has installed minicom. If not, install minicom on your own.
[Root @ Web Server] # rpm-Q minicom
Minicom-2.1-3
Ii. configuration (root user required)
The configuration page is displayed after minicom-S is executed.
======================================
[Configuration]
Filename and paths
File Transfer and protocols
Serial Port setup
Modem and dialing
Screen and keyboard
Save setup as DF1
Save setup ......
Exit
Exit from minicom
======================================
Use the down key to select Serial Port setup, and press enter to display the settings page.
======================================
A-serial device:/dev/ttys0
B-lockfile location:/var/lock
C-calling program:
D-callout program:
E-bps/PAR/bits: 9600 8n1
F-hardware Flow Control: Yes
G-software flow control: No
Change with setting?
======================================
Press a and set the serial port device to/dev/ttys0 (COM1 in Windows)
Press E: Set to 9600.
Press enter to save the settings and return to the main menu. You can select Save setup as DF1 (set as the default configuration ).
Select exit to exit after setting.
3. directly input minicom to perform the operation just like using a Windows Super Terminal.
Enter minicom directly to access the serial port to debug your device, such as a switch. If you need help or exit after debugging or debugging, press Ctrl + A and enter the letter Z.