ubuntu下kermit的安装和配置
系统:ubuntu
安装:
$ sudo apt-get install ckermit
配置:
$ gedit ~/.kermrc
添加如下配置:
set line /dev/ttyUSB0
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
启动:
$ kermit -c
错误:
如果出现以下错误:
linux@linux-vm:~$ kermit
/dev/ttyUSB0: Permission denied
?SET SPEED has no effect without prior SET LINE
Sorry, you must SET LINE or SET HOST first
C-Kermit 9.0.302 OPEN SOURCE:, 20 Aug 2011, for Linux+SSL+KRB5
Copyright (C) 1985, 2011,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/linux/) C-Kermit>
需要修改/dev/ttyUSB0的权限:
sudo chmod 777 /dev/ttyUSB0
完成。