lost and found ( for me ? )

Linux: minicom を使って、ネットワーク機器にシリアル接続

# cat /etc/redhat-release
CentOS release 5.4 (Final)

# rpm -qa | grep minicom
minicom-2.1-3

- minicom の設定 ( /etc/minirc.dfl )

# cat /etc/minirc.dfl
# Machine-generated file - use "minicom -s" to change parameters.
pr port             /dev/ttyS0
pu baudrate         9600
pu minit
pu mreset
pu rtscts           No


# LANG=C minicom -s

で上記設定をしてもOK。( 文字化けするので LANG=C を指定 )

- 接続

# LANG=C minicom
Welcome to minicom 2.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jan  7 2007, 04:48:39.

Press CTRL-A Z for help on special keys


User Access Verification

Username:admin
Password:
Switch#


Ctrl-A X で minicom からぬける。

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.