Serial console using usb2serial adapter?
#1
I have manjaro booting and I can interact with it using the woodpecker.

I would like to configure manjaro (or another distro if easier) to get me a console on /dev/ttyUSB0 (FTDI FT232R) and for it to be there by default on cold boot.

I found this article https://wiki.archlinux.org/title/working...al_console but I think it relates to a normal PC that boots with grub.  I don't know how I would do this on a Quartz64.

thanks
  Reply
#2
I got it working
Code:
sudo systemctl enable getty@ttyUSB0.service
By default connecting at 9600 8N1 works.
Even if the USB2serial isn't present at boot, it seems to work when you do plug it in.

It also means that you can have a "normal" OS on eMMC, which doesn't have the serial console thing, and put Manjaro with the above config on a MicroSD card as a "rescue" OS.
If the normal one isn't doing what you want, turn off the box, put the microSD card in, connect a USBtoSerial->nullmodem->serialtoUSB->laptop and boot up the microSD and you have a linux console.
  Reply
#3
With the SLARM64 builds this can be achieved by adding a line like this to /etc/inittab:-
Code:
s2:12345:respawn:/sbin/agetty -L ttyUSB0 115200 vt100

if you want to login directly as root then add ttyUSB0 to /etc/securetty
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)