dealy663
Dabbler
- Joined
- Dec 4, 2021
- Messages
- 32
Hi, I'm on TN Scale TrueNAS-SCALE-22.02.4 and am trying to get a serial console connection working. The hangup seems to be that TrueNas is trying to use ttyS0 for the console, and there is no option to change it to ttyUSB0 (which is where my USB to serial cable is assigned). I see that when I make other changes to the serial console in the GUI that the changes show up in /etc/default/grub.d/truenas.cfg. Editing this file by hand isn't enough, the changes don't survive a restart.
I am thinking that I need to change:
GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty1"
to
GRUB_CMDLINE_LINUX="console=ttyUSB0,115200 console=tty1"
How can I make this change to enable my USB to Serial cable? I've seen a few references here and in other places suggesting using the midclt command can change kernel extra options. But I can't find any documentation on that command anywhere so far, and am not sure if it can update the GRUB_CMDLINE_LINUX option in that file.
Thanks in advance, Derek
I am thinking that I need to change:
GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty1"
to
GRUB_CMDLINE_LINUX="console=ttyUSB0,115200 console=tty1"
How can I make this change to enable my USB to Serial cable? I've seen a few references here and in other places suggesting using the midclt command can change kernel extra options. But I can't find any documentation on that command anywhere so far, and am not sure if it can update the GRUB_CMDLINE_LINUX option in that file.
Thanks in advance, Derek