ArchLinux Install serial terminal Ckermit

Source: Internet
Author: User
Tags dmesg

1. Connect the USB to the serial port to the PC. The DMESG command allows you to see if the USB to serial port is recognized by the PC.
Show ... attachec to TtyUSB0 is recognized.
Linux system generally has USB to serial port drive, do not install.


2. Install the ckermit.
[email protected] ~]$ sudo pacman-s ckermit


3. Configure Kermit.
[Email protected] ~]$ gedit. KERMRC
Enter the following and save:
Set line/dev/ttyusb0
Set Speed 115200
Set Carrier-watch off
Set Handshake None
Set Flow-control None
Robust
Set File Type Bin
Set file name lit
Set REC Pack 1000
Set Send Pack 1000
Set Window 5


4. If you add a line under Set window 5, C, the Ckermit will automatically connect to the serial port after startup, otherwise you need to manually ckermit the prompt hyphenating
Enter the command "C" or "connect" (excluding double quotes) to connect to the serial port. or direct input command: sudo ckermit-c
In the state of the serial connection, press "Ctrl+\" and enter "C" to return to Ckermit.


5. Move the. kermrc file to the/root directory. Otherwise the connection will be error: Sorry, you must set line or set HOST first.
[email protected] ~]$ sudo mv. kermrc/root


6. When configuring Ckermit, the set line/dev/ttyusb0 may not be ttyUSB0, and you can view the installation-driven information by DMESG.
or use ls-l/dev/ttyusb* to see the relevant information, or LS-L/dev/tty*

ArchLinux Install serial terminal Ckermit

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.