引入:
在Windows下经常使用超级终端来调试交换机、路由器,现在我的日常所用系统为Arch,为了让自己在Linux环境下也可以使用类似超级终端的程序,我进行了如下
有两种软件可用:
第一种:minicom
安装
$ sudo pacman -S minicom
配置Minicom[必须通过超级用户来修改]
$ sudo minicom -s
在如下界面中:选取“Serial port setup ”
- +-----[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 |
- +--------------------------+
配置结果如下:
- +-----------------------------------------------------------------------+ | A - Serial Device : /dev/ttyS0 |
- | B - Lockfile Location : /var/lock | | C - Callin Program : |
- | D - Callout Program : | | E - Bps/Par/Bits : 9600 8N1 |
- | F - Hardware Flow Control : No | | G - Software Flow Control : No |
- | | | Change which setting? |
- +-----------------------------------------------------------------------+
注意:minicom一定要正常退出,否则会驻留在一定消耗CPU。
此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/66441.html