00:21:13 ketas you can also spice up your user's lives by aliasing `help` to `rm -rf ~/*` 00:22:00 so evil 00:22:23 btw 00:22:25 man -P 'less -p "hostap"' ifconfig 00:22:31 is awesome 00:23:05 someone here once said what a good idea to direct people into specific line in manpage 00:24:24 maybe alias it to free-quota instead 00:24:25 works 00:27:53 what's unfunny is that i have read of people have suggested using disk wipe commands to unsuspecting users and watched them quietly running them, without any reasons whatsoever, besides perverse personal enjoyment 00:30:39 i'm trying to make sense of that man -P ... ifconfig command, and i can't guess what it'll do 00:31:19 it forces custom pager 00:32:32 and for that pager, it tells it to search and show pattern 00:32:53 first occurence 00:34:04 i don't think i've ever used it 00:34:08 just / is easier 01:37:24 I have a FreeBSD 14.2 firewall/router set up and running, windows, linux and a couple of managed switches all get DNS and work correctly. 2 FreeBSD Desktops, however, fail to get DNS from the server, I can ping 8.8.8.8 from a client ok, pinging google.com returns 'name does not resolve' 01:38:43 get dns....via dhcp? 01:38:53 IPv4 only, no IPv6 on the internal network. 01:39:14 DHCP fails, static ip address fails. 01:39:31 static ip fails? 01:39:36 how? 01:39:41 can you check if local_unbound is running? /etc/rc.d/local_unbound status 01:39:43 what's route' 01:39:56 hmm 01:40:08 Weird thing is, I get a DHCP ack from the client. 01:40:09 if it's not, start it...if it's running, restart it 01:41:27 cat /etc/resolv.conf 01:41:56 did you set nameservers there? if not, and it's using nameserver 127.0.0.1, that means it's using local_unbound 01:44:57 BraveheartBSD: so how are your windows/linux clients getting ips/dns? 01:47:16 unbound was not running, der. Thank's guys, I'll look into it some more. Seems to be working now. 01:47:30 zi, DHCP 01:47:38 sounds like you've got it sorted 01:47:48 you dont need unbound, just fyi 01:48:00 ok, if it wasn't running, enable it in rc.conf so it starts on boot 01:48:09 you'd just have to ensure dhclient is updating resolv.conf 01:48:22 you don't need it, but it's default...so either change default not to use it, or just make sure it's running 01:48:47 if it's a laptop, you might have issue with it not working if you change network or move from wifi to ethernet or something...in that case, just restart the service 01:48:51 usually it's fine though 02:19:06 Sorry, 4 y.o. running around. 05:59:46 Hi FreeBSD-IRC. thx for being here. Are FreeBSD-Gurus near Graz/Austria or the district of Deutschlandsberg here or in the german language area, I prefer to communicate in my native language, it is not an absolute must have? I want to come back to the favorite OS of my youth. I need a person to configure my personal OS (basic stuff at the beginning). I know what I want, and have no time for read 100s of man pages. thx 06:39:15 mach7: I'm in no way Austrian and my Deutsche is limited, but I'm sure there's some here that can help you out. I can give it a shot, butI certainly wouldn't want to be in charge or yours system. 06:39:25 Maybe just assist getting it set up? 07:03:07 when's it looking like 15.0-release will be out? 07:11:21 demido: Isn't it release in December... not sure if it changed with the new release schedule. 07:11:46 *released 07:27:43 ah ok good i was hoping this year 07:34:25 ek: this is not the goal. i set up a jail 20 years ago - i have no time to read the man pages again. i want something like a coach (DE: Nachhilfe-Lehrer) in the beginning and a consulter after i get in the freebsd-flow again. I build my systems myself, and i usually keep it that way. The most limited resource in my life is time. 07:35:54 one of the first tasks would be, to make an fvwm2rc file, in solaris style and a cheat sheet for things i want to built on top of that. Really, I was in no way a freeBSD guru, but UNIX-Junky. 07:45:03 goal: back to the roots ;) 10:56:56 do we need to install wireguard-tools to run wireguard server on freebsd 14.2 or is it built in and can just be enabled? 11:05:42 wireguard is peer to peer, there is no client or server software and you can configure wireguard directly with tools in the base system, you don't need to install wireguard-tools 11:10:37 ok ty nimaje. so what's the point of wireguard-tools? 11:11:45 description says "This supplies the main userspace tooling for using and configuring 11:11:46 WireGuard tunnels, including the wg(8) and wg-quick(8) utilities." but i checked and 'wg' exists on the system already 11:37:03 Hello, all. They say C is the portable assembler and that one can compile 30-year-old C programs on modern systems. Now I find that gets() is has been removed from the standard library on FreeBSD in favour of safe version, gets_s(). How then can I compile and develop pure C89 programs on FreeBSD? 11:42:08 ant-x: replace gets by get_s in the code. otherwise, define your own gets() calling get_s with maximum size (pretty insecure, not for programs exposed to the internet) 11:46:23 CueXXIII, Sure. But it means the sources cannot be compiled as-is, and must be tampered with. 11:46:53 ant-x: yes. but you do want to clean up gets() usage, or it will never get fixed 11:47:55 No, /I/ do not want to clean up gets() usage by such tyrannical methods. Let the teams and developers determine their own policies and practices. 11:48:46 see, that's my point 11:51:13 you could do #define gets(S) get_s((S), 2147483647) unless your string buffer is larger than 2G 11:51:20 FreeBSD has Freedom in its name, but it limiting the freedom of its users and breaking the portability and backwards compatibility of C software. 11:51:49 CueXXIII, thanks for the advice, I will come up with some non-intrusive workaround, hopefully. 11:54:04 https://docs.maxxinteractive.com/books/misc/page/photo-gallery 11:56:41 Hmmmmm, shall I modify the OS-level header to provide gets() non-intrusively? 12:02:24 ant-x: #DEFINE gets get_s 12:02:27 and they don't say that 12:02:53 I will try this SGI IRIX 5dwm revival when my FreeBSD VM has working X output again! 12:02:56 MaXXdesktop 2.2.0 (release) now available! 12:02:56 https://x.com/maxxdesktop 12:04:42 ant-x: how about CFLAGS+=-D'gets(S) get_s((S), 2147483647)' ? 12:06:16 or you could use a 30 year old compiler 12:07:11 rtprio: wrong parameter count 12:07:17 rtprio, yes, but no so easy, because they have different parameters. 12:08:03 nimaje, indeed. 12:15:05 but how does freebsd not providing support for a long obsolete standard, limit user freedom? freebsd doesn't prevent you from getting support for that standard for some other way (e.g. implementing it yourself, using someoneelses implementation of it, write a shim, …) 12:18:51 The easy of compiling and running old C code, which would have been 100% backwards-compatible but for the removal of gets(). The compiler still suports C89, so I expect to be able to use the dangerous C89 fucntions, at least if I ask for them. 12:19:37 gets() is available on most (if not all) Linuxes. 12:25:31 Otherwise, you are right, nimaje. 12:29:55 iirc c89 has some obsolete syntax elements that were removed in c99 and not sure when assuming that a undefined function returns int was removed 12:36:22 ah, removal of implicit function declarations was in c99 too 13:16:36 hi 13:16:43 with recent samba 4.20 i get this on upload https://dumpinen.com/Cy9SRrRyKTM 15:11:56 sopparus: you sohuld post a PR to bugzilla if you've not already 15:13:34 I get a ton of spam that my own domain in the From address. I use spfmilter. If I change my SPF record from ~all to -all, is that enough? The only configuration I can see is the _flags variable in /etc/rc.conf. 15:17:20 nimaje, re: thanks for the reminder. Indeed, I never relied on implicit declarations. They are evil. 15:28:01 howdy all. How might I go about finding out why only 1 of 3 monitors shows up in arandr/xrandr? I've built everything from ports and am trying to do multi-monitor setup with EXWM. I had two plugged in and both showed good output, and then I plugged the third one in and now only one gets a signal. Any ideas? 15:31:22 mountainman1312, no idea. But if you unplug your third monitor, are the other two revealed back? 15:32:04 unfortunately no 15:32:20 mountainman1312, the standard helping test would be to check whether this three-monitor setup works with another OS. 15:33:19 Am I right that you have an empty xorg.conf, which is the default? 15:34:13 I'm not even seeing an xorg.conf (would be in /usr/local/etc/ correct?) 15:37:04 The locations are listed in the man-page: but perhaps it is easier to: find -type f -name xorg\.conf 15:38:44 Yeah, it doesn't exist 15:39:12 That's OK (default). 15:40:35 Did you restart the system after you had unplugged the third monitor? 15:41:14 Can it be that your video card cannot support all the three simultanteosly with these resolutions?\ 15:41:25 Yes, I've tried several restarts. I restarted when it first stopped working, then again after I unplugged the 3rd monitor again. 15:42:05 Could be the case, yeah. It's an older PC and it's using all the available outputs 15:42:38 I'm pretty sure I've had 3 on this PC before, could be mistaken though 15:44:34 mountainman1312, also: could be smaller resolutions. 15:45:45 Just weird that they're not even showing up in arandr/xrandr... 15:49:31 Does pciconf -lvhbce show any displays? 15:51:40 Anybody in this channel running FreeBSD on a laptop? 15:51:52 yes 15:51:57 ant-x: I'm not seeing any. Search for "HDMI" and "VGA" turned up nothing, and I read the whole list manually too 15:52:12 monkeybusiness, search for `display' (without the quotes). 15:53:32 ant-x: nah still nothing 15:54:09 if u create vm-switch public or any inerface after that u can not create bridge0 because that will be bridge0....However if u create bridge0 first then u can create vm-switch after that....And the trouble will arise... 15:54:35 tyler82_Desktop, I have not been able to make the multimedia keys work (e.g. the volume controls). I only have managed to enable the brightness controls: . What about you? 15:55:40 for me also do not work. however that is my smallest problem. :) 15:55:44 mountainman1312, another try off the top of my head: what will hwprobe show: ? 15:56:00 tyler82_Desktop, and what are some of your biggest ones? 15:56:17 Whonix networking in bhyve 15:57:15 Sounds potentially complicated. 15:59:49 Not. if u understand how bridgeing works. But i am confused now. since vm-bhyve using switches which are "interfering" with ifconfig create interfaces natively. 16:01:46 ant-x: https://bsd-hardware.info/?probe=11fe9b837d is the output from that command 16:02:54 mountainman1312, there is one display in your log of pciconf. 16:03:20 Yeah I don't see any mention of the other two in any of the logs 16:04:04 You could try booting from another OS's live CD, such as Debian Dog. 16:04:31 I think I have a systemrescueCD around here somewhere 16:07:08 mountainman1312, I suggested specifically Debian Dog because it seems very good at autodetecting and autoconfiguring hardware. 16:09:45 quit 16:11:14 Command unknown: once you are in, there is not way our. 16:15:25 Restarting, will report back in a bit. Thanks for the help ant-x! 16:15:48 mountainman1312, just random suggestions. 16:16:49 I hate to admit that a good LLM will probably give you a better and faster consultation and help, than a specialised forum. LLMs disunite people. 16:55:26 ant-x: okay I've done a bunch of messing around and it seems VGA might be the culprit. Only when the VGA monitor is plugged in do I have problems. So I guess I'll just stick with 2 monitors for now and order a graphics card with like 4 displayport slots. Thanks for the help! 16:57:46 Thou art welcome, mountainman1312. 19:02:10 Is there any channel/discussion place for dotnet porting to freebsd? 19:02:39 I have to use dotnet for university and I would like to get in contact with the nice devs porting it to freebsd as I would love to use freebsd for it and contribute however I can 19:02:57 I see some docs on getting dotnet working but it seems it is a lot of manual compiling of dependencies (as Microsoft doesn't support freebsd officially) 19:05:00 polarian: there's a lang/dotnet which i have never tried. what happens when you just use that? 19:06:46 dstolfa: it works of course :P 19:06:52 but the issue is with nuget and dependencies 19:07:09 nuget goes to the nuget repo (run by microsoft) and freebsd is not a supported platform and therefore can't build any dotnet projects 19:07:21 ah, right. 19:07:31 the dotnet port has added freebsd as a supported platform, so basically you got to bootstrap your projects 19:08:02 me being new to dotnet, having some support on this would be appreciated, hence I was wondering if there was a channel or area those folks are discussing it 19:08:05 presumably if you want to use the official repo you should just use linuxulator, otherwise you'll have to deal with any dependency that isn't built exclusively for dotnet's VM yourself 19:08:23 short-term since you have university assignments and stuff, i'd recommend just spinning up a bhyve vm and playing with it once you get the time 19:08:47 I am happy to bootstrap and build the dependencies I need, its just I am not too sure how to configure nuget to use it 19:09:16 dstolfa: I have used C# on Arch Linux yearssss ago... I have no concerns about writing the code, only how to getting the build environment working on freebsd 19:09:31 if I can't then I was planning to virtualise arch linux 19:10:00 but I want to get it working on freebsd so I can contribute while doing this all, uni projects are boring it will spice it up a little 19:26:33 I get a ton of spam that usees my own domain in the From address. I use sendmaiil and spfmilter. If I change my SPF record from ~all to -all, is that enough? The only configuration I can see is the _flags variable in /etc/rc.conf. 20:05:25 possibly 20:09:41 polarian: maybe look how the multimedia/jellyfin uses dotnet to build, that seems to be the only dotnet user in the ports tree 20:51:06 * ghoti waves at jpb 20:51:34 * jpb waves back 20:53:41 i'm checking over in freebsd-security first. i'll give them a few minutes. 21:02:17 ok, if you are also on freebsd-irc, this is the same question. apologies for the repost. 21:02:35 tldr; i want to create an ipfw table of addresses with connection limits for each record. 21:02:58 i've got a brain blockage. i've been working on this one ipfw issue for too long. 21:03:15 i created a table "ipfw table foo create type addr valtype limit" 21:03:30 i have added a record: "ipfw table foo add 192.168.1.10 23" 21:03:52 i want to use this table as follows: "ipfw add 1000 allow udp from 'table(foo)' to me limit src-addr tablearg" 21:04:05 the rule is accepted, but it does not allow any traffic to pass. 21:04:16 if i strip off the limit clause it works. 21:05:05 if i replace the rule with "ipfw add 1000 allow udp from 'table(foo)' to me limit src-addr 23" it works. 21:05:30 can anyone tell me why the "tablearg" keyword does not work here? 22:58:31 yay, dafny now builds (after relaxing their dependency on the dotnet sdk a bit to 8.0.106 instead of .111, no idea why they declare .111 there, builds and runs fine with .106 as far as I can see) 23:26:06 hi there. i've read the zfs and jail docs, and i'm still a bit fuzzy on one part: is it possible to mount the same data in both the host and the jail and have them both with read/write access? or is that a no-no?