Linux system connects the switch via the console port

Source: Internet
Author: User


First, install the minicom
Ubuntu installation: sUdo Apt-get install minicom,
CentOS Installation: Yum install minicom
Second, the configuration minicom
Ubuntu Input: sudo minicom-s
CentOS Input: minicom-s # #进入配置界面
            +-----[Configuration]------+ and                 paths      |                | File Transfer Protocols  |            | Serial Port Setup        |    # # #点进Serial Port setup and             dialing        |             and keyboard      |            | Save setup as DFL        |            | Save setup as ...          |            | Exit                     |             from Minicom        |            +--------------------------+
Check the serial name using Ls-l/dev/ttys*, general ttyS0 corresponding com1,ttys1 corresponding COM2;
View Serial drive: cat/proc/tty/drivers/serial
View serial devices: DMESG | grep ttys* (Find out which serial port is active)
+-----------------------------------------------------------------------+    |a-serial Device:/dev/ttys1| |    B-lockfile Location:/var/lock | |    C-callin Program: | |    D-callout Program: | |e-bps/par/bits:9600 8N1| |    F-hardware Flow Control:no | |    G-software Flow Control:no |                                                                       |    |    |                                              Change which setting?    | +-----------------------------------------------------------------------+            | Screen andKeyboard | |            Save Setup as DFL | |          Save setup as.            | |            Exit | | Exit fromMinicom | +--------------------------+
Red is the place to modify, a to that port activated, E to: 9600 8N1
After changing save Setup as DFL, save
Then enter minicom on the command line to connect to the switch.




Linux system connects the switch via the console port

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.