Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
[SOLVED] USB Serial port does not work after upgrade from 22.7.11 to 23.1
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] USB Serial port does not work after upgrade from 22.7.11 to 23.1 (Read 2136 times)
nghappiness
Newbie
Posts: 40
Karma: 2
[SOLVED] USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
on:
January 28, 2023, 02:10:19 am »
I have a HP T740, I used a USB serial port to enable serial console to opnsense. Since I upgraded to 23.1. The serial console does not work anymore. Please show me how to troubleshoot it.
[2/4/2023 update] I reinstall 23.1 and restore my config. The USB serial port on the T740 is working again...
«
Last Edit: February 05, 2023, 01:31:18 am by nghappiness
»
Logged
feld
Newbie
Posts: 30
Karma: 1
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #1 on:
January 31, 2023, 07:21:17 pm »
I have the same issue on my DEC840.
There's a known change with FreeBSD 13 and serial consoles. On other hardware I ran into the same thing where you need to disable Legacy UART in the BIOS which is what I did on my DEC840 so now my serial console works when the system is booted, but I can't see any of the boot process over serial anymore which is the opposite of what I had before.
The solution is to correct parameters in /boot/loader.conf, so hopefully OpnSense has an update soon to address this.
Logged
chemlud
Hero Member
Posts: 2481
Karma: 112
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #2 on:
January 31, 2023, 08:56:15 pm »
Is the serial console the "Primary Console" under System -> Settings -> Administration?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
nghappiness
Newbie
Posts: 40
Karma: 2
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #3 on:
February 01, 2023, 03:43:55 am »
Quote from: chemlud on January 31, 2023, 08:56:15 pm
Is the serial console the "Primary Console" under System -> Settings -> Administration?
In 22.7.x I had
Console driver checked
Primary Console EFI Console
Secondary Console Serial Console
USB-base Serial checked
After upgrade to 23.1, it stuck at EFI framebuffer information. I turn off the secondary console serial console. I am able to boot up now.
But I lost the serial console access.
Logged
feld
Newbie
Posts: 30
Karma: 1
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #4 on:
February 01, 2023, 04:25:36 pm »
Quote from: chemlud on January 31, 2023, 08:56:15 pm
Is the serial console the "Primary Console" under System -> Settings -> Administration?
Primary: Serial Console
Secondary: none
Serial Speed: 115200
USB-based serial: UNCHECKED
I did not change these settings, so I'm actually surprised to see that the USB serial is unchecked as I'd expect it to be checked...
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #5 on:
February 01, 2023, 04:54:05 pm »
See
https://docs.opnsense.org/hardware/serial_connectivity.html#legacy-uart-vs-uefi-serial
required BIOS setting. It's an USB interface, but not a USB serial so leave unchecked.
Cheers,
Franco
Logged
Patrick M. Hausen
Hero Member
Posts: 6797
Karma: 571
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #6 on:
February 01, 2023, 09:54:36 pm »
To elaborate on @franco's answer: it's a plain old UART to the OPNsense/FreeBSD operating system, not a USB serial connection.
Since many laptops nowadays come without serial ports there is a USB to serial converter
for the desktop system you connect
built into the appliance. So you plug in a USB cable, you get a USB serial device
on Windows/Mac/Linux/whatever
... this serial device is connected to the serial port of OPNsense.
Hope that explains things.
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
nghappiness
Newbie
Posts: 40
Karma: 2
Re: USB Serial port does not work after upgrade from 22.7.11 to 23.1
«
Reply #7 on:
February 01, 2023, 11:26:35 pm »
Hi Patrick,
Sorry, I am a bit lost. This is my current setup, Serial console access was working in 22.7.
[HP T740 USB type A port ]---[USB A to Serial DB9 adapter] --- Null Modem cable ---Serial port [Windows laptop]
Should I check the USB Serial port option?
I checked the HP T740, I don't find a way to disable the Legacy UART.
«
Last Edit: February 02, 2023, 12:14:13 am by nghappiness
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
[SOLVED] USB Serial port does not work after upgrade from 22.7.11 to 23.1