02:49:03 Does anyone know if setting machdep.hwpstate_pkg_ctrl package/per-core control for Intel Speed Shift is an energy saving thing, a performance thing, or both? 02:49:25 Trying to figure out if it's worth setting per-core for a Xero server that's always on 02:49:35 Xeon 04:01:55 whats the freebsd name that listen for tcp connections before booting ? 04:23:55 before... booting? for what? 07:32:56 before booting sounds like wake on lan, but pretty sure that is a maiboard thing and the operating system doesn't matter for that 09:35:39 unless its some serial over tcp thing 11:07:45 WoL is 100% a mainboard thing because the CPU is typically in a very low-power state during it (almost completely off; not sure of the details, but I wouldn't be surprised if it *is* off, and it's some coprocessor handling it at that point, or even the network card itself). 12:30:28 Hi.. wrote a rc script to run as a user using /usr/sbin/daemon.. and I am getting: daemon: failed to set user environment. The user exists, it's also in a group, and it has shell of /usr/sbin/nologin.. any ideas how to fix? 12:30:59 if I run the daemon cmdline the rc.d script tries to run by hand, on the cmdline.. it runs fine 12:34:28 seeing: initgroups(,): Operation not permitted in /var/log/messages on the jail 12:41:32 odd.. I remove -u from it.. and it runs.. as the user I had after -u.. how does it determine that? 12:42:08 pertho: see https://lists.freebsd.org/archives/freebsd-ports/2024-October/006756.html 12:42:56 Alver: yeah that's what I found.. but.. how does it determine what user to run it as? After removing -u from the daemon line? 12:51:22 pertho: I'm not that familiar with the specifics but it would appear that the daemon process itself is spawned as that user, rather than telling the daemon process to use it 12:51:37 Which is kind of confusing :°) 13:03:48 heh..well stop doesn't work.. it doesn't think it's running and yet the pidfile is there with the right pid in it 15:12:21 rtprio, nimaje, FatalFUUU oh its dropbear. 15:15:55 how would that listen for connection on an unbooted system? 15:16:24 nimaje: i dont know, never used =p 15:16:35 but thats what i was trying to remember :P 15:17:22 maybe i explained it wrong 15:19:44 Wake on lan is a network interface feature which interacts with the mainboard, and is entirely unrelated to the operating system 15:23:02 nimaje: i was trying to remember how to boot remotely an encrypted system. and it seems dropbear is one option and its part of the soution: freebsd: https://github.com/Sec42/freebsd-remote-crypto linux: https://www.cyberciti.biz/security/how-to-unlock-luks-using-dropbear-ssh-keys-remotely-in-linux/ 15:26:09 ah, yeah for something like that you boot a small system with a ssh server to unlock the system you want to and then start that system 15:28:01 Yeah, works great. Did that for many many many years on my home servers. 15:29:08 The only annoying thing is that either you have to configure a different IP for the unlocking shell, or get slapped with nonmatching SSH keys after booting, or have to keep keys in sync between the unlocking ramdisk and the OS 15:30:23 But WoL shells give you full plausible deniability, which you cannot get from any system with a local bootloader. 15:30:40 (and you can avoid the whole legacy nastiness of partitions) 17:40:35 Does anyone know of a good CLI tool or online resource (e.g. via cpuid flags) or whatnot to determine an exact processor model from cpu info? 17:43:46 Nevermind, found it --- http://instlatx64.atw.hu/ 17:44:59 hernan604: are you trying to set a serial console? that happens well after boot 18:20:49 Hello , in python3 with socket module , I can use AF_PACKET and raw socket in linux but I can't in freebsd, how to use raw socket in freebsd? 18:39:05 I've installed freebsd on a dell inspiron r17 5720 and I'm having trouble getting an (external, analogue) microphone working. when I plug in the cable, freebsd recognizes that ("hdaa0: Pin sense: nid=10 sense=0x80000000 (connected)" "pcm0: Automatically set rec source to: mic"), but selecting the default device (pcm0) in mumble gives just silence 18:39:16 cool 18:39:59 if I change it to use pcm1 (the built-in microphone) that does work, so the device is being driven correctly-ish at least 18:40:22 nortti: that's a lot to set there, please take a look at https://wiki.freebsd.org/Sound 18:41:16 it's also possible that Dell inspiron r17 5720 is not driven correctly 18:43:26 yeah one thing I've been wondering about is if the association is being traced incorrectly 19:03:34 dwho: are you in a jail? if so, you need to allow raw_sockets 20:04:05 scoobybejesus: Not in jail , only in defalt system in python3 script 20:05:32 raw socket seems different from linux kernel 20:07:54 In linux I can use AF_PACKET but no in freebsd 20:35:33 Can I use /dev/bpf with python3 to read raw socket? 20:46:15 dwho: probably, if you're uid0 20:49:02 rtprio: yes in root , i try but I have an OSError 22 if i use open with /dev/bpf 20:59:12 dwho: how are you reading? you can't just read() /dev/bpf 21:06:39 rtprio: I find a python3 script to read the catch packet 21:07:11 it's very different to linux 21:13:53 i suggest you review the bpf man pages on freebsd 21:18:41 rtprio: https://paste.debian.net/1346673/ 21:18:54 it work fine 21:19:55 It ' s in French 22:35:58 great, glad you got it working 23:04:49 Little confused with wpa_supplicant, so the man pages state you can use hex password 23:04:54 oops didnt mean to send yet 23:06:04 so I use pass, so I did the following: pass | head -n1 | tr -d "\n" | od -A n -t x1 | tr -d "\n " 23:06:20 the two tr's are to remove the newline and any spacing 23:06:39 however when I attempt to use this with psk field wpa_supplicant config is invalid... 23:06:52 how do you do WPA-PSK with symbols otherwise? 23:09:08 polarian: Maybe I’m understanding you wrong, but can’t you use wpa_passphrase? 23:09:18 ... 23:09:18 yeah, they mean wpa_passphrase 23:09:38 ouch 23:09:47 echo -n password | wpa_passphrase ssid 23:09:55 O.o 23:09:55 even creates the entry for you 23:11:37 if that solved you problem, yoh might still want to open the file with an editor (/etc/wpa_supplicant/something) and remove the plain text password from the configuration file. Depending on your security model :D 23:13:45 janvhs: it makes zero difference no? 23:14:22 doesn't it just hex the password? 23:14:31 the man page doesn't really say what it does 23:15:21 polarian: for me it doesn’t, especially if it’s a single user system. I am not sure how it generates the PKS, but it works xD 23:15:50 well according to what I read psk field takes password formatted as hex so I assumed just format the damn thing as hex and call it a day 23:16:06 I have used wpa_supplicant for half a decade, and I have never realised wpa_passphrase(8) was a thing 23:16:08 * polarian facepalms 23:16:18 thank you janvhs and rtprio 23:17:43 haha no problemo… I don’t really love the UX of wpa_supplicant but Alpine Linux forced me to use it a couple of times recently lol 23:34:57 Hi, im little bit noob and tired. I run freebsd and znc, now I need to renew my SSL-cers, I dont (cant/dont know how the znc should renew ssl with certbot) but I dont remember the command to renew it, I am root and in /root, tired ./ssl, and also tab ./ssl so the command should come up auto, but it dosent, have search some on internet but its mostly about certbot. Someone tha can help a noob 23:34:58 out? 23:38:41 Sorry didnt see topic :/ 23:56:16 certbot renew 23:56:32 if you're using certbot. what are you using for certs.