Skip to main content

Working with null modem

Reference of the cable:

Drivers for MacOS:

On the host side:

sudo picocom -b 115200 /dev/tty.usbserial-1

On the guest VM side:

  boot.kernelParams = [
"console=ttyUSB0,115200" "earlyprintk=ttyUSB0,115200"
];

systemd.services."serial-getty@ttyUSB0" = {
enable = true;
wantedBy = [ "getty.target" ]; # to start at boot
serviceConfig.Restart = "always"; # restart when session is closed
};