00:58:07 Does anyone know how to extract chip temperature from a 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]'? 00:58:29 It uses the mps driver. But unfortunately "mpsutil show all" does not show any temperature. 00:58:40 Here is more detail on this device adaptor: https://bsd.to/JuKy/raw 00:58:41 Title: JuKy 00:59:13 That chip is known to run hot and I am changing the way I am cooling it. Hoping not to have it overheat. 01:00:23 It says "Temperature: Unknown/Unsupported" but apparently there are other utilities (that I don't know) which can report this. 02:47:32 meena: you can also set a DNS over HTTPS resolver in firefox, then add exceptions to use the default system resolver. sometimes that helps. 04:11:35 hello what's best as performance using bhyve and openbsd vm ? or windows ? 04:12:09 currently I'm using vbox and openbsd vm, but it's very slow 05:44:42 meena: but you only need their dns for stuff in the vpn, not exclusively their dns for everything (as would be the result of using resolveconf -x) 05:54:58 mystic: openbsd vm is single core, thus slow. bhyve works much better. 06:55:10 vortexx: thanks so much, I'll try bhyve 08:38:59 hm, seems like resolvconf doesn't handle foreward zones :( but I do like resolvconf abstracting away configuring whatever is used for dns on a machine, I don't really want to build something to configure my local-unbound and then have to rebuild it, if/when I change my dns resolver 08:45:13 forward zones for what? 08:45:32 it does support local-unbound 08:46:54 configuring a foreward zone via resolvconf 08:47:33 at least I haven't found a way to do it 08:47:45 afaik, that's supposed to work, using the `unbound` subscriber 08:51:06 ok, so suppose I want to add a forward zone for $domain using the dns server $dns what would the resolvconf command for that be? 09:03:42 ah, ok, I have to get resolvconf to add it to DOMAINS and not add it to NAMESERVERS, but the man page doesn't really help to figure out how to archive that if it is even possible 09:15:52 ah, -p I ignored that one, because the interface doesn't really matter for some nameserver and it didn't explain what it means with an interface being private where the option is 09:28:49 crest: I think commands spanning multiple ´PostUp´s aren't compatible with wg-quick, hm I will probably do printf … | resolvconf … 10:19:05 nimaje: wg-quick evals a multiline string 12:50:31 anyone familiar with the "read after free" issue with heimdal in November of last year? 12:52:18 I'm about to upgrade a large farm and I'm wanting to make sure I have a good grasp/process worked through in my dev setup. I'm a little unclear on the current status and how the heimdal in base might affect heimdal in pkg. 13:39:00 xk2600: they are independent 14:22:47 trying to find a freebsd alternative to linux version of (head -n -lines) which inverts the printing to all but the number of lines 14:23:47 "-lines" as in + or - ? 14:24:39 line with - prints all but lines without - prints the lines 14:24:42 head -n +[numeral] |combindined with maybe tail in the same scenario to achieve your result 14:25:14 cannot invert something that is not there though 14:25:21 hmmm 14:25:39 invoke a perl one liner ? 14:25:49 awk or otherwise 14:25:58 grep etc... 14:26:23 Like, print lines 3-5 of a 5-line file? 14:26:32 line number nl(1) grep -v invovation 14:26:38 isn't head -n -X the same as tail -n X? 14:26:49 no it is not 14:26:56 ++ 14:27:47 got a pastebin with some scenario code we could go off of ? 14:28:19 expected outcome vs current outcome 14:28:31 output whatever 14:29:08 sometimes when i look at it i can write a whole script on one command line 14:29:16 <<< hence the nick 14:30:23 head -n 5 prints first 5 lines , i need to print all but the last 5 not matter how many lines there are 14:30:59 5 being an example 14:32:24 tail +5 ${file} 14:32:26 ? 14:33:37 all but the last 5 14:33:42 try it 14:33:42 head and tail combinded when you understand the - + syntax can consolidate most everything 14:35:23 Hey ted-ious , I think you were looking for this: https://weblog.antranigv.am/posts/2023/08/freebsd-jail-devuan-linux-openrc/ 14:35:25 Title: FreeBSD Jail booting & running Devuan GNU+Linux with OpenRC | Freedom Be With All 14:35:52 hmmm 14:39:14 nice 14:41:02 tail -n +5 14:41:28 everything else but the last 5 lines 14:42:53 for me it prints the last 5 14:43:33 piping to tail though 14:43:38 ot file 14:44:32 same deal with file 14:46:03 see what you mean here. something seems off. just realized i was macOS and mixing results with freebsd/13 14:46:14 assuming you are on /13 ? 14:46:21 yes 14:46:27 k 14:48:10 "tail -n 5" works for me on FreeBSD. 14:48:44 Wait, no. Misread. 14:49:16 micdud: I think awk -v LINES=5 'BEGIN { i=0; } NR >= LINES { lines[i] } { lines[i]=$0; i+=1; if (i >= LINES) { i -=LINES } }' $file should do the trick 14:50:17 * CmdLnKid was stuck on tail and head to keep it on what he was looking for 14:50:53 awk works perfectly fine. grep -E probably could as well as perl 14:51:42 * CmdLnKid hands nimaje a razor to shave off that grey beard 14:52:10 hey, it isn't grey and it stays 14:52:13 nimaje thanx , was hoping for a simple one , ( best i have so far is using tails inversion twice ) 14:52:18 rofl 14:52:36 "just for nicks" 14:52:56 ;) 14:53:58 incase you need some more: https://shop.justformen.com/165651217856640ee245a/b9bd6950-33a0-db42-7cf3-ae1a482ec30e?clientAssignedId=81570094682164&utm_source=bing&utm_medium=cpc&utm_campaign=BrandSearch&utm_term=just%20for%20men&gclid=fada565527621f1d545b329c3b0d5c73&gclid=fada565527621f1d545b329c3b0d5c73&gclsrc=3p.ds&gclsrc=3p.ds 14:55:30 wholy shit that turned out a long url 14:55:56 ... anyway back on topic 14:57:19 micdud, in anyway is there some sort of sorting going in this ? 14:57:45 no , just trying to keep my scripts clean/simple 14:58:24 k. ive seen in the past sort/sort -n |tail and the likewise do some pretty cool shit 14:58:48 porting from linux to bsd / this is the last thing that bugs out (https://github.com/dandudikof/zfs-auto-mod) 14:59:46 conversion to sh compatibility. POSIX 1003.2 14:59:59 fun shit 15:00:03 no 15:00:12 linux bash to freebsd bash 15:00:21 exactly 15:00:33 bash 15:02:09 if linux bash comformed to the standard "not trying to drive this off topic [bashism]" then writing POSIX 1003.2 you would not be having this problem right now 15:03:47 sorry have some real connection issues going on in CST 15:23:38 how do I run a script as a certain user? 15:23:50 https://docs.freebsd.org/en/articles/rc-scripting/ 15:23:51 Title: Practical rc.d scripting in BSD | FreeBSD Documentation Portal 15:23:53 nothing to be found here 15:28:18 mikoto-chan: that page mentions rc.conf(5) which lists all of the options available. 15:30:03 debdrup: thanks! 15:40:31 spoiler, it's _user=… 15:40:40 so does /etc/defaults/[,,,]*, crontab etc... 15:41:08 "SEE ALSO" in the man pages 15:41:09 * mikoto-chan reads manpages at a faster pace :) 15:43:25 ideas only spur information for creation so no holds barred. 15:54:09 previously I used .xinitrc to eval gnome-keyring-daemona and export SSH_AUTH_SOCK -- using Sway and Wayland (with Xwayland disabled) where do I actually export SSH_AUTH_SOCK? I can start sway w/ dbus-run-session and start gnome-keyring-daemon from .config/sway/config but I don't think I can export SSH_AUTH_SOCK from there ... 16:34:06 antranigv: Very nice! 18:43:15 I was looking at spinning up a wireguard endpoint and was wondering what the state of wireguard is in 13.2? Is anyone using it? 18:56:02 beowuff: see https://blog.rlwinm.de/the-missing-wireguard-integration-into-rc-d-for-freebsd-13-2 / https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272842 18:56:03 Title: The missing WireGuard integration into rc.d for FreeBSD 13.2 — blog.rlwinm.de 20:23:05 beowuff: the kernel module is in base, wg-quick is in ports and if you only want to use base stuff see that blog post, but I'm not sure if exchanging bash (wg-quick) with sh counts as progress 20:27:54 Thank you, I'll take a look at the links. 20:37:16 nimaje: yeah, it's still a sh… 20:47:27 and you loose arrays with the bash->sh step, well, no idea how good bash handles arrays (does bash have other improvements to what posix specified as sh? they didn't improve quoting for some reason) 20:49:31 lack of arrays is sh's biggest weakness 20:49:40 the workarounds all suck 20:49:52 bash handles them well enough. 20:50:11 Hmm... I have never missed the arrays of bash and always use /bin/sh syntax. (shrug) 20:50:44 If I need complex datas structures then I switch from the shell to Perl, Python, Ruby, Lua, or other. 20:51:56 the only reason that rc.subr and rc.d/* don't explode and messily destroy the whole system is that their input and the filenames they handle are all reasonably safe 20:53:25 e.g. that paths like /etc or /bin don't contain whitespace 21:01:00 one of the workarounds is to use the positional parameters as a single array 21:03:37 an interesting shell challenge is this: ./reorder-o.sh somecommand args... -o outfile moreargs... which should execute somecommand args... moreargs... outfile 21:05:36 I have not looked at reorder-o.sh but... re-executing things is a good use for the positional parameters because "$@" exists. 21:06:18 right. but that only allows you to manipulate one array at a time. 21:06:44 Right. But if exec'ing then none of the others matter after the exec. :-) 21:12:32 Obviously the challenge is for something in base which then can't use anything outside of base. Consequentially it might force something that is simple in the shell to be written in C so as to compile into base okay without any other requirements. 21:13:17 I presume (perhaps incorrectly) that was probably a driving reason for bectl to be in base rather than beadmin in ports. Just for an example. 22:44:32 Hello, all 22:45:48 I asked earlier if anyone knew how to get X to lock using xscreensaver before going to sleep from a lid closure. I had to leave so I wasn't able to see any replies. 22:51:22 memory is saying 'xlockmore' but no reason why its a distant memory 22:52:49 hmm... I'm trying to modify the /boot/loader.conf of an installation stick I Just created by dd'ing the .img to a USB drive. When I try to mount the partition from the USB-stick it tells me "invalid fstype" what the heck? 22:56:06 <_xor> If I need arrays in /bin/sh, I use double-quoted strings embedded with single-quoted strings where required. Yes, it feels hacky. 22:56:20 how do you build a flavor (e.g. git-tiny) using ports? 22:56:30 <_xor> category/port@flavor 22:56:47 where does that apply? :) 22:57:47 <_xor> Oh, sorry, I use poudriere by default which takes that format. For /usr/ports, I'm pretty sure it's just like any other macro: `make FLAVOR=myflavor" 22:58:31 @daemon idk...I'm thinking it's something to do with dbus?? Unless xlockmore is the thing I need that talks with dbus? 22:58:47 you know the @ thing does not work on irc right :P 22:59:16 xlock and xlockmore used to integrate with xscreensaver to use pam to prompt for login on system resume 22:59:21 yeah...it's been a while lol 22:59:30 new habbits repladed the old ones 22:59:36 however ... I have not used freebsd in graphical mode in errr ... freebsd 5.x 22:59:46 a while 22:59:59 _xor: right, thanks! i tried that but was confused by large number of dependencies needed (and didn't check package-name) 23:00:00 <_xor> Don't get all high and mighty. 23:00:58 <_xor> Heh 23:01:00 portmaster ftw >.> 23:01:13 Hmm, I actually have a few desktops with FreeBSD...it's just the laptop I have minor issues with (that being the screen locking). Current "work around" is to just lock the screen then close the lid but it'd be nicer if it's automatic. 23:01:15 <_xor> I just use pkgbase (ty meena). 23:01:44 BillyJoeBob, seems it suspends before the event triggers to announce to lock 23:01:45 Otherwise, if I don't lock it first and after opening the lid again, it just presents me with an unlocked screen... 23:01:59 so what you want to do is get some notification of a suspend and tricker a lock-the-screen event 23:02:01 daemon, exactly. 23:02:03 so on resume it shows it 23:02:19 <_xor> I've been using FreeBSD as my desktop for the past year or so now. Its been working out pretty well. Like anything else it has some warts, but the trade-off was worth it. 23:02:41 I 23:02:41 yeah I switched to FreeBSD as my desktop about two years ago and I love it. 23:02:50 (had 10 years of FreeBSD server experience before that tho) 23:02:51 I wonder if there is a way to tail acpi events 23:03:00 <_xor> daemon: I wasn't following. Are you trying to require a login upon resume in xorg? 23:03:01 so you could see the suspend event trigger 23:03:03 daemon, I've tried a few things with acpi or devd...I can't remember but that didn't work as the user that ran the commands didn't run as me and with me running the x session, couldn't work. 23:03:05 you don't need to, you have devd 23:03:15 oh 23:03:28 _xor, not me, BillyJoeBob; on suspend his system suspends before telling his desktop it will require a login to well unlock 23:03:41 so it resumes to desktops 23:03:53 daemon, I want x to still run but be need to enter my credentials on xscreensaver 23:04:08 <_xor> Isn't there a config setting somewhere that tells it to require a password on resume? For some vague reason that's ringing a bell. 23:04:26 yeah that is where xlock(more) would normally fill in, but it seems on your system the suspend likely (s3) happens before it can even manage that 23:04:33 so on resume its 'straight back in' 23:05:08 <_xor> BillyJoeBob: Are you using a login manager? 23:05:40 <_xor> e.g. sddm, ly, greetd, etc. 23:06:04 I'm using lightdm with xfce 23:06:40 excellent choice, that was my choice back in the day too :) 23:08:12 I used to use slim but that seems to be abandoned and couldn't shutdown, logout, restart from xfce's power menu 23:08:39 would assume that was more hald policies than anything else but eh who knows 23:08:57 you tried just for the laughs trying a fatter DE like kde? just to see if it does support it 23:09:09 it would be interesting to see if its a software issue or a hardware one 23:09:24 * _xor is running hyprland (wayland) and currently using ly as his login manager, though was using sddm before (and would like to again) 23:09:45 ...I have not but I suppose I could try. 23:10:06 I did like how greetd looks after searching that up. 23:10:13 worth it to see what you are facing, afterall if it does work on a larger DE then it is possible, if its not then you are into the trailing acpi thread 23:10:21 and writing your own script to trigger lock 23:11:02 <_xor> I should try greetd, its been on my todo list. I'd like to be able to use DPMS from login screen so that the monitors blank and turn off after being idle for enough time. 23:12:08 daemon, that would be annoying. It is a Lenovo T590 btw, forgot that. 23:12:32 ah we even have similiar systems, menovo carbon X (6th gen) here :P 23:12:37 lenovo* 23:13:06 Did you need to make a devd file so you could adjust screen brightness? 23:13:18 By using the keyboard function keys? 23:13:22 nope, but I do not run it in graphical mode (pure console mode) 23:13:27 Ah. 23:13:43 I was just happy the wireless worked which is a miracle now days 23:13:48 You could still adjust brightness though, I'm assuming. 23:13:52 yep 23:14:07 seems to be hardware bound against the fn keys rather than software controlled 23:14:19 Yeah, I'm hoping wifi gets better. I hear there's a guy that's working on 802.11ax support. 23:14:40 Yeah, I had to setup a devd file for mine to get my buttons to work. 23:15:31 there always is someone working on wireless and camera support, to be honest I always found it easier spending 30-40 bucks on an ethernet/wireless adapter bridge (usb powered) and just using that; they was common for connecting the old xboxes with no wireless to well wireless networks 23:15:35 handy for the hacker bag 23:16:38 Yeah, now you can setup a linux vm to handle the wifi card for you and tunnel it over a virtual interface lol 23:16:49 Sounds a bit...over the top. 23:17:51 to expensive resource wise and I bet the latency is shit -_-; not to mention I bet it suspends horrifically 23:19:43 Yeah, haven't tried it but it's a thing, check out "pkg search wifi" 23:19:57 anyhow time to slough into bed :) have a nice one BillyJoeBob; also one thing to consider ... I just rent a dedicated freebsd server .. from that that I run linux vm's I then run whatever os works best on my equipment and tie it all together with a vpn; sometimes making it work is ... more than its worth and its easier to take the well the easier route ;) 23:20:01 It's the wifibox packages 23:20:58 Sounds complicated...I'll pass lol. Have a good one. It's only 6:20 here. 23:20:59 pm