I have a Linux system that has USB ports, no RS-232 port. I would like to be able to plug in a USB cable into the Linux system and the other end of the USB cable into my PC, which happens to be running Windows 11 and has PuTTY.
The cable I need create I can do, it will be little more than a FTDI USB cable at one end and a simple USB connector at the other. Where I use a USB connector rather than a RS0-232 connector, and the FTDI TX <> RX USB connector, FTDI RX <> TX USB connector, and common GND of course. I will have to ensure 3.3v or 5v signaling depending on what the FTDI chip can handle. Regardless of the physical cabling, really a null modem like, here is the issue, the real question, the Software configuration?
How do I configure the Linux system to establish a getty session to a specific USB port? Lets assume I can figure that out, so it is /dev/ttyUSB0 or such for the sake of discussion?
The Linux system is systemd based, so I understand it, I can't use a UDEV rule/script to setup the terminal session, because it would be a long lived child or grandchild process.
And I know the this terminal session will not be a true mimic of the system console, that is ok, I just need a session once the system is up.
I know this is a long lead up to the question, thanks for the forbearance. It is the software configuration on the Linux system, that I really need the help with.