分类:
2007-04-01 13:48:54
To configure minicom,pls follow the steps below:
a)log in as root,and run the command:
#minicom -s
The Minicom configuration menu appears:
b)select serial port set up and set the options for your target:
A-Serial Device: /dev/ttySx(select the port of your host)
B-Lockfile Location: /var/lock
E-Bps/Par/Bits: 9600 8N1
F-Hardware Flow Control: NO
G-Software Flow Control: NO
Press enter to return to the main configruation menu.
c)Select modem and Dialing
Erase the values for:
A-Init string,
B-Reset string,and
K-Hang-up string
Press enter to return to the main configuration menu.
d)Save values and exit
Select Save as dfl to save these as default settings.
Select Exit from minicom
e)Go back to normal user mode
Now leave the root-login,From a users command prompt enter
minicom |
一度按照这个步骤配置以后我还是不能接受和发送数据,结果一看是因为我的超级终端还开着
,占用了com1,导致虚拟机中minicom无法使用com1,关闭超级终端后,就OK了
好不容易能用了,结果每次传输文件都是超时,传输失败,在网上一搜是因为vivi中
xmodem的初始化时间设置的太短了,在vivi下使用param set xmodem_timeout
2000000来设置xmodem的超时时间就可以了,修改完以后传输就没问题了。