美文网首页
Ubuntu虚拟机开串口

Ubuntu虚拟机开串口

作者: 少女白洁 | 来源:发表于2019-06-24 18:11 被阅读0次

Ubuntu虚拟机开串口

虚拟机里启动指令加上console=ttyS0,115200
echo "任意一个字符串" >ttyS0
在虚拟机外面能看到字符打印出来

VirtualBox里面配置字符设备为主机管道


image.png

主机设备相当于串口直通
TCP在windows上基本不能用

参考:
http://pwn4.fun/2017/07/01/VirtualBox上调试Linux-Kernel/

相关文章

网友评论

      本文标题:Ubuntu虚拟机开串口

      本文链接:https://www.haomeiwen.com/subject/lfzoqctx.html