Debian jessie serial

使用此处提供的image, 并在Alix 设备上配置COM接口输入输出, CentOS-7查看此处

systemctl start serial-getty@ttyS0.service
systemctl enable serial-getty@ttyS0.service
ps aux | grep getty

/etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT=""
#GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,12500n8"
#Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
#Uncomment to enable serial console boot
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"

重新生成启动菜单:

update-grub
  • linux/debian/debian_serial.txt
  • 最后更改: 2019/09/02 11:13
  • 由 mrco