-
brutser
i need to set UFS partitioning in installerconfig, but failing.. anyone here can help me?
-
ivy
does anyone know off hand if FreeBSD supports /31 IPv4 subnets? (maybe a strange question but Linux didn't support this until surprisingly recently)
-
demido
anyone get g_dev_taste failed to g_attach error=6 in console?
-
rtprio
-
mzar
rtprio: yes, are you in touch with the author ?
-
spmzt
Guys, I have a elantech touchpad, and I have enabled the hw.psm.elantech_support. But still it does not work. What should I do?
-
spmzt
-
wsky
how do i reinstall ezjail from scratch?
-
wsky
i want ot make a fresh installation
-
wsky
because apparently my jail is incompatibile with the abi my host provides
-
wsky
so maybe i just updae the jail
-
wsky
idk, guys?
-
mzar
yes, go for it
-
wsky
how to update te jail then?
-
wsky
-
wsky
that's what i get, idk what to do
-
mzar
wsky: are you running STABLE or CURRENT ? if not use -u or -U
-
wsky
stable
-
wsky
i never used ezjail before
-
mzar
have you built this stable ?
-
wsky
no
-
wsky
the host is 14.2
-
wsky
14.2-RELEASE
-
mzar
OK, so you are not running STABLE
-
mzar
procede with -U
-
wsky
what exact ommand should it be?
-
mzar
ezjail-admin update -U probably
-
wsky
freebsd-update: Cannot upgrade from 14.2-RELEASE to itself
-
mzar
OK, so you are up to date
-
wsky
so what's wrong then?
-
mzar
everything is fine
-
wsky
nope
-
wsky
-
wsky
and then when i install matrix-conduit i get abi error
-
wsky
bug?
-
mzar
you are running kernel 14.0
-
mzar
too old
-
wsky
[root@vlepy /usr/src]# uname -a
-
wsky
FreeBSD vlepy.com 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
-
mzar
what are the numbers from "uname -KU" inside jail ?
-
wsky
1402000 1400097
-
mzar
OK, so ezjail userland is from 14.0
-
wsky
ok so what now?
-
mzar
maybe you'll figure out how to update it ?
-
wsky
:((
-
wsky
thanks anyway
-
mzar
it should be doable with "ezjail-admin update -U" after setting UNAME_r, read ezjail-admin(8)
-
wsky
so what should i exactly do?
-
wsky
so what should i exactly do?/
-
wsky
what $UNAME_r should contain?
-
Afterglow
do a 'file /<path to jails>/basejail/bin/sh', it gives you the version of the jail. Then do a 'ezjail-admin update -U -s <the version resulting from the previous command>'
-
wsky
i understand now
-
wsky
thanks
-
wsky
alright guys, i got it
-
wsky
at least this
-
wsky
thanks
-
wsky
root@conduit:~ # conduit
-
wsky
thread 'main' panicked at src/main.rs:55:55:
-
wsky
now what
-
wsky
alright i'm doing progress
-
wsky
i'm having an issue with matrix-conduit
-
wsky
it runs fine from command line but from rc level (with service conduoit start) only prints starting message and nothing happens
-
wsky
that is happening in my ezjail container
-
Afterglow
you might want to upgrade the packages again in that jail
-
wsky
all up to date
-
wsky
the program runs fine manyually from command line
-
Afterglow
pkg upgrade -f ?
-
wsky
but from rc silently fails
-
wsky
oh no i didn't do -f :D
-
Afterglow
seems odd, actually, maybe something with a path in the config that is restricted for conduit?
-
Afterglow
I know it should run fine as a service, because I used it a while
-
wsky
possibly a bug?
-
wsky
brb cig
-
wsky
back
-
wsky
ok now i get:
-
wsky
2025-02-13T12:33:23.372724Z ERROR conduit: The database couldn't be loaded or created error=RocksDbError { source: E
-
wsky
rror { message: "IO error: While renaming a file to /var/lib/matrix-conduit//LOG.old.1739450003372120: /var/lib/matr
-
wsky
ix-conduit//LOG: Permission denied" } }
-
wsky
in conduit logs
-
wsky
and i get now root@conduit:~ # conduit
-
wsky
Segmentation fault (core dumped)
-
wsky
xD
-
wsky
wth is going on
-
wsky
ok i have it running :D thanks
-
Afterglow
permissions?
-
phryk
is there a good gui totp thing in the ports any of you would recommend? looking for something that's not bundled into a password manager (unless it's pass).
-
rtprio
i don't know of one, have you searched the ports tree already?
-
polarian
I feel im the only BSD user which detests GPL... everyone recommends me GPL nonfree BS and gets pissed when I call it nonfree (I know GPL is officially a free licence, but imo not free enough), am I just insane?
-
rtprio
it's not worthwhile to get worked up over
-
fink
is there really a way to avoid all gpl software these days?
-
polarian
fink: no ;(
-
getz
polarian: what are you missing from the base install? :)
-
polarian
when I hear "enforcing freedom" I cringe
-
getz
you got an editor, a c compiler, what else do you really need
-
polarian
getz: back foul emacs user :)
-
getz
;)
-
polarian
You have no power here servant of Stallman!!!
-
polarian
getz: hmm lemme think... anything desktop related is GPLv3
-
polarian
oh and AGPL popularity is increasing, as if the infection client side wasnt bad enough, its spread server side too!!
-
polarian
anyways stripping back my reliance on GPL code is 2026 mes problem, 2025 is eliminating my reliance on Linux
-
rtprio
2026, living in a hut and raising sheep
-
polarian
rtprio: I wish
-
polarian
im stuck in London until Summer 2026
-
polarian
maybe if I directed my anger at GPL into studying I could contribute lol
-
dstolfa
polarian: don't be angry at the GPL, be angry at the corporations that lead to the GPL and the general mess that copyright law and patents bring to the wider software ecosystem :P
-
polarian
dstolfa: yet tje corporations give back more than GPL folks do...
-
polarian
the*
-
polarian
dont forget who funds freebsd
-
polarian
you dont fight copyright with copyright...
-
polarian
sorry "copyleft" which is just GNU rhetoric for "copyright"
-
dstolfa
a few companies that choose to employ freebsd developers and contribute some, but not all code back doesn't automatically mean you should excuse the 95%+ of companies that actively make the world a worse place through use of copyright and patents. the GPL is a symptom, not the problem
-
polarian
you dont use the actions of a few against the many
-
polarian
OpenBSD (not sure about freebsd) thrived from small ISPs adopting it
-
polarian
giving back...
-
polarian
just because some big companies such as Apple dont give back doesnt mean they are all like that
-
dstolfa
i'm well aware of how the BSDs get their funding and development funded. i still fundamentally disagree with you, though
-
dstolfa
apple does actually give back, just indirectly
-
dstolfa
-
polarian
Apple also funds conferences but hey ho they are the biggest example used
-
polarian
dstolfa: theres a good reason both freebsd and openbsd have GPL reduction/removal goals
-
polarian
BSD takes from Linux, thats against GPL, Linux takes from BSD, thats fine! They take just like corporations do and weaponise the GPL...
-
polarian
GPL serves nobody but the FSF lawyers in which it was written to benefit
-
polarian
so yes it is a big deal GPL code... because once you adopt a single line of GPL, your entire code must abide by GPL conditions and all derivatives... you lose your freedom as a developer to do with your code as you wish.
-
fink
it's not just adopting a single line of code, it's even packaging a library, no? if you package a (bsd) + b (gpl), a+b = gpl?
-
polarian
dstolfa: what freedom has the GPL even maintained? My wifi AP runs their Linux enshitification, what freedom do I have there? Its still blobbed and highly proprietary... but HEY at least they must release their Linux src tree, makes everything better? right? right!!?
-
polarian
fink: indeed
-
polarian
-
dstolfa
polarian: you're arguing with yourself, i have never said that i prefer the GPL over permissive licenses. i'm saying that the GPL is a symptom of a broken system of copyright and patents, not the cause of misfortunes that arise from it
-
polarian
dstolfa: and I argued the GPL hasnt even helped with the "broken system" you have referenced...
-
polarian
so what is its purpose then?
-
dstolfa
i never said it did
-
dstolfa
i said it's a symptom
-
dstolfa
not the cause
-
polarian
oh..
-
» polarian stupid
-
dstolfa
the GPL (and AGPL) are basically knee jerk reactions to a broken copyright system. the end result is that GPL'd software just ends up with a thin client and a service that uses 80-90% of GPL code but runs on a server, so no binary is distributed and therefore no code needs to be shared. also a great cause of division in the FLOSS world
-
dstolfa
and the way copyright law works in most places, only the holder of said copyright can sue for license violations. which... well, good luck suing a large company on your own
-
polarian
dstolfa: but nothing forces you to adopt big tech software other than your job, school or potentially government... its not the companies which tie your hands its your superiors
-
dstolfa
polarian: sure, the same superiors who made said broken laws :P
-
polarian
well there we have it, blame the government haha
-
dstolfa
i usually do
-
polarian
whos up for a revolution /j
-
demido
i'm trying to set up a freebsd wireguard server. i have wireguard running on the server and the client can connect and ping the wireguard server's private ip over the connection. the wireguard client can't connect to the wider internet through the connection though. do i need to set up nat in pf for that?
-
demido
ek ^
-
ek
demido: Yep. You'll likely need to setup an outbound NAT rule in PF to the WAN interface.
-
demido
ok got that. and so i can pass all udp traffic to me, i added a rdr rule too. but to avoid the wireguard port being sucked into that, i added no rdr rule for wireguard port
-
demido
seems to be all working. i can get network out from wg client through wg server, wg client can connect to wg server, and all udp traffic is coming in to wg client through the rdr rule on wg server
-
demido
all good so far?
-
rtprio
yep
-
demido
ok so now i'm gonna try to start adding firewall rules, to block unwanted stuff on the wg server so it doesn't even make it to wg client. so i removed the 'pass' qualifier on the rdr directive, and now i'll start adding some explicit blocks. right?
-
ek
demido: Sure. Add whatever you want to the rules. Just make sure you take it one step at a time (or have backups of working configurations.)
-
rtprio
or, YOLO-ops
-
ek
rtprio: Been through that too many times to even consider it anymore.
-
ek
nvim with undo cache and some sort of RCS is the only way to go.
-
ek
Of course, with testing, it's not that big of a deal. But, in testing, if something works and then I break it and can't figure out why, that sucks.
-
demido
ek rtprio ok these are my pf config and they seem perfect but pls double check me:
termbin.com/mhxs
-
demido
and basically the point is, i can ssh into server. wg client can connect to server to establish wireguard connection. all udp above 1023, except for wireguard port, is redirected to wg client. wg client can nat all traffic out through wg server. wg server can pass all traffic of its own out
-
ek
demido: It appears it will most likely work (aside from the missing NAT for outbound WG to WAN?)
-
ek
I'm still unsure what all the extra rdr and pass rules are for. It doesn't seem to accomplish much? What, exactly, are you trying to do with all the extra rules?
-
ek
-
demido
'pass all' for 1
-
demido
"aside from the missing NAT for outbound WG to WAN" how is my 1 nat rule not doing that?
-
ek
demido: But, what is wrong with "pass all" from inside the WG server? What are you trying to prevent?
-
demido
some stuff i want to block at the server
-
ek
You want to block outgoing requests from the server side?
-
demido
no i wanna block some stuff in to the server from public internet
-
ek
Is the firewall for the WG server or the WG client?
-
demido
both
-
demido
runs on wg server, has rules that apply to both wg server itself, and wg client
-
ek
So, by default, everything is blocked from public. There's no reason to specifically block things. You only need to allow specific requests.
-
ek
How they are blocked, of course, is up to you (you can be more specific.)
-
demido
ok
-
demido
well it's all working as is anyway so i'm gonna just move on but ty
-
ek
So, on the server-side, open the SSH (tcp) and WG (udp) ports for the the client (can be specific address or "any".)
-
ek
Then, NAT the WG interface to the WAN interface and pass out "all". That way, the WG server itself as well as the client can reach out to the internet.
-
ek
On the client-side, by default, a PF firewall will allow all out and not allow anything in (from an unrequested source.) So, you don't really need to do anything.
-
ek
A client request will be allowed out to the WG server and the WG server response will be allowed back in and a connection will complete.
-
ek
demido: I'm glad to hear it's all working.
-
demido
ty for your help
-
demido
you get your bhyve issue fixed?
-
ek
Nope. No one has any clue as to why it happened or how to fix it. I gave up and just rebooted. If I run into the issue again, I'll come back to it.
-
ek
Thanks for asking!
-
demido
dang
-
demido
have a 2nd box you can setup with dupe config and test on?
-
user03
exit
-
ek
demido: Not at the moment, no. And, to top it off, I'm not sure I'll be able to reproduce the issue yet. I can't remember exactly what's happened, to be honest. So, I'll just wait it out.
-
demido
ok