-
ivy
Dooshki: "Warning: exporting /test_export exports entire / file system" means that /test_export is not a mountpoint, therefore an NFS client that can mount /test_export can access the entire parent filesystem (i.e., the root filesystem in this case)
-
gustik
ha! pf does not need to have a rule to allow (openBSD) DHCPD since it only listens on raw ip and also does not show on sockstat -l
-
ivy
gustik: i think that's true of most/all DHCP servers since you can't easily receive and send broadcast UDP in the way DHCP needs. you may need a pf rule if you're doing dhcp relay though...
-
gustik
I was wondering how it is possible that my wifi clients got IP addr configured over DHCP despite me not having a rule included yet.
-
gustik
ok
-
gustik
so it is not just me, it's generally the case ... great
-
gustik
the rule helps anyway, I added it later in order to track states
-
ivy
well, i'm not sure about ISC DHCP but Kea also works this way
-
gustik
DHCP works with or without it, but putting a rule for pf helps to see what goes on, if packet numbers rise etc
-
gustik
I had ISC DHCP before and I can not remember if it needed a rule
-
gustik
in my old configuration a rule was included in the pf.conf
-
gustik
but I do not remember if it would have worked without
-
ivy
this is a lot more sensible with DHCPv6 since it uses link local and multicast addresses and doesn't rely on broadcast traffic
-
gustik
what was frightening to me is that the firewall(pf in this case) did just pass trough packets despite having block drop in rule as gernal rule
-
gustik
yes, DHCPv6 needed a rule, of course
-
gustik
that was not working without, I am using DHCPCD for that
-
gustik
btw. FreeBSD should include some DHCPv6 client in the base, since I have reinstalled my router (PCengines) where my old SSD (msata) was having issues with write and random read errors, so I figured the drive is dying
-
gustik
I did not replace it because a PCengines is 10 years old, so I did a BIOS (firmware) update and got SD card slot working and have it now on SD card, which did not cost me anything, because I had one 128 GB spare, which is 2x the size of the old mSATA SSD (64GB)
-
gustik
long story short, it works, but I needed to put in my smartphone over USB tethering, which worked fine, in order to `pkg install dhcpcd` so that I could get my /56 IPv6 prefix over PPPoE and so connect to the internet
-
ivy
gustik: work is ongoing to replace dhclient with dhcpcp which supports dhcpv6
-
gustik
I have a DS_lite connection, so there is no IPv4 per default
-
gustik
yes, great
-
ivy
er, dhcpcd
-
gustik
for the time being, my smartphone saved the day
-
gustik
yes, I am totally dependent on dhcpcd, since my internet works like this: 1.) Get PPPoE connection working with IPv6 linklocal 2.) DHCPv6 getting /56 prefix and AFTR name (along with DNS servers IPv6only) - HERE there is IPv6 connectivity already 3.) create a GIF tunnel over IPv6 to pass IPv4 carrierNAT in - FINALLY there is also IPv4 connectivity
-
ivy
i think you are the first person i've ever met who actually uses DS-lite, it seems like 464XLAT has mostly replaced it before it got any real traction
-
gustik
the last part I am doing with dhcpcd hook, where I take the $new_dhcpv6_aftr_name and create the `ifconfig gif1 inet6 tunnel someaddr aftraddr` etc, then just defaultroute to something like 192.168.xxx and done is it
-
gustik
yes, I am using it since 2014
-
ivy
do you mind if i ask where you live (US, Japan, ...)? only because i'm curious who uses this
-
gustik
in germany I had DOCSIS cable modem with real dualstack, which was more fun, because on DOCSIS you have real ethernet and you can use ISC DHCPv6 client etc. BUT NOT ON VDSL2 ... like here, because there is PPPoE and ISC DHCPv6 did not support that back then (there were patches) I do not know if that changed last 10 years, I did not check
-
gustik
however, dhcpcd was the only thing that could do DHCPv6 PD over PPPoE
-
gustik
I am here on Orange Slovakia VDSL2
-
gustik
Orange being French telecom
-
ivy
ah interesting
-
gustik
so I suppose the french will be using this method too, since here in Slovakia I am the only one who actually has a clue how it works
-
gustik
Orange provides their routers which do this, but they are not configuring them ... LOL
-
gustik
other providers in Slovakia do not have a clue about IPv6
-
gustik
however, I seen that since 2016 Deutsche Telekom in Germany provides IPv6 on VDSL2 too
-
gustik
so they may be having the same kind of configuration - with PPPoE and DHCPv6
-
ivy
when i was using VDSL2 (and ADSL2+, for that matter) i just got a static route from my ISP so i never had to mess with this stuff
-
gustik
what surprised me lately is that I wanted to use my backup router which is a Mikrotik RB750GL with OpenWRT on it, it failed to configure my network here
-
gustik
which was shocking because OpenWRT used to do it well, however, upon inspecting tcpdump I seen that odhcpc6 or how is it called on OpenWRT, it did not even ask for a prefix, despite being configured properly
-
gustik
ivy: where are you from?
-
ivy
gustik: UK
-
gustik
ok
-
gustik
I had in Germany an MNet connection which did IPv6
-
gustik
also ADSL2+
-
gustik
but that was real dualstack ... but I can not remember any more (because that was like 2012) ... how I got the prefix
-
gustik
KabelDeutschland/Vodafone on their DOCSIS gave out only one /64 so I suppose there was the same
-
gustik
2012 was not a year of prefix delegations yet
-
gustik
nowadays that Vodafone/KD /64 would be a great setup to try NPT66 on it
-
gustik
however, speaking of IPv6 I noticed some weird stuff while I kept my connection IPv6only
-
gustik
everything that's IPv6 worked, like google, youtube(of course) etc, bing etc, all the rest ... but not wikipedia and some niche websites
-
gustik
and I was investigating the issue, first I was thinking my local-unbound is messed up, but then I noticed that dig +trace shows the same issue
-
gustik
the reason for misbehaviour of SOME websites was that it really could not resolve their IPv6 since some of the upper level DNS servers are IPv4 only LOL
-
gustik
so even though they were reachable over IPv6, only as long as you had a DNS resolver that had IPv4 connectivity LOL
-
gustik
20 years of me using IPv6 and we have still islands of IPv6 connectivity !
-
gustik
ok
-
gustik
I reconnected using IPv6
-
gustik
still somehow strange that it connected me to virginia and first over ipv4 ... hmm
-
holopeinen
Hello, I manager to create a ssh tunnel from Freebsd client to Linux server, But I cannot put all traffic via tun0, and when I ran this command `route change default 10.0.0.1` (10.0.0.1 is the ip of server, where I can ping and even open ssh session) the internet was gone
-
holopeinen
s/manager/managed
-
vkarlsen
Did you try to route the tunnel through itself?
-
holopeinen
@vkarlsen, yes route change default 10.0.0.2 , but I did not have internet after
-
holopeinen
@vkarlsen, when I changed to the default gateway, everything internet back and I could ping to server 10.0.0.1
-
NeuroBee
Hi. Is this the right channel to ask novice questions about FreeBSD.
-
NeuroBee
I am new to FreeBSD – sort of, haven't used it since 2004 or so.
-
NeuroBee
I've installed FreeBSD 14.2 from a USB that had the FreeBSD-14.2-RELEASE-amd64-memstick.img and somehow I failed to install 'pkg' and any packages. There is no ethernet or wifi working.
-
NeuroBee
So a question: I assume it's possible to install 'pkg' from the USB pen, mounted again? I can see its contents after mounting it under /media/pen
-
NeuroBee
perhaps I can redirect PACKAGESITE to the usb pen, so it can find binaries there?
-
mtll
has anyone tried qubsd?(
github.com/BawdyAnarchist/quBSD). I'm frustrated with many aspects of qubes os and curious about this thing
-
mtll
I daily drove freebsd a couple years in the past and it looks like this just uses freebsd stuff I'm already familiar with, so should be less confusing to interact with than qubes maybe. but it still seems somewhat incomplete so I'm curious if anyone's tried it at all
-
Dooshki
ivy: Interesting, that's really good to know, and yeah, I confirmed that's what it does (thankfully I didn't share my root, other than for that short test, but a directory meant for sharing)
-
Dooshki
jmnbtslsQE: And thanks a lot again! With the following two lines in exports, it now works perfectly for me, even with NFSv4-only mode enabled:
-
Dooshki
V4: /shared -sec=krb5p -network=192.168.100.0/24
-
Dooshki
whoops, sorry about potentially duplicate messages, my client might be glitching out
-
Dooshki
Oh, it interpreted it as an IRC command
-
Dooshki
/shared -sec=krb5p -network=192.168.100.0/24
-
Dooshki
No longer getting any warnings from mountd either, everything's finally working 100% perfectly
-
rudynotfound
hey guys how do i start contributing to FreeBSD? , i have used it but i found problems from Desktop point of view like my screen being laggy on a DE and sound not working after serveral configurations , because i ran it on my laptop which is from 2021 and since FreeBSD is not made for desktops how do i get started?
-
mzar
rudynotfound: write code, share it publicly, advocate - that's how you can contribute
-
rudynotfound
mzar which type of code?
-
rudynotfound
is there anything that can be improved?
-
mzar
hmm.. any type you can
-
mzar
of course
-
rudynotfound
i dont really have an idea
-
mzar
OK, so look at the mailing lists, maybe you will get some impressions
-
kona_
not made for desktops?
-
mzar
perhaps not designed with desktop in mind, but works perfectly on desktop
-
mzar
rubin55: please don't hesitate to use FreeBSD on desktop
-
mzar
ha... rudynotfound left
-
kona
bummer. i just dug up this link for them
freebsd.org/projects
-
kona
that's ... 5 seconds of my life that I will never get back
-
mzar
it looks like some people want to contribute not for the contribution but for calling themselves contractors
-
mzar
s/contractors/contributors ;p
-
Dooshki
Might also have to do with people being stuck in tutorial hell and not knowing how to get out of it, so they "try to contribute"
-
demido
what's better program design. to accept multiple options (cmd -f foo -f bar) or to accept multiple values per option? (cmd -f foo,bar)
-
kevans
demido: imo the former is a clear win in most cases; less fragile parsing, more obvious what's happening
-
demido
ya i agree ok great ty!
-
ivy
demido: i think it depends on what the option does, but i might lean towards the former as well since it makes things easier to script
-
ivy
one example of where a single option makes sense is pw usermod -G, since the value is a single value that happens to consist of multiple elements, using multiple -G options there would reduce functionality, or require a second option
-
jnb
hey everyone, I'm relatively new to FreeBSD (haven't used it in more than a decade). I am currently tracking 2025Q1 of the ports tree and noticed that lang/dotnet8 is broken there but not in main (due the LLVM default version changing). I've manually replicated the fix in 2025Q1 and it's fine now. What's the process to get the port maintainer to apply the fix to 2025Q1 or can I cherrypick their
-
jnb
commit and submit a PR? This manual fix won't hold everytime I update and rebuild the packages in poudriere. Thanks in advance!
-
ivy
jnb: i prefer to keep my own local ports branchs to let me easily fix things like this myself. as far as fixing it upstream, i would be inclined to cherry pick the fix and submit it as a git am in a PR
-
jnb
ivy: never thought about having my own local branches before, great suggestion! I'll also cherrypick and submit a PR upstream. thx for your help!
-
hernan604
Are you people able to see emojis rendered correctly in firefox ?
-
hernan604
mine sometimes display as that square with hex numbers. im not sure what is missing so firefox can render them correctly
-
appledash
Sounds like a missing font to me