Centos 5.3 using minicom

Source: Internet
Author: User

Reference: http://www.linuxidc.com/Linux/2008-01/10939.htm

Because serial port configuration is required, it is easier to use the serial port management software in windows. It is better to use a Super Terminal or CRT. linunx is a little more troublesome, previously, I used minicom in RedHat Enterprise 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 worried about using putty directly. This software can be used directly by using a serial port. But there is a problem, that is, it cannot be copied, And it is troublesome to encounter long strings, run "minicom" with the following error message:[Root @ host temp] # minicom


Minicom: Warning: configuration file not found, Using defaults
Device/dev/modem access failed: No file or directory.

You can use minicom-s after searching on the Internet. Man minicom indicates that-s indicates configuration, and the warning message indicates that no configuration file exists.

[Root @ hostcy temp] # minicom-S
Minicom: Warning: configuration file not found, Using defaults

 

The following is the configuration process. 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

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 minicom directly.

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.