Bug #16323
open
Serial/Console Baud Rate Cannot Be Changed
Added by Alex Ellington about 2 months ago.
Updated about 1 month ago.
Affected Plus Version:
24.11
Affected Architecture:
amd64
Description
Despite whatever baud rate is set in the settings (System->Advanced->Admin Access), successful serial connections only work with the default of 115200/8/N/1. Any other settings will appear garbled. Pictures are attached showing the issue.
Hardware:
Netgate 6100
Firmware Version:
24.11-RELEASE (amd64)
The "password protect the console menu" is in use.
Files
1.png (18 KB)
1.png |
|
Alex Ellington, 07/18/2025 06:22 PM
|
|
2.png (49.8 KB)
2.png |
|
Alex Ellington, 07/18/2025 06:22 PM
|
|
3.png (8.7 KB)
3.png |
|
Alex Ellington, 07/18/2025 06:22 PM
|
|
4.png (49.8 KB)
4.png |
|
Alex Ellington, 07/18/2025 06:22 PM
|
|
5.png (12.6 KB)
5.png |
|
Alex Ellington, 07/18/2025 06:22 PM
|
|
Alex Ellington wrote:
Despite whatever baud rate is set in the settings (System->Advanced->Admin Access), successful serial connections only work with the default of 115200/8/N/1. Any other settings will appear garbled. Pictures are attached showing the issue.
Hardware:
Netgate 6100
Firmware Version:
24.11-RELEASE (amd64)
I confirmed that this error happens for Netgate 3100 too. I changed it to 9600, but it can still be connected with 115200 baud rate only.
The "password protect the console menu" is in use.
- Status changed from New to Confirmed
Confirmed this on 6100 25.07.r.20250715.1733.1500029
changed serial speed to 57600 > restarted firewall > attempted to connect using screen (garbled text)
was still able to connect using 115200 serial speed
confirmed serial speed is not respected once changed, XG-7100 on 25.07.r.20250715.1733
Has anyone tried this on a non-EFI device to see if it works there?
This may only affect EFI consoles as they are different/special in this way. Though there are possibly a couple contributing factors.
/boot/loader.conf.lua
has a hardcoded line declaring comconsole_speed="115200"
but changing that doesn't seem to have any effect on the EFI console speed
- The lines in
/boot.config
and /boot/loader.conf
are updated with the appropriate speed
- We may need to set
efi_com_speed
to match the desired speed, though in my limited testing that didn't appear to have any effect on its own either
- In each case no matter what I set, this sysctl value was unchanged:
hw.uart.console="io:1016,br:115200"
- Setting that manually in
/boot/loader.conf.local
to the desired speed did work.
- Don't just use that exact value, copy the current value and adjust the speed because different devices will have different addresses/console types there.
Jim Pingle wrote in #note-4:
Has anyone tried this on a non-EFI device to see if it works there?
This may only affect EFI consoles as they are different/special in this way. Though there are possibly a couple contributing factors.
/boot/loader.conf.lua
has a hardcoded line declaring comconsole_speed="115200"
but changing that doesn't seem to have any effect on the EFI console speed
- The lines in
/boot.config
and /boot/loader.conf
are updated with the appropriate speed
- We may need to set
efi_com_speed
to match the desired speed, though in my limited testing that didn't appear to have any effect on its own either
- In each case no matter what I set, this sysctl value was unchanged:
hw.uart.console="io:1016,br:115200"
- Setting that manually in
/boot/loader.conf.local
to the desired speed did work.
- Don't just use that exact value, copy the current value and adjust the speed because different devices will have different addresses/console types there.
Tested with non-EFI, but nothing changed, and still working with 115200 baudrate
tested with a 5100 installed booting BIOS with 25.07 and the serial speed setting is retained in the web interface but still only able to connect using 115200
- Assignee set to Reid Linnemann
- Target version set to 25.11
I'll have a look at this for 24.11, I imagine the scripted loader config introduced a bug here.
Also available in: Atom
PDF