日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

minicom使用介紹 [TurboLinux知識(shí)庫]

 jijo 2008-05-26
minicom使用介紹 2007/10/28 11:05 當(dāng)前版本
行 1: 行 1:
  + ===== 一.Minicom介紹 =====
  + Linux下的Minicom的功能與Windows下的超級(jí)終端功能相似,可以通過串口控制外部的硬件\\
  + 設(shè)備.適于在linux通過超級(jí)終端對(duì)嵌入式設(shè)備行管理.同樣也可以使用minicom對(duì)外置Modem\\
  + 進(jìn)行控制.\\
  +
  + ===== 二.Minicom的安裝 =====
  +
  + ==== 1.rpm包方式 ====
  +
  + GTES 10,10.5,11版本都包含minicom包,你可以直接安裝他們:\\
  + <code>
  + # rpm -ivh minicom-xxx.rpm
  + </code>
  +
  + ==== 2.源碼包方式 ====
  +
  + 源碼包下載地址:\\
  + <code>
  + http://alioth./projects/minicom/
  + </code>
  + 安裝源碼包:\\
  + <code>
  + # tar zxf minicom-2.2.tar.gz
  + # cd minicom-2.2
  + # ./configure
  + # make
  + # make install
  + </code>
  +
  + ===== 三.Minicom的使用 =====
  +
  + ==== 1.界面介紹 ====
  +
  + 第一次運(yùn)行minicom,需要進(jìn)行minicom的設(shè)置:\\
  + <code>
  + # minicom -s
  +
  +             ┌─────[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        │
  +             └──────────────────────────┘
  + </code>
  + <serial port setup>\\
  + <code>
  + A — Serial Device : /dev/ttyS0
  +
  + B — lockfile Location : /var/lock
  +
  + C — Calling Program :
  +
  + D — Callout Program:
  +
  + E — Bps/par/Bits : 9600 8N1
  +
  + F — Hardware Flow Control : YES
  +
  + G — Software Flow Control : NO
  +
  + Change with setting?
  + </code>
  + 將選項(xiàng)A的值設(shè)置為/dev/ttyS0 表示是串口1.\\
  + 將選項(xiàng)E的值設(shè)置為9600.\\
  +
  +
  + 初始化設(shè)置中可以設(shè)置默認(rèn)上傳/下載的目錄,傳輸協(xié)議參數(shù),串口波特率等.設(shè)置完成后,\\
  + 選擇"Save setup as dfl",保存為默認(rèn)設(shè)置.然后選擇"Exit",按Ctrl-A,再按z,\\
  + 即可進(jìn)入Minicom的主界面.\\
  +
  + <code>
  +
  + Welco┌───────────────────────────────────────────────────────────────────┐
  +     │                    Minicom Command Summary                      │
  + OPTIO│                                                                  │
  + Compi│          Commands can be called by CTRL-A <key>                  │
  +     │                                                                  │
  + Press│              Main Functions                  Other Functions    │
  +     │                                                                  │
  +     │ Dialing directory..D  run script (Go)....G | Clear Screen.......C │
  +     │ Send files.........S  Receive files......R | cOnfigure Minicom..O │
  +     │ comm Parameters....P  Add linefeed.......A | Suspend minicom....J │
  +     │ Capture on/off.....L  Hangup.............H | eXit and reset.....X │
  +     │ send break.........F  initialize Modem...M | Quit with no reset.Q │
  +     │ Terminal settings..T  run Kermit.........K | Cursor key mode....I │
  +     │ lineWrap on/off....W  local Echo on/off..E | Help screen........Z │
  +     │                                            | scroll Back........B │
  +     │                                                                  │
  +     │      Select function or press Enter for none.                    │
  +     │                                                                  │
  +     │            Written by Miquel van Smoorenburg 1991-1995          │
  +     │            Some additions by Jukka Lahtinen 1997-2000            │
  +     │            i18n by Arnaldo Carvalho de Melo 1998                │
  +     └───────────────────────────────────────────────────────────────────┘
  + CTRL-A Z for help | 38400 8N1 | NOR | Minicom 2.00.0 | VT102 |      Offline
  + </code>
  + 可以按快捷鍵進(jìn)入相應(yīng)的菜單.\\
  +
  + ==== 2.示例 ====
  +
  + 調(diào)試北電ALTEON 180E設(shè)備示例.\\
  + <code>
  + Welcome to minicom 2.00.0
  + OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
  + Compiled on Mar 7 2005, 10:29:09.
  +
  + Press CTRL-A Z for help on special keys
  +
  + Enter password:
  + Password incorrect.
  +
  + Enter password:
  + System Information at 14:53:56 Fri Dec 15, 2006
  +
  + Alteon 180e
  + sysName: 180e
  + sysLocation:
  +
  + Switch is up 0 days, 0 hours, 8 minutes and 50 seconds.
  + Last boot: 14:45:06 Fri Dec 15, 2006 (power cycle)
  + MAC address: 00:60:cf:48:82:d0 IP (If 1) address: 0.0.0.0
  + Hardware Revision: A
  + Hardware Part No: E09_5B-B_7B-A
  + Software Version 10.0.25-SSH (FLASH image1), active configuration.
  + *****DNS Load Balancing*****
  + ------------------------------------------------------------
  + [Main Menu]
  + info - Information Menu
  + stats - Statistics Menu
  + cfg - Configuration Menu
  + oper - Operations Command Menu
  + boot - Boot Options Menu
  + maint - Maintenance Menu
  + diff - Show pending config changes [global command]
  + apply - Apply pending config changes [global command]
  + save - Save updated config to FLASH [global command]
  + revert - Revert pending or applied changes [global command]
  + exit - Exit [global command, always available]
  + </code>

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多