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

Linux server simply sets up minicom

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Minicom will normally be installed in the Linux server, the version generally does not need to be updated, can be used directly.

1. Setting:

1.1. execute the minicom-s command under the Linux system, and enter:

1.2.Select the third item and enter (Serial port setup)

1.3. There are three points to note in the above figure:

1.3.1. Press the A key to modify the serial device name identified by the system. The default is / dev/ttyUSB0. Enter to confirm the modification.

1.3.2. Press the E key to modify the bit rate, 115200, and enter to confirm the modification.

1.3.3. Press the F key, select NO, and press enter to confirm the modification.

Finally, enter again to confirm that all the modifications are successful.

Save the configuration and select item 5 (Save setup as dfl)

1.5. exit normally and select the last item (Exit from Minicom)

Execute minicom and wait 5 seconds before you can connect to the device.

1.7. if you want to exit the mincom terminal, press the Ctrl+ a key, press the z key, and finally press the Q key, select yes to exit.

Second, frequently asked questions:

2.1. The operation is not allowed:

Solution: because someone is using minicom, you can kill the system process to solve the problem:

[root@bogon /] # ps-ef | grep minicom

Root 18185 17884 0 16:14 pts/1 00:00:00 minicom

Root 18283 18062 0 16:23 pts/2 00:00:00 grep-color=auto minicom

[root@bogon /] # kill-9 18185 [root@bogon /] # ps-ef | grep minicom

Root 18307 18062 0 16:25 pts/2 00:00:00 grep-color=auto minicom

2.2. The modified configuration cannot be saved with minicom-s:

Solution: under the cd root directory

Using the ls-a command, you will find a hidden file named .minirc.dfl

Just delete the file (rm-rf .minirc.dfl)

Modify the parameters again and you can save them normally.

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