在root用戶下輸入minicom。
1.如果出現:minicom: WARNING: configuration file not found, using defaults
Device /dev/modem access failed: 沒有那個文件或目錄.
表示要設置minicom配置文件。
輸入:minicom -s
此時,顯示:
………………………………[configuration]……………………………………
…………………… Filename and paths …………………………
…………………… File transfer and protocols …………………………
…………………… Serial port setup …………………………
…………………… Modem and dialing …………………………
…………………… Screen and keyboard …………………………
…………………… Save setup as df1 …………………………
…………………… Save setup as…… …………………………
…………………… Exit …………………………
…………………… Exit from minicom …………………………
……………………………………………………………………………………
2. 使用down箭頭選擇serial port setup,出現具體各選項的配置:
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?
將選項A的值設置爲/dev/ttyS0 表示是串口1。
如果需要修改選項A的值,在Change with setting?選項後輸入A則光標轉移到A選項後,
可以對A選項的值進行修改。修改完,按回車鍵返回
3. 設置Modem and dialing
使用方向箭頭選中modem and dialing 項,則修改modem and dialing 選項中的配置項。
需要修改的是去掉A — initing string ……:,B — Reset string ……:
K — Hang-up string ……三個配置項。
4. 選擇Save as df1。
選擇Save as df1選項將修改後的配置信息進行保存爲默認的配置選項。
5. Exit from minicom 。
選擇Exit from minicom 選項從配置菜單返回到命令行。
6. 重新啓動Minicom。
minicom就向windows下的超級終端
轉載:http://www.91linux.com/html/article/linux_soft/20090205/15645.html