00:13:25 guys what window manager do you use on a laptop ? 00:14:21 i3 00:14:43 but like, thats such a personal thing lol. 00:14:58 * meena hasn't not used a laptop in thirteen? years 00:20:14 wait, why would laptop or desktop make a diffrence with that question? 00:22:47 For me, a window manager for a laptop needs to have much better keyboard nav support, because almost all laptops have bad trackpads (and I don't pack a mouse) 00:23:07 i3 is a great example :) 00:24:43 wait, why would you want to control your wm or anything with a mouse? 01:05:31 i3 FTW! I use it both on the laptop and the desktop. But one must adjust the default keybindings because the original is definitely an unusual choice. 01:34:18 * V_PauAmma_V uses Xfce on his laptop-that-seldom-leaves-his-desk. 01:44:45 personal laptop uses dwm, work laptop uses kde with the same shortcuts to do the same things as the dwm one 01:44:47 nimaje: again, just for me, it sometimes comes in handy when opening remote desktops; I tried using connecting to an i3 remote session from a sway local session, and it got confusing 01:58:46 I almost never use remote graphical connections such as VNC. Almost never. Plain text over ssh is more than sufficient. Coupled with tmux/screen and a good editor and "Bob's Your Uncle" as they say. 01:59:34 But if I do need to do VNC to a remote host then I usually use a different window manager in the VNC session just so the look and feel is different to avoid the problem of which window manager in the nesting I am controlling. 02:13:39 Question: What do I need to know to run X with two graphics cards installed? I tried it and X does not start with a "Fatal server error:" https://bsd.to/3WMb/raw 02:13:41 Title: 3WMb 02:14:12 I don't have an Xorg.conf file at all and don't know how I should set it up to "Please specify busIDs" or whatever. 02:54:33 rwp: ordinarily I agree re. ssh/tmux. I use tmux to an absurd degree already. but remoting into VM consoles (if only during configuration) is one edge case I've just given in and used xrdp. 02:54:36 and yeah, same wm in host and remote is a recipe for madness! 02:55:49 The name xrdp makes me think MS Windows. Does it work with more than Windows? 02:57:37 it is the same RDP protocol from windows 02:58:01 A feature of tmux that I have started to appreciate is find-string in whatever window it is in. Appreciate because I have lost track of where I was doing what and can't find it now. 02:58:31 but it can serve an Xorg session to an RDP client on any platform; and RDP is a better, more functional experience than VNC. 02:59:11 I don't doubt that something could be better than VNC, by a lot even, as VNC is only incrementally improved over raw X. 02:59:32 I'm still drunk with power after getting tmux-resurrect running 02:59:43 I did not know that RDP could serve an X Windows session. I want to try it now. What do I need to know? 03:01:01 tpm is a great addon for tmux too.. if you are a vim fan (not meant to start stuff) vim-tmux-navigator is nice too 03:01:13 Most important is probably that it's my virt server and thus... *cough*kvm*cough*. On top of that, sometimes it got confused if a user has a local session when trying to connect to a remote session. 03:01:17 https://www.jeremymorgan.com/tutorials/freebsd/how-to-remote-desktop-in-freebsd/ 03:01:25 rwp i found that article quite helpful 03:01:27 Title: How to Set Up Remote Desktop in FreeBSD 03:01:31 I was unaware of tmux-resurrect until you mention it now and I go look. But when I reboot things I have a scripted startup to set up tmux and pre-populate panes as I want them. 03:02:23 I got about 1/3 of the way toward implementing my own tmux-resurrect (poorly) when I figured someone else must have done it. and they had. 03:03:21 I'm in awe of how it goes about reconstructing complex neovim sessions, but I'd use it even if all it did was restore panes in specific directories 03:03:35 voy4g3r2, What is tpm? As usual I enter here with one thing and then leave with twenty things I need to go investigate! :-) 03:03:45 haha 03:03:47 tpm is the tmux plugin mgr 03:03:48 it is a plugin manager for tmux 03:04:06 I am not using any plugins with tmux. It's fine for me as it is. 03:04:25 it's how you'd install tmux-resurrect... but I think you can do it manually too. 03:04:57 when i jump from machine to machine, i know everything is in sync an dhelps 03:05:04 need a theme.. boom tpm 03:05:13 want to load tmux-autoreload 03:05:15 tpm 03:05:38 I am browsing the list of plugins now. But so far nothing is reaching out and grabbing me saying I need it. 03:05:45 oh, I haven't used it to keep things in sync... though I do synchronize my tmuxrc across machines 03:06:07 penryu: i upload the latest tmux to git repo and then download updates 03:06:15 if i added anything.. i just do ctrl-s + I 03:06:20 and it just pulls everything 03:06:23 ahhh nice 03:06:43 i take a similar approach with my neovim and lazy 03:07:07 <3 lazy 03:07:27 find a great nerdfont and it is quite heavenly 03:08:10 i am a panes person, in vim, and i am told with buffer and some harpoon 03:08:27 you can be in heaven, have not quite gotten to there level.. so lazy + git allows me to move things around easily 03:08:32 harpoon? 03:08:59 https://github.com/ThePrimeagen/harpoon/tree/harpoon2 03:09:00 Title: GitHub - ThePrimeagen/harpoon at harpoon2 03:09:15 you want some funny youtube/twitch stuff his personality is great 03:09:27 found him one day going down my lazyvim rabbithole 03:09:54 lua > vimscript 03:10:57 i was quite close to trying the mechnical keyboard he uses.. but he is a dorvak person.. cringed 03:11:08 then i had to spend all this money on a new file server... so mechnical keyboard goes on backburner 03:11:16 i guess my corsair k70 will have to do 03:13:39 it has been quite helpful when trying to edit files from src 03:13:49 especially freebsd14 tree and finding man page files 03:14:26 so instead of a huge :vs i just load up harpoon and search for the file and it finds it for me 03:18:13 haha the license for fdwrite(1) is pretty funny... the beer-ware license 04:03:36 voy4g3r2: yaaa, that guy is pretty high-energy. will try out harpoon tho thx 04:07:15 yeah, i am still in the testing it out phase.. telescope does a lot of what i need so far.. just figured, he is funny and might as well give it a try 04:19:59 I really like fuzzy finding for finding a file in a project, but using it to switch _between_ open files is far from ideal. so I'd actually started doing exactly what he was mentioning: just :bnext/:bprev (mapped ofc). I think I almost have what I want with buffergator. so his rant about the mental pathway to harpoon definitely resonated with me 04:51:06 hmm, wonder where the pkg get the kernel version from, https://pastebin.com/3SchTYD1 04:51:07 Title: $ sudo pkg update -fUpdating FreeBSD repository catalogue...Fetching meta.co - Pastebin.com 05:11:55 phew, I had a bit of a slow migration back to CURRENT. 05:13:00 another reason to get a build server 05:13:43 yuripv, Did you set pkg to latest? 05:14:49 the problem is the "running kernel" 05:17:20 The paste seemed to indicate that it needed a running kernel later than the one you were running. It's a symmetrical relationship. 05:17:50 and at the end of the paste is kern.osreldate output showing that pkg got that wrong 05:18:29 Ah... Gotcha. 05:18:58 Run truss and grep to see where it gets that value from? 05:35:44 I have a /bsdisks.core no idea where it came from 05:35:55 is this a system file or just a crash from bsdisks 05:37:08 can anybody test -x /bsdisks.core so I know if I can erase this 05:38:18 Its not on my fs. 05:40:37 That's a core dump from bsdisks program. Bug! 05:43:06 wow, it's some black magic that pkg does, reading the version from uname and/or shell binaries (i wonder how it's related to "running kernel") 05:49:14 "freebsd-version -kr" ?? (shrug) Just grasping at straws. I would need to look at the pkg source to really know. 05:56:37 running current, and building with WITHOUT_CLEAN, so it's sometimes expected, i guess, still i wouldn't call that "running kernel" version :) 06:06:08 scary $#$@ too, bsdisks is a system program, amazing I didn't get a kernel panic 09:29:46 rsync is not automatically installed with the basic system ... Is rsync the tool of choice in the BSD world? 09:32:16 rsync isn't even the tool of choice in the linux world 09:33:10 and on freebsd? scp? sftp? 09:33:58 Try rsync first. 09:34:07 task is, download an folder recursive from another ssh-server 09:35:04 sound more like a task for 'scp -r' to me. rsync is only required if you have a 2-way sync inho. 09:36:11 Yea 09:42:57 oki, thank you 09:47:24 I use rsync -e ssh if I need to copy directory structure, scp -r has almost never done exacly what I need 09:54:52 or 'ssh host tar cf - path/ | tar xf -' if you have lots of files, scp can be QUITE slow 09:56:27 I like `rsync -a` for mirroring nontrivial directory structure, since it handles symlinks better than scp 09:56:30 you could probably find a comparable tar invocation, that might even be faster, but I haven't found anything to beat `rsync -a` for memorability 10:21:57 yuripv: cool I did not even know "tarcp" works over ssh 11:46:46 nmz: wait, bsddisks not only crashed for you but later caused a kernel panic too? 11:47:46 penryu: this? https://github.com/jeetsukumaran/vim-buffergator 11:47:47 Title: GitHub - jeetsukumaran/vim-buffergator: Vim plugin to list, select and switch between buffers. 11:52:47 voy4g3r2: yes, though I have now swapped it out for lspsaga's outline 11:53:28 er... no. I swapped buffergator out for fzf's :Buffers; I swapped symbols-outline out for lspsaga's outline 11:56:34 (in both cases the plugins were already there, I just had duplicate functionality) 14:18:32 If I understand the current status, then Raspi (1) should be supported as Tier 2 for the next 4.5 years while FreeBSD 14 is still in-use. Afterwards, it will no longer be supported. Am I correct? 14:24:00 so if i want to add hw.bge.allow_asf=0 and dev.bge.0.msi=0 to loader.conf, can i also just sysctl those without rebooting? what is needed to make them work? 14:27:53 rpi 1 is armv6 which means it is Tier 3 on FreeBSD 14 14:28:09 the man page says they are only settable by the loader, maybe it works if you can unload and reload the module, but I would expect it to be compiled into the kernel 14:31:29 bge compiled in kernel 15:40:46 is the rc.d script of wireguard-tools packages compatible with 13.2+ BASE if_wg? 15:41:29 I'm wondering why there is no rc.d script to setup wireguard 15:41:43 paulf, Oh. Thanks. 15:44:29 mage: it should be 16:14:54 mage: there probably should be an rc.d script in base, but i just use /etc/start_if.wg0, which is executed automatically by rc when the interface comes up 16:15:24 (it only has a single line, 'wg setconf wg0 /etc/wg/wg0.conf', and i do address config with ifconfig_wg0 in rc.conf) 16:17:15 at the least, it would be nice if you could setconf_wg0="/etc/wg/wg0.conf" in rc.conf 16:17:26 there is also https://blog.rlwinm.de/the-missing-wireguard-integration-into-rc-d-for-freebsd-13-2 and https://blog.rlwinm.de/wireguard-configuration-for-freebsd-13-2 16:17:27 Title: The missing WireGuard integration into rc.d for FreeBSD 13.2 — blog.rlwinm.de 16:18:21 hm, where is that /etc/start_if documented? 16:18:31 oh, that uses devd which is an interesting approach 16:18:39 nimaje: rc.conf(5) 16:20:59 yeah, I want to build something based on that blog, so that I can bring the tunnel up and down via ifconfig and have them configured in rc.conf 16:24:55 i'm always a bit suspicious of devd because it seems somewhat magic, but having the config loaded automatically would be easier than having to specify it manually. it might be confusing if users don't understand why that's happening though 16:25:12 do you know if the author of those posts submitted a PR? 16:26:30 afaik no, and as I read those posts it seemed a bit unfinished, no idea where he works on that, maybe only in private 18:39:49 Hello! How to specify multiple groups when using `pw groupmod newgroup -m user'? 18:40:30 I tried with `group1,group2,group3' and it generates an error `pw: unknown group' 18:40:56 and if I try with `group1 group2 group3', actually user only gets added to group3 and the first 2 are ignored 19:13:01 rockyh, I don't think you can do multiple groups, maybe you can, but you can loop over multiple groups and add them one at a time. for grp in group1 group2 group3; do echo pw groupmod $grp -m user; done 19:13:37 I didn't double check the syntax, I just modified the pw command you posted. Maybe it's correct. That's why the echo is there. Look first and remove the echo only when you think it is correct. 19:14:02 Thouh I know a lot of people just pipe the output to the shell when they think it is good. | sh 19:14:32 Probably "| sh -x" is better. I should have put a -x on the end. I usually remove the echo when I fire something like that for effect. 19:16:11 rockyh: you can use pw usermod user -G group1,group2,group3, but this requires you to specify the entire group list 19:16:22 otherwise, like rwp says just call groupmod 3 times 19:23:57 I admit that when I saw the object-verb-object combination that I did not realize why it confused me but now I do. The original example modified the group adding a user. But actually it needed to be modifying a user adding multiple groups instead. 19:24:49 The original form (groupmod) would have probably been suitable for adding multiple users to the group. 19:25:03 Always fun when I learn something new about how to think about the commands. :-) 19:31:35 well, technically modifying a user to add them to groups is really modifying the groups to add the user. but you don't always think of it that way in practice... probably depends on whether you just added a new user or a new group 19:32:06 "pw groupmod g1,g2,g3 -m user" wouldn't be a bad thing to support 19:35:20 Using pw really abstracts things and distances the command line from what's actually happening. Personally I would rather just edit the /etc/group file manually. 19:35:33 ^^^ 19:36:14 How are newcomers going to be learning how user accounts actually work when we put up such barriers? It makes it harder not easier. 19:43:47 rwp: do you really want to go back to using sed (or whatever) to edit /etc/group in a newuser script? :) 19:46:04 this is going to be an odd question, is it common for the freebsd handbook to reference older releases? such as the jails section.. it is referencing 13.2 stuff but not 14.0 19:46:50 voy4g3r2: if it says "this feature was added in 13.2" that would seem normal, if it says "you can only use this in 13.2" (when it also works in 14.0) that should probably be rephrased 19:47:27 handbooks updates are not really synced with releases, they happen whenever someone decides to do them 19:48:23 lw, I am certainly okay with using system tools for automation when provisioning a system or when rolling out a change to an entire network. But if I am just adding myself to another group then I just tend to use emacs and edit the file in that case for one-off things. 19:48:29 (this someone can be you! i know you're already working on manpages...) 19:49:35 And of course most large collections will use something networky to handle user accounts. NIS/yp, NIS, SQL, something. It's only small SOHO networks that don't. 19:51:01 s/NIS/LDAP/2 19:51:09 lw: it is referencing 13.2 images 19:51:11 I just totally blanked on LDAP there for a moment. 19:51:21 https://docs.freebsd.org/en/books/handbook/jails/#creating-classic-jail 19:51:21 rwp: fairly commonly puppet, which i'm fairly sure uses pw(8). i mean, i don't disagree, i also prefer to use vipw because i can never remember the syntax for pw anyway. but i mean, i wouldn't support removing it to teach users to use vipw instead :-) 19:51:22 Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal 19:52:32 voy4g3r2: i think that should have a note added to tell the user to use their action release (which should be fairly obvious, but just to avoid confusion). i doubt someone will remember to update that example on every release, and even if it used 14.0, some people still use 13.2 19:52:38 s/action/actual 19:52:58 lw, s/vipw/vigr/ I don't know. It is useful to know how the machinery works under the hood. 19:53:31 voy4g3r2: it could perhaps replace '13.2-RELEASE' with $(uname -r), except i don't think patch releases get new distribution sets on the mirror 19:54:07 Puppet, Chef, Salt, Ansible, and so on. I am one of those people who wrote their own configuration infrastructure system from before those existed so I still use my own for obvious reasons. 19:55:44 voy4g3r2, The steady state of disks is full and documentation in slight need of an update. It always takes a while for docs to catch up. 19:56:48 nimaje: it didn't, that's why I was surprised 19:58:01 The best person to correct and improve documentation is the newcomer reading it for the very first time. 19:59:35 voy4g3r2, I looked at the example and in this case I think it is fine as it is. Because it works on either 13 or 14. If the example were updated to use 14.0-RELEASE then that would likely fail on a still supported 13.2-RELEASE host system. Jails should not be newer than the host due to likely potential use of newer system calls than the running kernel supports. 20:00:29 fair enough 20:00:31 Alternatively it could do as you say and use uname -r or some such to dynamically produce the same download as the running system. But that would make things more messy and possibly confusing for the new user reading it. 20:00:40 i am just walking through it and was expecting one thing and saw someone different 20:01:12 The docs could definitely be improved and expanded to explain the kernel version requirement. That would be a win-win all around. It just needs someone to do it. 20:01:25 hehe yes 20:01:41 i wonder if i just downloaded the src or also the docs area 20:01:58 first step, see if i can even get a jail to be operational 20:02:17 Also since you are able to read the current documentation and be able to interpret what it is conveying you can always adapt the command to match your uname -r and match your current system if you have upgraded. 20:03:13 The skill to read docs, examples, blogs, tutorials, and adapt them on the fly to a different OS, a different OS version, a different architecture, is a useful skill to learn and master. 20:03:32 yeah. i have been doing that over here: https://bughuntingfreebsd.wordpress.com/2024/01/09/sanoid-and-syncoid-you-say-easier-than-zfs-send-zfs-recv-you-say-lets-find-out/ 20:03:34 Title: sanoid and syncoid you say? easier than zfs send | zfs recv you say?.. lets find out. – FreeBSD Bug Hunting 20:03:36 for example 20:03:55 rwp: yes, suprisingly this is what i do for work all day.. take something someone told me, then translation for multiple stakeholders.. 20:04:07 the art of meeting minutes, something i never thought would be useful.. they are quite useful 20:04:26 More useful as the brain ages. I miss my 20yo brain! 20:04:31 Fun! Lunch time here. BBIAB 20:06:25 yeah, i should head down tot he gym myself.. while this jails does a freebsd-update 20:26:14 i can't figure this out. in what must be connected, i previously had an entry in dhclient.conf that specified another host IP. the system was using a static IP, but i wanted another host IP for a jail to use (shared IP), and i thought this would work. It didn't. I abandoned the idea, but i accidently left the entry there until recently. anyway, now i have unrelated loopback jails whose requests are being given that IP on 20:26:14 their way out. my pfsense is blocking this unused address. the fbsd box is at 192.168.7.50. the jail is 10.0.0.50. when I tell the jail to pkg update, pfsense (192.168.7.1) is blocking those requests which it sees coming from 192.168.50.69 (the address that sat in dhclient.conf for a while). 20:26:27 it seems I need to just delete the route that stuck around, but I can't: https://bsd.to/qOgQ 20:26:28 Title: dpaste/qOgQ (Plain Text) 20:27:54 how.. https://bsd.to/qOgQ/raw looks much nice 20:27:55 Title: qOgQ 20:31:02 if i helps, i originally set up this box with a static IP (on that 192.168.50.0 network), but now i switched it to DHCP. 20:31:50 i can see in /etc/pf.conf that i am natting on ext_if, but that's set to 192.168.7.50, so i'm not sure why pf (is pf doing this?) would see 192.168.50.69 as the ext_if 20:36:02 i was thinking i could solve this by deleting the erroneous route in the routing table, but as the paste shows, it won't let me delete it because "gateway uses the same route" 20:37:25 scoobybejesus, Can you paste the ifconfig output? I think flags=UH means that is a host route. Which usually occurs because the IP is still assigned. (And yes I always only ever use the paste /raw URL.) 20:39:15 hi rwp, here you go: https://bsd.to/nhVy/raw .. yeah, you can see it there.. maybe i need to delete it using ifconfig... 20:39:16 Title: nhVy 20:40:22 which i did, but it didn't go away, and i figured that was caused by it sitting as an entry in dhclient.conf. but maybe i haven't deleted it from ifconfig since removing it from dhclient.conf 20:41:29 Right. You will need to remove the IP using ifconfig and that should remove it from the route table. It's an IP address in the route table which is effectively a /32 address IIUC. 20:42:54 Sitting in dhclient.conf just sitting there won't do anything. That's just a file. But dhclient reading the file dhclient might do something. But ifconfig and netstat list the kernel networking state as it is now and ifconfig and route can take actions to change the current state. (though dhclient might put it back again) 20:43:16 Be sure to look at the /var/log/messages system log to see if there are clues logged there from dhclient or other logging actions there. 20:44:39 So far while experimenting I have gotten my FreeBSD system into some pretty crazy networking states but have always been able to pop the stock and unwind the crazy and reversed things back to undo the crazy and have not yet needed to resort to rebooting to get to a clean state. So far. 20:47:58 pkg update working once again! 20:48:13 thanks for your help rwp! 20:49:16 Glad to have helped! Good luck! 21:41:16 anyone knows if hex0 or any other bootstrap process is available for FreeBSD? 22:04:18 unixman, are you the witch? 22:04:30 jbo: i am the witch 22:04:34 ack 22:04:52 lw, are you going to fix that other PR as we discussed? 22:05:26 jbo: uh... i think i forgot what we discussed, sorry :-( which PR was it? i can go look now 22:05:52 lw, 275947 22:06:09 oh, i did the other two, i must have forgotten that one. let me testport it 22:06:18 it's missing the category makefile entry, DISTVERSION vs PORTVERSION and ensuring that poudriere testport succeeds 22:06:31 I can't do the other(s) without this one first :) 22:13:08 jbo: new patch on the PR 22:17:14 ack 23:23:55 lw: thanks for all your suggestions. I find troublesome to specify the whole list of groups 23:24:24 rwp: thanks! Probably editing /etc/group is the best and more straightforward solution sometimes 23:24:50 it would be great if developers considered adding support for multiple groups in `pw groupmod' 23:25:09 I am very surprised that such support does not exist up to now 23:36:35 rockyh: can you explain your use case? 23:41:17 meena: I create a user `testuser', and its default primary group `testuser'; I also add `wheel' as secondary group. In another moment I would like to add some more secondary groups to that user: for example, `operator', `video' or similar. I would like to use a single command to add all the secondary groups, not to replace the list of secondary groups, but to append the new groups to that list. In 23:41:19 the example, I would like to keep `wheel' as secondary group, adding `operator` and `video' 23:42:50 it seems that this is not possible through `pw groupmod -m testuser', because there is no way to give a "group list". Only a single group can be provided. It would be useful if this functionality were added