ubuntu12.04安装配置 minicom与配置网络

5.安装配置 minicom
1. sudo apt-get install minicom
2. 关闭虚拟机后点击虚拟机设置
添加==>串口端口==>使用主机上的物理串行端口==>自动检测==>完成==>OK
3.lsusb  查看串口是否被识别,显示下列信息(插上串口)
Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
4.配置minicom:   sudo  minicom –s
选择 serial port setup ,选择 A,输入正确的串口终端一般为/dev/ttyS0(转串口为:/dev/ttyUSB0),选择 E,输入 1152008N1,选择 F 和 G 都设置为 NO,不使用流控,该单项回车保存。选择 save setup as dfl 保存全部配置。
 
6.配置网络
1.sudo  vim   /etc/network/interfaces打开
  auto  lo 
  iface  lo  inet  loopback
  其他用#注释
  保存退出
2.重启网络服务器
    sudo  service  network-manager  restart
3.自动获取网络
查看ip地址ifconfig
配置ip地址:sudo  ifconfig  eth0  xxx.xxx.xxx
断开网络:   sudo  ifconfig  eth0  down
开启网络:   sudo  ifconfig  eth0  up
 
 

posted on 2017-03-07 20:45  别人都叫我陈科  阅读(247)  评论(0编辑  收藏  举报

导航