-
darwin
latest stable FreeBSD UNIX 15 large USB flash drive image just crashes on boot apparently with a large message. It says can't find /boot/entropy nor /boot/hostid and some probably unrelated stuff. Should I photograph and post to forum?
-
darwin
/etc/hostid
-
rtprio
moviuro: according to the man page, it seems like it only reads from /tc/rc.conf.d/* but not write to it
-
Chip1972
how to fix this?
-
Chip1972
ld-elf.so.1: /usr/local/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/local/bin/git not defined
-
moviuro
rtprio: so it's a bug. sysrc syslogd_flags should return "-ss -c" if I set them up that way in /etc/rc.conf.d/syslogd
-
mage
is there a way to use DHCP with a non-VNET jail ?
-
nimaje
non-VNET jails share the network with the host, so while it might be possible to push dhcp into a non-VNET jail (no idea) that would also affect the network of the host
-
mage
I'm building jails dynamically in a CI/CD pipeline (Fogejo) and I was wondering how could I get a pool if IP adresses that the script could get and push back once the jail is destroyed
-
mage
maybe I could simply use a simple json/yaml/... file
-
dch
mage: yes, VNET has nothing to do with it. IIRC it's just exposing /etc/bpf & allowing raw_sockets. Note this delegates a certain degree of trust to the jail; these also allow among other things changing MAC address, spoofing of various kinds.
-
ivy
dch: but how would the jail configure its own IP address after getting a DHCP reply?
-
dch
ivy: you're the network expert :-) I don't know, the point of running dhclient in a jail is entirely lost on me.
-
ivy
i don't know either, i never use non-vnet jails
-
dch
It's definitely possible tho
-
dch
OK I checked up, the only place I have personally seen this done is iocage, and it implicitly sets up a vnet jail for this
-
gman999
question... is there a way to get insight as to why a pkg didn't generate from a ports change?
-
gman999
-
nimaje
hm? all latest repos seem to have tor 0.4.8.22
-
mns
How do I find out why a package is being installed by pkg?
-
nimaje
I often look at what would get removed via pkg remove -n after letting the upgrade install it
-
nimaje
for that
-
gman999
oh my bad. never updated FreeBSD.conf on this box. apologies for the noise
-
mns
nimaje: I used `pkg query %dn mu nss` as those are the two being upgraded, but they do not have dependencies on gtk3 and I'm trying to figure out where that is coming from. I have emacs-nox installed but pkg is removing that and replacing that with emacs. But why is it replacing emacs-nox with emacs since this is a headless system.
-
nimaje
hm, mu depends on emacs and pkg doesn't have something like debians alternatives system, so if something depends on emacs, it depends on emacs and not on emacs-nox
-
mns
For me: 'pkg query %dn mu' returns emacs-nox along with a few others.
-
satanist
before or after the update?
-
mns
before the update
-
mns
I did a 'pkg update && pkg upgrade'
-
mns
With RPM and DEB, there is the concept of "Provides" so that emacs-nox "provides" emacs, so if a package depends on emacs, emacs-nox can satisfy that dependency. I don't think something similar is available in pkg, yes?
-
lucius
What VM software do you guys prefer on FreeBSD?
-
hodapp
I mostly use vm-bhyve
-
nxjoseph
yes, i use vm-bhyve too
-
nxjoseph
my use is just adb/fastboot on linux with usb port pci passthrough
-
wavefunction
I'm still working on figuring out bhyve, but, it seems the most appropriate system to use
-
lucius
Im gonna try vm-bhyve, thanks for the suggestion
-
nxjoseph
okay, good luck, it's very easy and straightforward, i like it.
-
deimosBSD
wavefunction: vm-bhyve might make your learning quicker
-
tm512
so I recently upgraded the wireless card in my laptop to an AX200, to get 11ac support from iwlwifi or iwx. it seems like I get stuck with an 11n connection if I end up getting connected to my router's 2.4GHz band. has anyone else run into this?
-
tm512
I could disable band steering on my router, getting the 5GHz band as a separate SSID, and specifically connect to that, but that seems less than optimal
-
tm512
connected to 2.4GHz currently, ifconfig says "media: IEEE 802.11 Wireless Ethernet MCS mode 11ng"
-
mjp
can it connect to a 5Ghz only ssid at a higher speed?
-
tm512
if it connects to 5GHz, it negotiates an 11ac connection as it should, and my connection is in the range of 250-500Mbit, but if it connects to 2.4GHz, it seemingly gets an 11n connection (even though the 2.4GHz band is configured to support everything up to 11be), and my connection is more around 50Mbit
-
tm512
with band steering enabled on the router, both of these bands are under the same SSID and it's basically random which one I'll be connected to
-
tm512
does FreeBSD not support 11ac on 2.4GHz networks?
-
tm512
this isn't just iwlwifi, it happens on iwx as well
-
ek
tm512: Have you checked "man 4 iwlwifi" and the "^LOADER TUNABLES" section? I'm not sure how you're implementing it, but that does have some info regarding 11n vs 11ac.
-
ek
balsamic-oval: Yello!
-
balsamic-oval
hi hi
-
mjp
sounds like band steering doesnt work as expected against FreeBSD/iwlwifi ?
-
mjp
you could force freebsd to only use 5Ghz with some extra settings in rc.conf/ifconfig/wpa_supplicant?
-
gman999
is there a better libre #channel to use for questions about porting to FreeBSD?
-
tm512
ek: I could try, though I suspect that disabling 11n support will cause a fallback to 11g. worth a shot though
-
tm512
it doesn't seem to have anything to do with band steering. disabling band steering on this router put the 2.4GHz band on the default SSID, which my laptop connected to, at 11n speeds
-
tm512
not sure whether I can force 5GHz from my laptop. maybe on my router I could configure a band-steered SSID, but then one for 5GHz specifically
-
ek
gman999: What do you mean? What "libre" are you trying to port?
-
mjp
could set "mode 11a" for ifconfig in rc.conf? or lock to specific 5ghz channels in wpa_supplicant.conf? how does your device conenct to wifi?
-
gman999
ek.. i mean on #libre, not "libre" :)
-
rtprio
gman999: just ask here,
-
gman999
cool.
-
gman999
will in a bit
-
mjp
gman999: the official mailing lists
-
gman999
yes.. of course.
-
gman999
there is both a tar.gz and bz2 file in the master_site dir, and bz2 not set in the Makefile...
-
ek
gman999: Are you asking about just any general porting for FreeBSD? If so, there is a #freebsd-ports channel here on Libera.
-
gman999
yet it keeps pulling the bz2 file
-
gman999
idk why it's not grabbing the tar.gz file by default... like it's supposed to
-
gman999
i'm very familiar with openbsd porting... but can hack on fbsd Makefile easily enough
-
ek
gman999: What is the master_site?
-
gman999
so it's a gitlab site of Tor
-
gman999
-
gman999
USE_GITLAB and GL_SITE set
-
ek
Hrm. I would think it would pull the .tar.gz by default. This is when you're testing with "make makesum"?
-
gman999
yes.
-
gman999
same
-
ek
gman999: Well, I do see .zip, .tar.gz, .tar.bz2, and .tar in the releases. Honestly, it shouldn't matter which one gets pulled. The ports inf should decompress and use it all the same.
-
ek
Is it causing problems being a .tar.bz2 download?
-
gman999
well, i'd like to use the default tar.gz...
-
gman999
dvl (freshports) is saying it's the USE_GITLAB line...
-
gman999
ok...
-
gman999
lm look at that again
-
ek
It likely is. I've never used USE_GITLAB before. But, there is a way (or used to be) to tell the port to download a certain filetype suffix.
-
ek
gman999: Are you specifying a tag to pull? That seems like it could be a culprit.
-
ek
USE_GITLAB, GL_ACCOUNT, and GL_TAGNAME?
-
ek
Every port I current see using gitlab where the distinfo is pulling a .tar.gz is specifying a tag.
-
gman999
that's what i concluded ek... tag v release
-
gman999
this is a release so that's what it probably is.
-
gman999
appreciated.
-
gman999
_GITLAB_EXTRACT_SUFX= .tar.gz
-
gman999
_GITLAB_TAG_EXTRACT_SUFX= .tar.bz2
-
gman999
from bsd.sites.mk file
-
ek
Hrm. That almost looks opposite?
-
ek
But, that is for extraction and not downloading. I'll ahve to take a look at the bsd.sites.mk.
-
ek
Ah. The EXTRACT_SUFX specifies what to pull. Makes sense. So, yep. Specify a GL_TAGNAME and you should be good to go with a .tar.gz.