02:35:07 The power of FreeBSD's Metamode: https://pastebin.com/70UytHBt 02:35:08 Title: --- kernel.full ---linking kernel.fullctfmerge -L VERSION -g -o kernel.full - Pastebin.com 02:37:21 I couldn't believe this output when I saw it 03:16:00 lol 03:18:28 And I also forgot to share this since I was building both world and kernel together in order, do'h: 03:18:34 >>> World build completed on Wed Jul 26 19:30:49 PDT 2023 03:18:35 >>> World built in 28 seconds, ncpu: 32, make -j128 03:18:54 This is freakishly hilarious 03:23:51 Also, the reason I use that many make jobs is because I have the ram for it and didn't mind extra jobs taking up more memory for a bit of a building speed boost. 03:24:07 As they say: unused ram is wasted ram 03:51:26 kenrap: Wow what cpu is that and how much ram? 03:53:59 ted-ious: Ryzen 3950X and 128GB of ram 03:56:10 I would suggest going with the newer 5950X, since it has a better "cooling" efficiency cpu design 03:57:14 For AM4 socket motherboards 04:04:42 Oh? 04:04:54 They both claim to be 105w cpu's. 04:05:15 I guess the later the model the more efficient they can make it. 04:13:27 ted-ious: The design of the one I use heats up too easily. AMD fixed that problem in that newer model. 04:13:58 Ah. 04:52:10 hey 04:52:27 is there some way using pf, ipfw or other mechanism to exclude a certain source MAC address from bridging? 04:52:43 pf almost has it with route-to, but it doesn't allow filtering by MAC 04:52:50 ipfw doesn't have route-to however 04:53:19 ideally I'd send it to separate bridges depending on the MAC address 04:55:23 the underlying problem is that there are 3 MACs on the same interface, 2 of them have to be bridged as-is but one of them has to be NAT'ted 05:08:51 is operating on an interface well-defined while bridging is enabled? 05:09:17 maybe I could use the interface as-is even if it's bridged, while filtering out the MAC on the bridge 05:16:55 sthalik: let me get this straight.. you have multiple devices on one interface of a multihomed host, and you want the different devices you see to be attached to different homes? 05:19:31 ghoti, that is correct, due to moronic ISP 05:20:45 the host isn't multihomed, this is a TV router 05:21:06 but the TV router requests a public address from ISP's edge router 05:21:22 so I wrote a pseudo-dhcp server using /dev/bpf 05:21:39 ipfw will certainly be able to match traffic coming from a partical ethernet address. But I've never tried to make it pass along ethernet broadcasts. 05:21:57 *particular 05:21:58 it should be enough that ARP works 05:22:25 but I never handled member interfaces on bridges with their own subnets etc 05:22:45 it was always the bridge that had the addresses assigned, now it's both having different subnets 06:31:33 man i hate that i remember you 06:31:52 because that routr is fucked 08:56:04 Hi there, Need to execute script monthly, but at the last day of each month 08:56:41 didn't found a way to do that in crontab arguments 08:57:36 my solution is to execute script daily and test if current date is the last day of the month 08:58:09 here is my test command: [ `date -v+1m -v1d -v-1d "+%Y-%m-%d"` = `date "+%Y-%m-%d"` ] && echo "the last day of current month" 08:58:49 my question is there a better way to do that ? 09:08:18 nerozero: that's not pretty, but pretty good 09:10:34 to the current date, add one month, actually, no we want the first of that month… minus one day. 09:27:51 meena, first of next month - 1 day is the last day of current month 09:27:55 thanks 09:29:34 but will this work in december ? 10:06:56 nerozero: Set your date to December and try 10:10:07 meena, brutal :D 10:37:28 if i do zfs send my snapshot and after destroying my snapshot i want it back can i use zfs import or need to use zfs receive?? as my understanding zfs import is regarding the pool but snapshot is just a special dataset....am i correct? 10:45:16 nerozero: there's probably better ways to figure this out, but this seems like the quickest way to test 10:47:47 tyler82: where did you send the snapshot to? 10:48:27 meena: to an other partition 10:48:35 but same drive 11:16:52 anyone using dhcpcd ( either from pkg or port ) instead of base dhclient? 11:44:09 angry_vincent: still waiting for it to hit base 11:44:46 the same, but there is a pkg 11:45:22 i used to use dhcpcd everywhere ( before FreeBSD became my os ) 14:42:01 angry_vincent I think crest does. 14:42:27 I used dhcpcd everywhere as well, but now I stick to base. Are we changing FreeBSD's dhclient to dhcpcd in 14? 14:43:55 i don't think so, only as an alternative 14:44:00 antranigv: not sure if we'll manage to do it in 14. The person working on the task seems … unresponsive: https://reviews.freebsd.org/D22012 14:44:03 Title: ⚙ D22012 Import dhcpcd(8) into FreeBSD base. 14:47:05 why would it change ? i can see this going the same way as removing some of the other base items. ftr im on keeping it in base just due to the fact its needed for most network connectivity but do not mind if its built as a package to be shipped with releases. 14:48:12 hard subject tho. 14:49:23 What's the benefit? ipv6 support? 14:49:37 CmdLnKid: dhclient's code is from ca 1997. The FreeBSD project hardened it with Capsicum, but that made it impossible to keep up with upstream. So we never got stuff like DHCP6 in base. If you need IPv6, you'd have to install it from ports. 14:50:09 ah. havent kept up with that 14:50:13 thx 14:50:36 now, the upstream has dried out, ISC DHCP is out of maintenance. 14:51:00 oh no kiddin wow 14:51:01 dhcpcd is under active maintenance, it has IPv6 support and capsicum hardening out of the box. 14:51:24 DHCPv6 is hardly ever needed, for what it's worth. 14:51:41 yes, but when it is, it's not there. 14:52:00 debdrup, yeah, but are we catering to everyone that may not have that knowledge or just the indepth 14:52:07 meena: it does have a bit of problems with privilege dropping until the most recent update, but now that that's addressed I don't know that there's any impediment for it to be imported into the base system. 14:52:25 CmdLnKid: we, by definition, cannot cater to everyone. 14:52:25 it's mostly cloud providers that do DHCPv6, instead of SLAAC. 14:52:38 debdrup, i know i know 14:53:01 Also, again, the plan _is_ to bring it into base - but it can't be brought into base until it does what it needs to do. 14:53:07 im up for either but just trying to understand the motivation as ive not kept up 14:53:22 It's not just enough for it to do DHCPv6, it also needs to drop privileges properly, like dhclient does. 14:53:24 looking for the pitfalls as well 14:54:57 minimizing the broad impact of new user troubles seems worthy when they may not be educated enough to care about the network side of things 14:55:25 At the cost of increasing the attack surface of every FreeBSD installation? 14:55:26 im installed, im connected 14:56:03 oh no i agree but what is a happy medium between secure and functional 14:56:23 while spurring new user interactivity 14:57:07 Sure, but I'd still argue that proper privilege dropping is a minimum viable product kind of featureset for something that will be used by almost everyone. 14:57:20 agreed 14:57:54 at least isc is front and formost among reporting and patching tho 14:58:43 shit i get "were going to patch" before i here any form of were updating here you go 14:59:17 very responsive to security related incidents 15:00:00 how we consume that may very well be a good key to the direction of this 15:00:26 angry_vincent, antranigv: i run dhcpcd on FreeBSD because it supports DHCPv6 prefix delegation 15:01:03 my only concern is the user thats going to replace me 20 years down the road and how well in depth they are at handling network operations 15:01:17 crest: is it just installing pkg/port and enable of rc script? 15:01:20 with short (<10 lines) hooks to feed the delegated prefixes into rtadvd as they're leased 15:01:28 angry_vincent: you can used it like that 15:01:41 and as it has it, ppl care less about configuring it rather than being able to interact with it 15:01:44 or you can use the dhclient rc.d script and tell it use a different dhclient path 15:01:51 it depends on what you want 15:02:26 because dhcpcd can work on multiple interfaces instead of one instance per interface 15:02:30 i do not want to use dhclient at all. only dhcpcd 15:02:45 i don't want to use either 15:02:53 i remember dhcpcd listen on all interfaces 15:02:58 static or dynamic 15:03:09 angry_vincent: it depends on the arguments you pass to dhcpcd 15:03:43 and what's really nice about dhcpcd is that it has full capsicum sandboxing support (not even a patch it's all upstream) 15:04:20 install dtpstree and run dtpstree -Uat if you want to see the multi process architecture in action 15:04:40 ├─dhcpcd: [manager] [ip4] [ip6] 15:04:40 │ ├─dhcpcd: [privileged proxy] 15:04:40 │ │ └─dhcpcd: [BPF ARP] vtnet0 10.0.1.177 15:04:40 │ ├─dhcpcd: [network proxy] 15:04:40 │ └─dhcpcd: [control proxy] 15:04:58 so i want ipv4 only and listen on em0 15:05:14 just configure dhcpcd that way if you're already familiar with it 15:05:32 but the base system dhclient should also work out of the box for that 15:07:19 i familiar with dhcpcd on non-BSD. i suspect it is not different 15:07:52 it isn't unless you write your own hook scripts (e.g. calling ifconfig/netstat/route instead of the linux equivalents) 15:12:37 cool! https://hachyderm.io/@Freaky/110780930586491382 15:12:38 Title: Thomas Hurst: "Here's an rc script for #FreeBSD to apply (and re…" - Hachyderm.io 15:17:15 I installed FreeBSD 13.2 on my laptop via memstick.img. I opted for ZFS-on-root w/ encryption. However, I use a USB keyboard since my laptop keyboard is sort of messed up and as a result I can't enter the GELI passphrase 15:17:50 :( this really needs fixing 15:18:02 I planned to reinstall and either set an shorter password I can type in with that keyboard or remove it all together, but now when I try to boot from the usb drive it asks for the GELI passphrase? why? 15:18:14 PyR3X: does your USB keyboard work with your BIOS/UEFI? 15:18:58 meena: I believe so? I came from Debian and used it there when FDE was enabled 15:19:58 but why if booting off of the USB memstick.img does it still ask for the GELI passphrase? 15:23:15 crest: i should remove ifconfig_em0="DHCP" from /etc/rc.conf, stop dhclient, enable dhcpcd in /etc/rc.conf and start it? 15:23:51 meena: kind of upsetting that I released a fix for a problem I don't directly have before my VPS provider, who most certainly do 15:24:26 Freaky: 🤦🏻‍♀️ 15:24:58 does anyone know why I can't boot memstick.img from a usb without a GELI passphrase? I can't even reinstall FreeBSD 15:25:44 i don't think so 15:26:13 PyR3X: hmm, just a hunch, you might want to try using `set hw.usb.usbhid.enable=1` in the boot loader's command line before booting into your laptop to see if you can get your USB keyboard working. 15:26:48 you certainly can destroy previous table and reinstall, why wouldn't you able? 15:28:30 I'm currently in NetBSD on another drive do I just 'dd if=/dev/zero of=/dev/rwd1c bs=1m count=1'? or how big is the table? 15:31:35 dd: /dev/rwd1c: Device busy 15:31:37 lol 15:32:15 oh duh needs to be rwd1d for the table 15:32:52 angry_vincent: unless you want two dhcp clients fighting on the same interface^^ 15:40:43 crest: or just use `ps -d` 15:42:29 i prefer the dtpstree output format 15:43:37 and ps -d is subject to the usual ps selection rules which processes are included 15:43:56 ps -uaxd would be closer 15:58:05 crest: i now running dhcpcd from pkg instead dhclient. seems straightforward 15:58:14 as it should be 16:08:54 that moment when you try to install www/linux-opera and it fills up /dev/ada0s1a 992M 980M -68M 107% / :( 16:17:12 against the change. one is a server and the other ia just simply a client of any server. while both can do the job its flagrant to say by default that a client should be able to offer services as in network environments one rogue dhcp server can cause you a lot of pain 16:20:18 d'oh, /var/cache/pkg is 50GB 16:20:28 CmdLnKid: dhcpcd is *not* a DHCP server. 16:21:12 jimmiejaz: safe what you need if you need anything then pkg clean 16:21:17 ami mixing this up with dhcpd ? 16:21:26 shit 16:21:59 CmdLnKid: i don't know how your brain works 🤦🏻‍♀️ 16:22:01 yeah, just reading the man page for pkg-clean now. I'm so used to use ports, but compiling anything on this craptop is ...not fun. 16:22:03 wrong emoji… 16:22:07 //ignore me 16:22:17 🤷🏻‍♀️ ← correct emoji 17:53:18 My font displays those. . . but they look like ass. 17:54:06 dhcpd = ISC DHCP Daemon 17:54:24 dhcpcd - DHCP Client Daemon 17:59:25 CrtxReavr: i use blobmoji for emoji 18:00:00 That's how you know you care a little too much about emojis. 18:00:06 (and Atkinson Hyperlegible as default sans serif font) 18:20:17 Does someone use iceWM? 18:20:33 Did 18:21:36 Do you know how can I put Thunar File manager directly on System rather than like this https://imgur.com/nUWrLMi.png 18:25:03 In short, I do not know. If the menu is auto generated, then I certainly do not. Else, have the menu be built from a file, in which case edit the file 18:25:50 it seems that you can add your menus on top of the predifined ones 18:26:38 I mainly had customized the colors, decorations, & perphaps key bindings. Never did much of menu reconfiguring 18:49:50 Number of packages to be fetched: 32737 18:49:50 The process will require 113 GiB more space. 18:50:02 _that_ is not the command arguments i was after 18:50:45 rtprio: pkg install --everything ? 18:51:18 pkg-fetch. trying to pre-download all packages that are installed 18:51:42 -a is obviously not it 18:53:19 pkg query '%n' | xargs pkg fetch # untested 18:53:33 that's exactly what i came up with 19:01:27 Thanks for testing 19:41:21 stupid question: should I use swap if I have 2T of RAM? 19:42:14 antranigv: swap is used for crashdumps, so, maybe? 19:42:32 meena good point, so 2TB of swap to fit the whole ram in? :)) 19:42:51 no idea how to size that 19:46:39 The rule of thumb I remember is: twice the RAM until 4GB RAM, then the RAM. But I have no idea whether that's still valid with that much RAM. 19:48:12 I admit to not knowing about FreeBSD but on the, ahem, other systems, swap is needed for hibernation. Enough disk to store the RAM image. 19:48:36 I have a bit of an issue with my laptop with iwlwifi. When I am running the installer, I can connect to my wifi network through it, install stuff, and then finish the installation. But as soon as I reboot into the installed system, I cannot connect anymore. 19:48:37 Seems unlikely that someone with 2T of RAM would be using hibernation though. :-) 19:48:50 It says that the scan failed with a -5 error 19:49:39 There is also the corner case that exists right around memory resource exhaustion. Funny things happen there. Sometimes having just a little bit of swap will allow the kernel an escape path to swap out some pages and thereby have just enough memory to avoid running out. 19:51:08 zilti, An interesting problem. I myself don't know. But I would boot the installer and connect with it and then note down the network settings that are active at that time. Then repeat with the booted system. Hopefully there will be an obvious difference that would be a clue? 19:51:33 In the installer one can get a shell and then look at the currently active configuration. 19:53:28 rwp, that is an idea indeed, but I already am telling the installer to keep the configuration for the installed system - which makes me wonder, what could be different that does not get taken over? 19:53:30 Also still not knowing but if I did I would want to know by what method of configuration you are running wifi in the booted system? If you are using a /etc/rc.conf statically assigned IP, DHCP, or if using pkg wifimgr or other? 19:54:36 I'm using DHCP, and wpa_supplicant only so far 19:55:04 I am very new on using FreeBSD on desktop machines, I only used it on servers until now 19:55:05 All of my main systems are wired in but on a laptop which I have not played with for a while in 13.1R I am pretty sure I have tickled a bug interaction between wpa_supplicant and dhclient and if I can find some time I want to explore and poke at it. 19:56:16 Hmm I'll do some research on that, then. I am trying it out again right now and will see what I can find out 19:56:30 I want to avoid casting FUD here because I have not closed on it but it seemed that on my system wpa_supplicant running caused dhclient to wedge itself and get stuck. But I could manually ifconfig and set something appropriate avoiding dhclient and get it to work. It was so odd I feel it must be something I was doing locally that misconfigured things. 19:56:41 I've had stability problems with iwlwifi, and eventually switched to iwm. (Same hardware, different driver.) 19:56:48 13.1. 19:59:13 Also I hear many people are currently using the wifibox solution and very happy with it too. https://jrgsystems.com/posts/2022-04-20-802.11ac-on-freebsd-with-wifibox/ https://xyinn.org/md/freebsd/wifibox https://github.com/pgj/freebsd-wifibox 19:59:14 Title: JRG Systems - 802.11ac on FreeBSD with wifibox 20:00:48 FreeBSD is so good on servers (which are all wired in) that of course we want it everywhere but I fear that some things on the laptop are currently a little rough still such as WiFi. Many in this channel are running it that way just the same. 20:08:51 V_PauAmma_V: how do I switch to iwm? 20:10:25 Hold on. Let me look what I did. 20:18:46 Which reminds me: have you checked which driver binds to the device using "pciconf -l"? There should be a line starting with either "iwm0" or "iwlwifi0" in there. 20:19:50 Yes, there is a iwlwifi0@pci0:1:0:0 20:22:33 Which FreeBSD version are you running? 20:23:16 13.2-RELEASE 20:26:11 Hm, according to https://wiki.freebsd.org/WiFi/Iwlwifi my card is supported (Intel Wi-Fi 6 AX200) 20:26:13 Title: WiFi/Iwlwifi - FreeBSD Wiki 20:27:51 Does that still have the iwm driver? I didn't have to do anything for my interface to bind to iwm in 13.1, but maybe that changed in 13.2. Do you have a /boot/kernel/if_iwm.ko ? 20:28:11 I am able to run kldload if_iwm 20:30:56 Hmm. I may be in over my head here. (Which also points to possible problems for me when I upgrade to 13.2 in a week or so.) 20:31:11 I guess I somehow have to set if_iwlwifi on a blacklist to make FreeBSD use iwm 20:33:32 That's where I'm unsure of myself. In 13.1, I had to blocklist iwm to use iwlwifi. In 13.2 (or on your laptop anyway) the converse seems to be true. 20:38:39 Ahh found it, `module_blacklist` in /boot/loader.conf 20:39:17 But setting it to module_blacklist="if_iwlwifi" has no effect 20:41:51 Do you need the ".ko" extension? 20:44:04 That does not help either, unfortunately 20:47:20 Does it get loaded as a dependency? 20:49:06 vkarlsen: Where could I see that? 20:49:53 i was installed bhyve now and kubuntu launches with no issue. ☺️ but i want graphical interface as i want trying how is it working the graphical installation on bhyve...🤔 Any recomm? 20:51:00 zilti: Are you able to kldunload it? 20:52:13 vkarlsen: Yes, but it immediately loads again, seemingly because it re-detects the card 21:12:29 zilti: devmatch_blocklist= in /etc/rc.conf 21:12:55 devmatch is the program that loads modules for hardware after boot time 21:13:13 might be _blacklist depending on your freebsd version 21:15:28 RhodiumToad: that seems to do the trick! Although now it just does not use my card at all anymore. I guess iwm maybe does not support it... 21:15:58 Also it seems my issue has been fixed already, but not in any released version https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261075 21:16:01 Title: 261075 – iwlwifi: 8265 / 9650 problems 21:17:37 Well in any case thanks for all the effort, and I will continue looking into this later. 22:46:38 tyler82: i would use xrdp or something similar 22:47:00 tyler82: connecting to the vnc port on your bhyve host will run like shit 22:48:20 rtprio: i am trying now vncviewer 😔 22:48:36 rubbish 😞 22:48:55 connection refused error 61 22:49:31 i was destroying tap0 interface but should work...🤔 22:49:49 as i was also destroying vm switch 22:51:05 so i was add the switch again...and that should generate tap0 again...🤔 22:51:12 Or not?? 22:56:44 wait, what? 22:57:18 you are connecting to the host, right, not the bhyve guest? 22:57:30 and why are you destroying interfaces? 23:00:01 rtprio: becauseci did try three different guide to install bhyve with graphical interface. and i did messed up 23:00:24 tyler82: are you using vm-bhyve? 23:00:28 it was working an hour ago but was very slow 23:00:45 that's what i told you, it's not going to work well. it's not designed for it. 23:00:46 rtprio: yes. i am using thst with vncviewer. 23:01:12 xrdp would probably be most performant, followed by running vncserver on the vm itself 23:01:15 but vm init is so slow...🤔 23:02:06 `vm init` like the command that sets bhyve up initially? 23:02:14 after reboot i cant start vm init. as giving error not configured or not valid directory. 23:02:53 rtprio: yes. actually is "turn on" bhyve 23:03:37 my vms boot in a few seconds 23:03:51 what do you have in rc.conf for vm_bhyve? 23:03:55 there is two way to add the kernelmodule vmm. one is to add rc.conf or boot loader.conf 23:04:18 but not both!! 23:04:26 you shouldn't need to as it's loaded on the first bhyve command, but yes, you can in loader.conf 23:06:21 what's `grep vm_ /etc/rc.conf` ? 23:07:18 i have an assumption why so slow...because vm_dir declared on an other partition. ext4 . so probably need to wait until fuse module will make it visible for bhyve...🤔 23:07:56 or no cluev🙄 23:07:58 yikes. ok, interesting decision, but yes, i suppose that could be partly the reason. 23:09:01 i would make sure both of those are tucked in to loader.conf. the ext4 /vm disk, is it in fstab and mounted on boot? 23:09:08 rtprio: because the isos and images are taking lot of space and my zfs partition is not too big. so space saving. 😁 23:09:40 rtprio: no. not in the fstab.... 23:09:58 good idea 😆 i will add it 23:10:23 is this a laptop or desktop system? or something that sits in the closet 23:10:52 laptop 23:15:24 ok, so you need to mount -t ext4 the thing, then `vm startall` and you're saying that takes too much time 23:19:37 i have also used google remote desktop which is weird but seems to work ok 23:21:59 rtprio: ah. 🤭 not even ext4. it is NTFS partition. 😆 23:22:55 so i have to edit fastab.. ntfs-3g or something....at least on linux. i cant remember 23:23:31 yes, the fstab entry for ntfs is a bit weird 23:36:39 much better 😃 23:37:46 i mean much quicker. vm init reaction. 😁 thanks rtprio 👌 23:38:29 but tap0 interface still no clue how to fix. shall i create it manually? 23:39:25 let's back up 23:39:33 did you configure networking on this vm? 23:39:42 and do you have a switch created in vm-bhyve 23:40:21 if i type ifconfig the vm-public switch is there. which is fine. but once the guest boot up automatically should generate tap0 and assign to the vm-public switch 23:40:38 is the guest properly assigned to that switch ? 23:40:44 yep 23:41:10 and it doesn't create tap0 ? 23:41:13 or tapX 23:43:42 no 23:44:25 so you have `network0_switch="public" 23:44:35 ` in your guest.conf file right? 23:45:00 and did you start the vm service, automatically? 23:45:06 i think because i was deleting it. it was not easy to delete...needed to force with destroy -f flag...🤔 23:46:25 deleting what exaclty? 23:47:14 rtprio: the tap0 interface. ifconfig destroy -f tap0 or similar the command. i cant remember. 23:47:59 so restart the vm. `vm stop myguest` `vm start myguest` is it recreated? 23:48:09 but i have snapshot so i might be zfs rollback... 🙄 23:48:32 you can't rollback destroying an interface 23:48:53 rtprio: i did delete the guest and recreated mamy times already. 23:49:16 rtprio: wait! what? why not?? 😵‍💫 23:50:01 i have no idea how you came to a conclusion of "i should delete this interface" when observing "i can't connect to the interface." that's literally the opposite course of action 23:50:26 you could vm create a new one and mv the hard disk over; should save you a reinstlal