-
heston76
eekay I guess it's just highlighting my nick when it is called out.
-
luna__
hey
-
heston76
But yeah, I am running multipe boxes, so I choose to run a poudriere repo and build my package sets in house.
-
heston76
Howdy luna__
-
Macer
argh. what in the world. what am i doing wrong with these gmirrors where they don't come back after reboot
-
Macer
gmirror supports gpt partition labeling doesn't it? i don't understand why the mirror always disappears after reboot even though i have it loading on boot
-
rwp
Macer, Please say a little more description around the mirror disappearing?
-
rwp
You boot and "gmirror list" doesn't show it?
-
rwp
"gmirror status" says what?
-
Macer
it says nothing
-
Macer
geom_mirror_load="YES" is in loader.conf
-
rwp
Hmm... Maybe the mirror needs to be created/recreated?
-
rwp
Example from my system: gmirror label -h swap /dev/gpt/swap0 /dev/gpt/swap1
-
Macer
yeah that's what i've been doing. and the expectation is that once that is done the mirrors will show again.... hold on i'll do it again and pastebin it somewhere
-
rwp
I am assuming that the partitions exist. gpart show and gpart show -l
-
rwp
And my /etc/fstab entry: /dev/mirror/swap.eli none swap sw 0 0
-
rwp
The .eli configures it as an ephemeral keyed encrypted swap partition. Which is awesome because swap does not need to be persistent.
-
Macer
-
Macer
and on reboot
-
Macer
it's gone
-
Macer
am i missing something in loader.conf or something? i thought it was just geom_mirror that was needed
-
rwp
Looked at your
pastebin.com/R1QTsqwk and see that it is working! Yay! What did you do to solve it?
-
Macer
that's not the problem
-
Macer
i can create the swap just fine and use it. my problem is it doesn't persist after reboot
-
rwp
Reading... It disappears at boot? Look at the boot log, look at dmesg, hopefully some error clue.
-
rwp
I don't know. Works for me. And the coffee shop is closing now so I must relocate. Carpooled with a friend. Good luck!
-
Macer
yeah. i'm looking at it now
-
Macer
but i don't see anything geom related
-
heston76
Macer: kldstat | grep mirror, do you see the module loaded on a fresh boot?
-
Macer
i'd have to reboot again to see and rebooting my nas over and over isn't too cool of a thing to do heh
-
Macer
but i'll check next time. i just figured maybe i was missing a fundamental step here .. i thought creating labeled partitions on the drives then creating a mirror using the gpt labeling should do the trick
-
Macer
but i think i thought about that a few reboots ago when it didn't work and geom_mirror was indeed getting loaded on boot
-
Macer
it's just a little irritating having to recreate the mirror/swap on every reboot
-
Macer
(manually) and i'd like to avoid doing some sort of cron tomfoolery with a @reboot script that does it
-
rtprio
i didn't think there needed to be tomfoolery
-
rtprio
considering that encrypted swap is an option in the installer
-
Macer
i can't remember how many versions ago i install fbsd on this.
-
Macer
i vaguely remember it being around the time freenas turned into truenas.. maybe a version or two after that lol
-
heston76
That'd be around 12 or 13
-
Macer
was it? thought it was around 11 for freenas but i could be wrong.
-
Macer
i felt like it was a good decision because once they came out with truenas scale you just knew they were going to essentially abandon using fbsd even though they said they wouldn't but then did
-
heston76
Yeah, I was sad to see the change. I am currently using truenas to house my VM's.
-
heston76
I was excided to see this in the Q42025 repoort though.
-
heston76
-
ek
Well, there is still the FBSD TrueNAS fork of zVaultIO that may come to fruition. It was looking really good in the beginning, but the project seems to have halted for unknown reasons.
-
ek
The 13.3 replacement of TrueNAS works perfectly fine, but everyone was hoping for a 14.x release before 13 reached EOL. Sadly, it's been quiet on that front.
-
ivy
the main reason people use TrueNAS is the web UI, right? i wonder if it would make more sense to put that in ports, if that's feasible, rather than building a whole new OS for it
-
rtprio
perhaps
-
rtprio
just like if there was a couple of graphana dashboards for unbound and a big red button, i could replace pihole
-
ek
ivy: That was actually the future intention of zVaultIO. They were going to continue to support the appliance until they could figure out how to make it a port (I'm sure no easy feat).
-
ek
But, alas, the project seems to have died. Very unfortunate.
-
ek
I think the big draw for the appliance is the ease of configuration backups/restores for re-installs, though. That does come in handy.
-
meandrain
any idea how to watch traffic with dwatch and ignore traffic for a specific port? Now I am using "dwatch -X tcp" but I would like to ignore ssh traffic
-
balsamic-oval
rtprio: did you find a grafana graph for unbound? i had
jgoguen.ca/posts/2024/07/20/openbsd…bound-and-statistics/#pretty-graphs sitting in my bookmarks which hooks up the two
-
nimaje
meandrain: hm, -t <test> seems relevant, but I have no idea what format is expected for the test and if it would get the port
-
nimaje
maybe 'tcps_lport != 22'
-
meandrain
nimaje: not working, maybe there's no way to filter ports with dwatch
-
meandrain
nimaje: this works but it's weird: dwatch -X tcp -t 'args[3]->tcps_lport != 22'
-
meandrain
(don't ask me how I've found out ;) )
-
nimaje
well, after seeing a example in the man page, I suspected that <test> to be a dtrace filter expression, but no idea for which probe and hoped dtrace would make unique fields of arguments avaible as just the field name
-
polyduekes
bugs.freebsd.org/bugzilla/show_bug.cgi?id=293243 update, i was able to reproduce it in a vbox vm
-
polyduekes
OlCe2/freebsd-src #2 also btw did anyone saw a phab review for this? i couldn't find any
-
CrtxReavr
TIL: This is a really cool tool to validate your outbound E-mail setup:
learndmarc.com
-
uskerine
hi, while setting an adidtional floating IP I do this:
-
uskerine
ifocnfig_vtnet0_aliast0="inet X.Y.Z.W/32" in /etc/rc.conf shall that suffice? thanks
-
uskerine
ifconfig_vtnet0_alias0
-
uskerine
the interface is configured previously with DHCP
-
ek
uskerine: ifocnfig_vtnet0_aliast0="inet X.Y.Z.W netmask 255.255.255.255" (if you actually want it in a /32?)
-
ek
ifconfig_vtnet0_alias0*
-
skered
uskerine: Is this vbox by any chance?
-
mirens
I'm on my new OS freeBSD, installation went great and now KDE on wayland is working great! thank you to everyone that helped me yesterday with my questions prior the installation process
-
ek
mirens: Glad to hear it!
-
heston76
mirens: Great to hear and enjoy
-
mirens
thanks
-
mirens
Im setting up network with another PC at home. I need kio-extras for playing videos over a network ?
-
mirens
btw samba share works faster than on linux or I am imagening things
-
mirens
this is lightning fast
-
heston76
Always been partial to, and still using xfce
-
rtprio
balsamic-oval: i never looked, don't have time for any build out at the moment
-
balsamic-oval
rtprio: no worries. maybe worth a bookmark for when you circle back. im in the same boat
-
rtprio
`tbh, having the temporary on/off switch and block lists would be priority
-
rtprio
the fewer linux VMs to run, the better
-
uskerine
-
uskerine
how do I add a route to say to reach IP address 172.31.1.1 use interface vtnet0 ?
-
rtprio
do you have multiple gateways?
-
uskerine
Not really, you can see the "goal" routing table in the link, everything shall use 172.31.1.1 as default gw, but that IP goes through vtnet0, and vtnet0 is configured with an IP of a different network
-
uskerine
it is a VPS, so the routing is a bit in that way
-
rtprio
iirc i think you want dhclient and a supercede option? perhaps someone else has an idea
-
heston76
nulltaz: You mentioend using an irc bouncer. Do you have a favorite that you like to use?
-
rwp
uskerine, Are you hosting at OVH? OVH has some "interesting" details that make things very particular about network configuration.
-
uskerine
No, it is not OVH
-
erdem
heston76: weechat relay is great for mobile usage
-
uskerine
I got one server burned there, literally BTW (in OVH)
-
erdem
other android apps + znc don't work reliable when you on a move
-
erdem
in my opinion
-
erdem
and OVH management GUI sucks!
-
rwp
uskerine, For one OVH uses IPv4 /32 and IPv6 /128 address assignments (IPv6 is actually allocated as /64 however, but assigned as /128) which means that to get to the router it is also required to add a host route to the network device for the router.
-
rwp
Since everything is dual stack the way I worked through the problem was to keep IPv4 working then to debug and finally get IPv6 working. Then log in with IPv6 and reverse that debugging IPv4 and getting IPv4 working.
-
uskerine
add a host route to the network device for the router. <- you mean I have to tell the system, to locate this router IP (172.31.1.1 in my case) use this network card?
-
uskerine
I know but I want to know how to do that
-
uskerine
This is the routing line I do not know how to create in /etc/rc.conf (nor in command line): 172.31.1.1 link#1 UHS vtnet0
-
rwp
I am making a pastebin...
-
rwp
uskerine,
bpa.st/XNMA I crafted that using example.net addressing so that it would be more generic. Let's hope I didn't screw it up!
-
rwp
The structure is exactly what I am using at OVH. I don't know if this is your issue or not. I didn't quite understand the problem statement. But it sounded like it might be the same problem. You will need to decide.
-
rwp
Oh I screwed up one thing. In my comment I typo'd /31 which should have been /32. Oops.
-
uskerine
I am adding static_routes and route_lan
-
rwp
When messing with networking always make sure you have an alternate path to the system. Network console. The other side of the dual IPv4/IPv6 stack. Whatever. Because it's not if we screw up and break it but when!
-
uskerine
it works now and the routing table is the same
-
rwp
Just fix one of them at a time. Rework it until one of the two is working. Then use it to fix the other.
-
uskerine
I use the virtual console from the cloud provider
-
rwp
So does that mean we were successful? \o/
-
uskerine
so you never can lost access
-
rwp
Excellent!
-
uskerine
yes but I would like to understand the meaning of static_routes="lan" and routes_lan, because everything else I get it
-
uskerine
why do we need static_routes="lan" ?
-
rwp
The "lan" part is an arbitrary string for the variable name. It could have been "herman" and then the variable name would have been "route_herman" just for example. I used "lan" because that made the most sense to me.
-
rwp
In the rc.d init script it will look for strings listed in static_routes and then use that string to construct the route variable name that needs to be set.
-
uskerine
so you can not just define the route without defining a static_routes "domain"?
-
rwp
Right.
-
uskerine
I see
-
rwp
So for example: static_routes="herman" route_herman="-host 104.18.5.1 -interface vtnet0"
-
uskerine
thanks for your help rwp this helped
-
uskerine
yeah I got it
-
rwp
That would have been a valid combination too. I use herman because it is an unusual name and therefore we can identify it in the construct. Should have used "foo".
-
uskerine
actually last time I deployed this I manually added the second IP via ifconfig (not very clean)
-
uskerine
I think this is much better, it autoamtically brings up both IPs
-
rwp
Yay! \o/
-
rwp
The first time I encountered this problem it took me a while to figure out that it needed a host route for the gateway router address because it is not located on the subnet, because there is no subnet configured there since it is a /32 and /128 configuration. That took some frustration for me before I finally figured it out.
-
uskerine
I already had encountered this, so I more or less was clear on what to do, but I did this before in Linux where you can force routing to an interface , I did not know how to do it in FreeBSD
-
rwp
I have been told that OVH allocates IPv6 at the /64 block prefix level but still assigns them at the /128 anyway because on IPv4 they do the same.
-
rwp
Cool. Anyway... I am getting in a time crunch and must run off. Glad this helped! Good luck!
-
uskerine
and /etc/rc.conf has its way too, I have actually half-read how the booting process works, the handbook has a good description and there is even an old "paper" describing it in detail and its rationale
-
uskerine
thanks rwp it helped
-
regis
Nie mam rozsądnych komentarzy. Także: zajebiście niedojrzały, i chyba najdłuższy kawałek h-h w naszym polskim języku:
youtube.com/watch?v=I6VG5rdwIeM
-
regis
Ooof, apolofies! This was meant for #freebsd-pl ...
-
regis
apologies*
-
anth
I recently upgraded from 13 to 15. Now when i start x, the keyboard input is nonsense; seemingky random characters and control keys, not consistent (so likely not a bad map). Any tips on a likely culprit?
-
anth
When the x server comes up, if i immediately type “pwd” followed by enter i get “ p2w3d45” - rherea pwd in there - but then it deteriorates.
-
ant-x
anth, happends in all X programs?
-
anth
All i’ve tried.
-
ant-x
No idea, but I am afraid to upgrade my own from 14 to 15.
-
anth
It seems like mouse clicks start getting eaten, too, but the behavior there is less clear. They might only be eaten on the root?
-
ant-x
There is an X program for tracking mouse events, but I forget its name. If the problem is reproduced on a freshly installed v.15, you can report it in the bug tracker with the reproduction scenario. I don't know how to help you. Maybe try reinstalling X?
-
ant-x
...or force-upgrading?
-
anth
xev. I tried that, but I haven’t gotten it to produce any output. I think I’m invoking it wrong, but I have to reboot between attempts, and it is slow and irritating.
-
rtprio
it shouldnt be slow but it is irritating
-
anth
Slower than just re-running a command!
-
rtprio
anth: what desktop environment / window manager are you using
-
rtprio
you move the mouse over the xev window and type something, and a ton of shit should scroll past
-
ant-x
Ah, then you could try it with barebones startx and twm.
-
rtprio
i _think_ it spits out on stdout, so start xev from xterm or your other terminal app
-
ant-x
It does.
-
anth
I’ve gine back to the stock twm to remove variables.
-
anth
Yeah, i’d started it directly from .xinitrc which doesn’t work.
-
ant-x
Can you share your not-working .xinitrc ?
-
ant-x
...or delete it, and then the global xinitrc will be used.
-
rtprio
no, that would not
-
ant-x
?
-
ant-x
There is a global xinitrc that just works (unless you meddle with it).
-
ant-x
/usr/local/etc/X11/xinit/xinitrc
-
anth
A .xinitrc containing only the shebang line and twm exhibits the problem.
-
ant-x
And the problem is what -- broken keyboard and mouse input?
-
anth
Broken keyboard, for sure.
-
anth
I can’t tell for sure, I think the mouse is working properly but gets confused because it thinks a keyboard modifier key is being held down.
-
ant-x
OK.
-
ant-x
Well, you might try digging <
man.freebsd.org/cgi/man.cgi?query=libinput&sektion=4> , including reintalling it.
-
anth
I saw a note about the sc device being deprecated; is scfb still the right X device to use? It seems to be from the docs.
-
ant-x
Hmmm. I thought sc and scfb are not related to X...
-
ant-x
X uses its own graphics drivers.
-
anth
I agree, I think it’s just coincidental naming for the frame buffer driver
-
ant-x
It's the terminal/console/tty driver that's deprecated.
-
anth
Anyway, thanks. I’ll have to poke it this more later; I have to pick up my kid from school. Next step is trying to get cev started in a way where I can actually see it’s output.
-
ant-x
xev?
-
ant-x
You can redirect its output, includng with tee.
-
ant-x
How do manage to run xev, if you can't type its name?
-
ant-x
You could run it from .xinitrc ...
-
anth
Yes, that’s what I’ve been doing, but I need to have it run from cterm or similar, otherwise I don’t see the output.
-
anth
I can’t even force quit the ex server, so it really is a reboot on every attempt.
-
anth
“ex server”. No, dictation, I can’t make it “ex”, that’s the problem!
-
rwp
Don't forget that Control-Z will put ex into the background and returning you to the command line prompt.
-
polarian
how come in freebsd if you dont have any ipv6 config for an interface, you dont get a LLA
-
rtprio
i don't recall that being true
-
hodapp
that doesn't sound right