Working with null modem
Reference of the cable:
- Product: USB to USB Null Modem Cable
- Part number: USB NMC-2.5M
- Brand: FTDI Chip
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
};