Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Hobby-Student

#1
Quote from: Gauss23 on October 26, 2024, 08:29:59 AM
Did you use the getting-started script with podman, too? Or did you configure the management node manually?

I tried the script once and it failed completely (also with docker). So I did it manually.
#2
Quote from: Gauss23 on September 18, 2024, 09:55:30 PM
Ok, so podman seems to be the issue here. What speaks against using docker?

I have netbird (as management, as client and zitadel) running in podman rootless containers - running on multiple hosts. Everything is working fine.
#3
Quote from: Patrick M. Hausen on August 25, 2024, 04:57:55 PM
What is the purpose of such a setup in the end? Getting a fixed IP address for your dynamic home uplink?

For self hosting you can always rent a VPC at e.g. Digitalocean or Vultr for around 5 €/$ per month, set up a WireGuard tunnel and be done with it. Linux or FreeBSD on the VPC - whatever you are most familiar with.

I think fakebizprez is searching for a full feature self host alternative for tailscale and headscale is not what he wants.

The plugin I referenced is not the management server, it's just to connect OPNsense as a peer / router / exit node. One always needs a seperate server for the management host.
#5
honestly, this one was easy to solve, but hard to find everything :o

Somewhere I read (I think it was the FreeBSD forum) something about "BSD can't connect to serial console if booting UEFI and not disabling Legacy redirection". The BIOS can't disable Legacy output, so the only option is to not boot UEFI.


OPNsense configured with 1 console --> Serial

BIOS:
Enabling Out-of-Band Console Redirection
CSM Module --> everything set to "Legacy (only)"

boot loader now configures itself to console Serial (the boot menu item 5)

VGA is going blank after boot initializes (you know, after the boot loader menu) and console is printing all output and doesn't hang.

@nydidric can you please test this and mark the thread as solved?
#6
QuoteWhat happens if you set console 1: serial, console 2: none?
can't test it now, but I did test it and I think the output stopped at
Dual Console: Serial Primary, Video Secondary

Some googling directed me to /etc/ttys needs something like this - with no clue if this is compatible to opnsense in the current version:
ttyu0   "/usr/libexec/getty bootupcli"  cons25  on     secure

perhaps it's not ttyu0 but ttyv0?! Will try as soon as possible.
#7
I think the "white" output on the VGA display is all related to hardware initialization as where the "grey" output is the shell? If yes, is there some way to route the shell output?
#8
Quote from: Patrick M. Hausen on May 15, 2024, 05:09:29 PM
Can you install, though? What happens once you explicitly enable the serial console in the UI?

install works via VGA. After install and before all of my tests, I did Settings -> Administration -> Console1: EFI and Console2: Serial.

Or is there another setting in the UI?
#9
I tried many different combinations and I can't get it to work 100%. Why is it, that I can't get some output to the comconsole? What am I missing?

It's now booting with efi (had an error, that vidconsole doesn't exist) and comconsole, but it misses those ">> Invoking ..." lines completely on the console output. :o
#10
Perhaps I found something. I took the information from the device
uart2: <Intel Denverton UART> port 0xe060-0xe067 mem 0xdf519000-0xdf5190ff irq 16 at device 26.0 on pci0

On boot I pressed "5" to get "Dual (Video primary)" (because everything else is not working) and then "3":

set hint.uart.0.flags=0x00
set hint.uart.1.flags=0x00
set hint.uart.2.flags=0x10
set hint.uart.2.at="pci"
set hint.uart.2.port="0xe060"
set hint.uart.2.irq="16"


It's booting with VGA and console output, but:
On the VGA output I can see every message (white and some grey) and login after boot. On the serial output all grey messages, e. g. >> Invoking start script 'newwanip' are missing and I can't login after boot.

Is anyone with more experience able to solve this?
#11
I'm currently in the same situation as @nydidric, same hardware. I did manage to get beyond "EFI framebuffer" with

set comconsole_port=0xe060

and only serial enabled. Dual console didn't work. With serial and VGA connected (yes, VGA is working even it's set to boot only serial console) I get slightly different output. The serial stops at "Mounting filesys", but VGA also stops. Unfortunately I forgot to make a note on the last line and will post it later today.

I'll report back after some more tests and I hope we will figure it out.