-
debdrup
Huh, I didn't know/recall that bgscan can be per-BSSID for wpa_supplicant.conf(5).
-
debdrup
(It's the option that lets you adjust when scanning occurs, to improve roaming on multi-BSSID networks, based on received signal strength, if memory serves.
-
_xor
Quick poll: What does the phrase "function signature" mean to you?
-
Rue
why are there 2 lines of production releases? 13.2 -> 13.3 and 14.0 -> 14.1 ? due to some major changes or something? if i'm installing from scratch, do i go for 14.0? (for personal desktop)
-
nimaje
because support times for major releases overlap (and major releases have a stable abi), yes, go with 14
-
Rue
thank you :)
-
souji
_xor: I would say the required parameters describe function signature
-
dwho
Hello everybody, I try to use my printer with cups, I follows the doc but I want to print a pdf , it's nothong to do, I have not message in /var/log/messages.
-
albertus
Hi! Can somebody give me a pointer towards TLS/SSL "trusted CAs" in FreeBSD? it seems the jail setup procedure from the Handbook does not take care of this: `curl` and `wget` inside a fresh jail cannot verify e.g. https of google.com, while the host directly makes the `wget` call without any errors. (interestingly, firefox on X11 inside the same jail worked just fine)
-
albertus
aaah, I think I got it. /etc/ssl/certs are symlinks, and because the Handbook example of jails makes /etc in the jail a symlink one level deeper (/skeleton/etc), those symlinks do not point to /usr/share correctly, but to /skeleton/usr/share (not existing)
-
albertus
solved it. might be worth another addition in the Handbook
-
albertus
how do I look up the meaning of /dev/ nodes?
-
albertus
their individual purposes
-
lw
albertus: for most of them, man <basename>, where basename is the device name without the unit number
-
albertus
no luck for `console`, `kbd`...
-
albertus
I think kbd0, kbd1 will be keyboards, but I'd like to browse some actual docs
-
albertus
trying to figure out devfs.rules for a jail in which I'm running X11
-
lw
albertus: for me, /dev/kdb4 is a symlink to /dev/ukbd4 which does have a manpage (ukbd(4))
-
albertus
ah, you're right
-
lw
console should probably grow a manpage even if it's just a pointer to the actual console devices
-
debdrup
albertus: I'd recommend using bsdinstall(8) for jails, as it also takes care of things you'd normally need to do with certctl(8).
-
debdrup
As you can probably guess, bsdinstall is what's run automatically when you boot installation media, and it has a subcommand specifically for creating jails.
-
debdrup
`apropos console` would've gotten you pointed towards vt(4), which is the console driver on FreeBSD.
-
lw
/dev/console could also be a serial line though (or something else like a VM console) which is why i was thinking it could do with a manpage
-
debdrup
apropos(1), whatis(1) (and to some extent whereis) are _very_ useful utilities when dealing with manual pages.
-
debdrup
lw: creating a MLINK to it from vt(4) wouldn't be a bad idea.
-
debdrup
s/eis/eis(1)/
-
jbo
lw
-
jbo
lw my friend
-
jbo
lw, I think I might have found something.
-
lw
jbo: buried pirate treasure?
-
jbo
lol
-
jbo
-
VimDiesel
Title: GitHub - soasis/text: A spicy text library for C++ that has the explicit goal of enabling the entire ecosystem to share in proper forward progress towards a bright Unicode future.
-
lw
jbo: that's the one i was thinking of before!
-
jbo
-
VimDiesel
Title: Any Encoding, Ever - ztd.text and Unicode for C++ | The Pasture
-
lw
couldn't remember what it was called
-
jbo
lw, nice - when I read the docs and everything I thought "this must be the one lw mentioned" :D
-
jbo
this is looking extremely promising. I have no idea how that lib is not getting more exposure
-
jbo
I think I'll take it for a spin tonight
-
jbo
lw, have you actually used this or only looked at it?
-
lw
jbo: i used it and briefly spoke to the author about it ages ago (who seemed to know what they were doing)
-
lw
i mean, i didn't use it in any actual software, i just tested it quickly
-
jbo
lw, ack
-
lw
can't actually remember how that went now :-)
-
jbo
too much or not enough vodka?
-
johnjaye
lw: can you ELI5 why this library is amazing?
-
lw
johnjaye: C++ has no good way to process Unicode text, this library lets you do that
-
johnjaye
that is a shocking statement
-
johnjaye
but i guess i asked for it
-
jbo
how is that shocking? proper text support being absent in C/C++ is probably one of the most valid hater arguments
-
jbo
it's a real pain.
-
lw
and it doesn't help that ICU, the most common third-party library for this, has a rather dated API, like using UTF-16 internally
-
johnjaye
probably just because it's such a basic thing you'd think it would have been solved by now
-
jbo
it is anything but a basic thing.
-
jbo
it is probably one of the more complex challenges to solve
-
lw
it's basic in the sense that it really should be in the language though
-
jbo
oh, yes.
-
jbo
I agree.
-
jbo
sorry - I misunderstood :)
-
jbo
lw, I'm now going to change the payload type from uint8_t to std::byte so be prepared for painful questions.
-
johnjaye
i meant more in terms of being fundamental to doing other things
-
johnjaye
but yes that as well
-
lw
jbo: don't byte off more than you can chew
-
jbo
badum-tss
-
jbo
lw, I did encounter std::as_bytes and std::as_writable_bytes in the meantime :D
-
V-T60
Hello
-
V-T60
How do I use bsdisks?
-
V-T60
Could not register UDisks2 service
-
V-T60
That just doesn't work
-
nimaje
hm, is dbus running? (but I throught it should autostart if it isn't)
-
V-T60
How do I even start it?
-
V-T60
The most recent versions of packages are already installed
-
V-T60
% sudo pkg install dbus
-
V-T60
How do i correctly start that dbus?
-
V-T60
I can't see any service
-
V-T60
oh, ok, service dbus start
-
V-T60
but it is anyway isn't working
-
V-T60
% sudo bsdisks --detach /dev/da0
-
V-T60
hmmmm
-
V-T60
nothing is happening?
-
Oleg
I've been trying to compile a program with the help of edk2, but I've had no success so far.
-
Oleg
-
VimDiesel
Title: | Bex' Site
-
V_PauAmma_V
16
-
Oleg
the site says: "Create the following symlinks in BaseTools/Bin/FreeBSD-amd64:"
-
Oleg
Is FreeBSD-amd64 a file in this case?
-
V-T60
/sys/block/(whatever)/device/delete
-
V-T60
where is this path?
-
V-T60
i want to power off the HDD
-
V-T60
what is hdparm in FreeBSD?
-
johnjaye
i don't think there's a direct equivalent. what do you want to do? maybe diskinfo or dd can substitute
-
V-T60
i want to power off the disk
-
debdrup
V-T60: camcontrol(8) is what you're looking for to power off a disk
-
tm512
so I'm thinking I'll finally get around to making a dwm status bar script for FreeBSD. I'm guessing I'll probably want to use vmstat for grabbing CPU usage, unless there's something better?
-
tm512
I see that vmstat also reports memory usage, but it doesn't seem trivially machine-readable
-
rtprio
you might dig it out of `sysctl vm` instead for memory
-
tm512
rtprio: at least at a glance I wasn't seeing free memory as a sysctl
-
tm512
I'm continually surprised that free(1) still hasn't been brought into the BSDs
-
tm512
I may just install and use freecolor which has an -o flag that makes it behave like Linux's free command
-
tm512
freecolor -o would let me port over the bit of script from my Linux status script pretty much unchanged and let me grab swap info along with RAM at the same time
-
tm512
something like: freecolor -o | awk '/Mem|Swap/{ print $2, $4, $9, $11 }' | { read mtotal mfree; read stotal sfree; <printf stuff>; }
-
tm512
maybe this is just a limitation of hwstat, but I wish for CPU temps it provided the overall package temperature, like what is listed as "Package id 0" by the sensors utility on Linux
-
thegman
and here i thought free was posix
-
tm512
evidently not. it seems like such an obvious utility to include in UNIX-like OSes, hence my surprise that it's absent in every BSD still
-
tm512
seems like it's a deliberate exclusion at this point
-
tm512
what I found interesting when I was most recently using NetBSD, is that free is excluded, but they've cloned /proc/meminfo from Linux
-
johnjaye
what did you do to find memory info in the original unix? like v7 or something right was the last one?
-
tm512
johnjaye: I think UNIX genealogy is a bit more complicated than that. I've never used those vintage Unices though
-
tuaris
has anyone else noticed that golang based daemons tend to spin the CPU a lot when in the 'pause' state? I've seen that on a variety of freebsd systems with a number of different ports.
-
tm512
johnjaye: does seem like V7 was sort of the common ancestor of modern UNIX variants though I'm presuming there was some crossover even after that point. but V7 seems like the point after which AT&T UNIX and BSD split off
-
tm512
I kinda like how the commercial/proprietary branch of that split is increasingly irrelevant as time goes on and that BSD is more or less thriving for what it is
-
tm512
only thing I like from that branch is illumos though I haven't really used it as much as I'd like to
-
jgh
my only memory of V7 was that we assumed it'd be memory-full and swapping continuously. But it's been a while
-
rwp
tuaris, I have not noticed that but I know that golang is a garbage collected memory system. Could it be doing garbage collection during that time? And please clarify what you mean by the pause state?
-
rwp
tm512, You are pretty much correct about the history but strongly influencing referencing v7 is also because the source for v7 was released into the public domain some years ago making it the most accessible reference point.
-
rwp
For myself I rather consider 4.4BSD Lite2 as being a major milestone. That was the first totally freed version. Missing some things due to the forced nature of removing non-free parts in order to create it. But from that point forward free software development could proceed.
-
rwp
-
VimDiesel
Title: Berkeley Software Distribution - Wikipedia
-
tm512
I'm a bit too young for it to be a trip down memory lane :P
-
tm512
only a bit older than FreeBSD itself
-
jgh
it doesn't mention Multics!
-
rwp
I spent most of my career on the right side of that diagram. Unfortunately in the red areas.
-
tuaris
rwp: for example, this is what top shows: " 1872 netdata 219 68 19 625M 77M pause 29 289.6H 29.58% /usr/local/sbin/netdata -P /var/db/netdata/netdata.pid"
-
thegman
ok i need to stop using gentoo linux this is the second unexplained crash today
-
thegman
is dualbooting freebsd with some linux distro like void (used for steam and stuff) viable at all
-
jbo
why wouldn't it be?
-
jbo
also, some steam stuff works under freebsd