1.安装sudo yum install ckermit2.配置vim ~/.kermrc#内容如下set line /dev/ttyS0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5#保存退出3.连接串口sudo kermit -c#出现如下提示:?SET SPEED has no effect without prior SET LINESorry, you must SET LINE or SET HOST first#出现这个的原因是kermit是root用户的,在运行时不会使用~/.kermrc配置#解决办法,将配置文件移动到root目录下sudo mv ~/.kermrc /root/#这个办法是参考一网上的方案的,详见http://www.linuxidc.com/Linux/2012-11/74558p2.htm ,不过我对作者关于Ubuntu 9.04不能使用~/.kermrc配置持保持态度,因为我以前使用Ubuntu 9.04LTS和Ubuntu 10.04LTS都没有出现这个问题。#正常运行是如下提示:Connecting to /dev/ttyS0, speed 115200Escape character: Ctrl- (ASCII 28, FS): enabledType the escape character followed by C to get back,or followed by ? to see other options.----------------------------------------------------
Communications disconnect (Back at localhost.localdomain)----------------------------------------------------C-Kermit 9.0.301 OPEN SOURCE:, 11 Jul 2011, for LinuxCopyright (C) 1985, 2011,Trustees of Columbia University in the City of New York.Type ? or HELP for help.#另一个要注意的是:在串口通信下,外接键盘无法响应Ctrl+和c组合键,使用笔记本上的按键就没问题。使用dmesg | grep tty* 可以查看到有几个串口.
RHEL6.0下sudo切换缓慢问题解决rsync+inotify一键安装脚本相关资讯 RHEL6.0 C-kermit
- Ubuntu下C-kermit的使用 (07/07/2013 08:41:52)
- RHEL6.0下sudo切换缓慢问题解决 (11/21/2012 09:28:05)
| - Ubuntu 12.04下编译C-Kermit 9.0. (07/07/2013 08:30:32)
|
本文评论 查看全部评论 (0)