/dev/ttyS0: not a tty

I just setup a VyOS vm to learn and eventually adopt if all goes well.

I was watching the log, and see this exactly every 10 seconds

Oct 14 14:47:07 vyos systemd[1]: serial-getty@ttyS0.service: Succeeded.
Oct 14 14:47:07 vyos systemd[1]: serial-getty@ttyS0.service: Scheduled restart job, restart counter is at 5654.
Oct 14 14:47:07 vyos systemd[1]: Stopped Serial Getty on ttyS0.
Oct 14 14:47:07 vyos systemd[1]: Started Serial Getty on ttyS0.
Oct 14 14:47:07 vyos agetty[84750]: /dev/ttyS0: not a tty

Found some things on reddit about this for general linux systems, but not sure what to do about it in the context of VyOS.
Thanks!

Delete this bit of config from your Vyos configuration:

console {
    device ttyS0 {
        speed 115200
    }

It’s there for people with an actual hardware device who have a console plugged into the serial port. If you have a VM you won’t have a serial port (though you can add an emulated one)

Got it. Thank you. :grinning:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.