1.2. minicom - friendly serial communication program

简介:
sudo apt-get install minicom
		

环境变量

MINICOM='-m -c on'
export MINICOM		
		

setup

neo@debian:~$ sudo minicom -s
		

TUI

+-----[configuration]------+
| Filenames and paths      |
| File transfer protocols  |
| Serial port setup        |
| Modem and dialing        |
| Screen and keyboard      |
| Save setup as dfl        |
| Save setup as..          |
| Exit                     |
| Exit from Minicom        |
+--------------------------+
		

选择 Serial port setup

    +-----------------------------------------------------------------------+
    | A -    Serial Device      : /dev/ttyS0                                |
    | B - Lockfile Location     : /var/lock                                 |
    | C -   Callin Program      :                                           |
    | D -  Callout Program      :                                           |
    | E -    Bps/Par/Bits       : 9600 8N1                                  |
    | F - Hardware Flow Control : Yes                                       |
    | G - Software Flow Control : No                                        |
    |                                                                       |
    |    Change which setting?                                              |
    +-----------------------------------------------------------------------+
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------+
		

使用A键和E键分别修改串口设备和波特率,然后ESC间推出,再将光标移动到Exit处按Enter键

		
Welcome to minicom 2.3

OPTIONS: I18n
Compiled on Sep 25 2009, 23:45:34.
Port /dev/ttyS0

               Press CTRL-A Z for help on special keys


Translating "z"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
Switch>AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
        ^
% Invalid input detected at '^' marker.

Switch>en
Password:
Switch#show
Switch#show running-config
Building configuration...

Current configuration : 3265 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$zQct$RlZjEVk3PV//OrS4KYm46.
enable password 123456
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
no ip dhcp snooping information option
!
 --More--

 CTRL-A Z for help |  9600 8N1 | NOR | Minicom 2.3    | VT102 |      Offline
 		
		





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
6月前
|
Oracle 关系型数据库 Linux
Disable NUMA on database servers to improve performance of Linux file system utilities
Disable NUMA on database servers to improve performance of Linux file system utilities
45 3
|
数据库
Symantec Backup Exec Agent 推送错误Error connecting to the remote computer. Ensure that the computer is available, has WMI enabled and is not blocked by a
如果在Symantec Backup Server上推送Symantec Backup Exec Agent到数据库服务器遇到“"Error connecting to the remote computer. Ensure that the computer is available, has WMI enabled and is not blocked by a firewall"这个错误, 如下截图所示     那么完全可以参考下面官方提供的三个解决方案解决问题,几次碰到这个问题,每次都要搜索一下,特此记录一下,方便以后查找。
1347 0