01:36:06 anyone here good with kernel drivers? 01:44:57 No 01:55:02 I recommend refining your question if you want a useful response. Perhaps ask what issues you are having or what you are trying to do? link to dpaste if something is too big to paste in channel, etc... 02:02:25 i am great at running `kldload` 02:02:54 Ha! I can "kldstat -v" 02:02:59 Nice work 02:20:41 so... what was the question 02:33:49 oh. looking for an example of how to make a GPIO driver be able to send interrupts 02:34:17 ...that go to SPI slave device drivers through an intermediate driver 02:35:02 i know about bus_setup_intr but the GPIO drivers i see that use interrupts use pic_setup_intr instead 07:17:47 How can I install Owasp's ZAP proxy? 07:20:35 i think it was in ports, security/zaproxy 07:21:07 hm latest package not bsd 07:21:11 https://www.zaproxy.org/download/ 07:21:13 Title: OWASP ZAP – Download 07:22:11 It still is: 07:22:11 https://www.freshports.org/security/zaproxy/ 07:22:14 Title: FreshPorts -- security/zaproxy: The OWASP zed attack proxy 07:22:56 Kalten, thanks mate but i dont know if this is up to date or not :( 07:22:59 `pkg install security/zaproxy` 07:23:42 Version 2.12.0 in the ports, same Version in your link 07:24:55 Version upgrade in the ports on 1st of November (about two weeks ago) 08:07:46 In virtualbox having freebsd as guest, its not showing 1920 resolution. What can I do? 08:12:53 using x11? 08:48:41 Molnija xorg + xfce4 08:49:31 so that would be x11 (which xorg is an implementation of), right 09:11:07 Molnija ok. so how to solve? 09:11:34 are you sure you have the virtualbox graphics driver correctly installed? 09:13:04 Intelo: what does `xrandr` tell you? Is your wanted resolution listed? 09:13:56 only 3 09:14:07 below 1100 or something 09:14:20 1920 is not listed 09:14:36 Molnija dkms? yes 09:14:47 Molnija linux guests work fine 09:14:54 dkms doesn't exist on freebsd unix 09:15:15 are you SURE you have the virtualbox graphics driver correctly installed IN THE FREEBSD GUEST? 09:15:55 look in the package repositories for, I believe it's the same protocol as vmware so look for the vmware graphics drivers 09:19:25 Molnija Kalten now the network also stopped working https://imgur.com/MOZOhie.png 09:19:44 Molnija no, nothign is installed 'inside' fbsd 09:19:46 Don't use imgur, not everyone can access it. 09:19:59 Intelo: so there are some resolutions listed, but not the one you want, right? Something similar to 09:20:00    1680x1050     59.95*+ 09:20:00    1600x1200     60.00 09:20:02 YOU'RE GOING TO NEED TO INSTALL THE CORRECT GRAPHICS DRIVERS. 09:20:16 Kalten yes. all below 11000 09:20:22 Kalten what img site you prefer? 09:20:34 an image speaks 1000 words :) 09:20:39 Molnija ok 09:21:11 use any image site other than imgur, facebook or google. preferably deep link directly to the picture too 09:21:19 if you've your own website, put it there 09:22:14 Intelo: ah: 1024x768 and below. 09:23:51 I seem to have missed one information: You are installing freeBSD inside vmware on which system? (Win*/Linux/…) 09:24:36 Kalten: None of the above. VirtualBox on Linux. 09:25:06 Molnija: well, I did list Linux ;-) 09:25:28 Kalten: Yes, but only VMware thereon. 09:26:10 Kalten fbsd inside linux via virtualbox 09:26:51 freebsd also misbehaves under virt-manager qemu 09:27:00 virtualbox is your best bet 09:27:27 its still buggy with setting resolution and mouse behaviour but its tolerable 09:27:37 Intelo: on your screen shot you see in the “Devices” menue at the last position: “Insert Guest Additions CD image…”. Have you done that? 09:28:55 If I do remember correctly, after that, you can install the correct drivers, including graphics. Right now, it is only something compatible (VESA, may be?) 09:30:55 Kalten downloaded just now 09:31:06 How to isntall driver? 09:31:15 (and enough memory set in VirtualBox for FreeBSD would be good: Under “Display” before starting the virtual FreeBSD: it is set to 16MB in my configuration) 09:31:28 me too 09:31:45 mine* too 09:32:29 I wonder why network is gone now. It was there 09:33:05 You did “Insert Guest Additions CD image…”? 09:37:20 failed. 09:37:42 I guess I will just install on a barebon system instead of vbox 09:37:51 hmmmm… 09:37:55 * Intelo logoffs current ui. 09:37:59 * Intelo will be disconnected 09:55:07 How do I set the env var for Elasticsearch `ES_TMPDIR` for this port: textproc/elasticsearch6 09:56:18 I can't even tell how it gets set in the first place: https://cgit.freebsd.org/ports/tree/textproc/elasticsearch6/files/elasticsearch.in 09:56:20 Title: elasticsearch.in « files « elasticsearch6 « textproc - ports - FreeBSD ports tree 09:59:54 tuaris: which user shell? 10:00:13 What ever rc.d uses? 10:00:31 That would be sh 10:01:07 ah... it's set here: /usr/local/lib/elasticsearch/bin/elasticsearch-env 10:01:14 system wide: /etc/profile 10:01:15 ES_TMPDIR=/bla/blub 10:01:25 I wonder if there is a way to override that 10:01:29 ah 10:01:32 Kalten: Tried that. pkg: No packages available to install matching 'security/zaproxy' have been found in the repositories 10:02:53 yeah it seems to default to the default java temp directory if it's not set: https://github.com/elastic/elasticsearch/blob/6.7/distribution/src/bin/elasticsearch-env#L84 10:02:54 Title: elasticsearch/elasticsearch-env at 6.7 · elastic/elasticsearch · GitHub 10:03:06 Cannot start awesomevm... did xterm & exec awesome but it doesnot on 'startx' 10:03:12 So yeah, /etc/profile is one way 10:03:18 tuaris: are you trying to set up a mastodon 10:03:32 ~/.profile per user 10:03:49 No, my Eslaticsearch instance keeps running out of space in /tmp so I am trying to change it's path 10:03:54 ah right 10:03:56 makes sense 10:03:58 or the users shell configuration file (e.g. (~/.cshrc) 10:04:24 The port author should make that configurable, but yeah, this works for now. 10:05:11 tuaris: to set an environment variable is quite configurable ;-) 10:05:46 kodcode: hmmmmm… same here. (Normaly I do compile ports myself) 10:06:13 Kalten: I don't have it in /usr/ports/security either 10:06:41 kodcode: you did not install the ports collection, I assume. 10:06:56 Nor /usr/ports/ at all (or empty) 10:07:18 I will have to make the change systemwide since the elasticsearch user has no home dir: `elasticsearch:*:965:965:elasticsearch user:/nonexistent:/usr/sbin/nologin` 10:08:13 kodcode: `git clone https://github.com/freebsd/freebsd-ports.git /usr/ports` if there is no such directory. 10:08:14 Title: GitHub - freebsd/freebsd-ports: FreeBSD ports tree (read-only mirror) 10:08:34 Kalten: Sorry. My bad. I missed it before. I have it. 10:09:00 Kalten: I install packages. Is there a way how to "fix" it missing in the rep? 10:11:37 kodcode: I don't know :-( 10:13:11 tuaris: is there a /usr/local/etc/elasticsearch 10:16:31 check the rc.d script (or other initializer if you use ote) 10:19:45 sh 10:19:48 oops 10:20:38 nope, no luck with setting it in /etc/profile. Still uses /tmp instead of the path I set 10:23:30 I tend to set TMP to e.g. /usr/tmp/ system wide on systems with small /tmp/. (don't forget to `chmod 777 /usr/tmp ; chflags +t /usr/tmp` if I am not mistaken) 10:27:28 tuaris: you could try to copy /usr/local/etc/elasticsearch/jvm.options.sample to /usr/local/etc/elasticsearch/jvm.options and edit -Djava.io.tmpdir= 10:28:46 tuaris: there's no elasticsearch.conf where this stuff is set? 10:29:59 teh rc.d script does state `${elasticsearch_config=/usr/local/etc/elasticsearch}` and in that directory one could do, what I just stated 10:32:47 Yes, and there is a /usr/local/etc/elasticsearch/jvm.options file that is being patched to use the ES_TMPDIR https://cgit.freebsd.org/ports/tree/textproc/elasticsearch6/files/patch-config_jvm.options 10:32:48 Title: patch-config_jvm.options « files « elasticsearch6 « textproc - ports - FreeBSD ports tree 10:33:49 It just seems weird to me, that would be intentionally done without there being a built-in way to set ES_TMPDIR 10:34:49 I suppose I can just change it ther manually to fix my issue 10:34:59 tuaris: let me think: there was a way to set parameters for the rc.d scripts inluding environments, iff I am not mistaken… 10:38:52 you might try `elasticsearch_vars="ES_TMP=/usr/tmp/es_tmp` inside /etc/rc.conf????? I am not shure. 10:39:20 You aren't the microphone company Shure, no. 10:42:39 Kalten: It depends on if the RC script interprets that. 10:43:31 Molnija: not my mother tongue. So: “sure”. 10:45:28 tuaris: if you enter `ES_TMP=/usr/tmp/mydirforit` inside /etc/rc.conf—did you try this allready? 10:46:09 (I don't know, whether a restart would be needed) 10:48:27 (or maybe `export ES_TMP=/usr/tmp/mydirforit` inside /etc/rc.local) 10:57:36 I tried /etc/rc.local, and (even after rebooting) it didn't pick it up. Let me try /etc/rc.conf. Though I thought setting env vars in that was frowned upon? 11:00:47 Nope, didn't work with /etc/rc.conf either. 12:26:13 zfs send is very bursty 12:26:29 not a complaint, just an obs 12:26:45 using mbuffer to buffer it 12:33:13 tuaris: in /etc/rc.conf 12:33:14 `export ES_TMP="/usr/tmp/mytempdir"` sets it for /usr/local/etc/rc.d/elasticsearch 12:38:28 tuaris: you can usually do `${name}_env="...=..."` for all ports using rc.subr 12:38:59 see https://man.freebsd.org/rc.subr _env 12:39:00 Title: rc.subr 12:40:41 tuaris: IMO that is the correct way to do it, that sets if specifically for just this port 12:41:04 lol in fact I have precisely this in my /etc/conf.d/elasticsearch `elasticsearch_env="JAVA_HOME=/usr/local"` 12:41:57 dch: nice 12:42:53 /etc/conf.d/ ? is that new 12:43:24 no its old. I just use it to keep each application in a separate file. Makes ansible/puppet/chef life *much* simpler to template and manage. 12:43:46 see load_rc_config in the same manpage :-) 12:43:54 that is insteresting. 12:44:27 yeah 12:44:39 after finding this, all my automation scripts look roughly the same: 12:44:42 - install some packages 12:44:58 - drop a single /etc/rc.conf.d/$service template file 12:45:15 - maybe a /usr/local/etc/$thing file too if needed 12:45:21 - sprinkle some zfs datasets 12:45:25 - start it 12:45:26 oh, you mean /etc/rc.conf.d/ 12:45:39 oh tuaris my dyslexic bad, yes 12:47:05 I see so you can basiclly append a "_env" to an rc.d startup script name to set variables 12:47:26 yeah there are a lot of options like this, ${name}_$STUFF in there 12:47:47 far too many for me to remember 12:51:45 yep that did it. It worked 12:54:31 does that ${name}_env work with multiple entries or do all the variables need to be set in a single one? 12:54:51 well, maybe I'll go read tha man page. Thanks for pointing me in the right direction 13:05:45 tuaris: likely `bla_env="tmp=/usr/tmp:startdir=/usr/local/bin"` i.e. “:” to list them, not likely “;”. 14:22:48 IIRC it's `bla_env='A=B C=D' because its just inserted in front of `env` 14:24:02 BTW you can *also* put things in their own file and use `bla_env_file` 14:26:27 AFAICT from reading source `bla_env` just does eval of all of that 14:26:40 so use spaces not colons 15:32:47 Hi 15:33:16 There is no way to run puppeteer in freebsd? this does not works even  https://github.com/puppeteer/puppeteer/issues/5034#issuecomment-1236913615 15:33:19 Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub 15:33:19 5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034 15:34:16 is there a way to trace DNS resolver calls from a specific process? I'm trying to work out exactly what mpv / youtube-dl is failing on, in my tightly constrained network 15:34:43 I can do it on the local caching dns but its pretty noisy with other traffic 15:57:29 I might accidentally write a userspace filesystem 15:59:46 dch, youtube-dl has suffered bit rot, most of us have migrated to yt-dlp instead. Try yt-dlp and it works for me on 13.1. 16:01:28 rwp I have that set already, but the DNS stuff is still blocked 16:02:18 rwp: do you need anything in ~/.config/mpv/mpv.conf now, or does it Do The Right Thing? 16:02:26 to use yt-dlp 16:02:50 I don't do anything. For me it Just Works. Which means I don't know how it works because I haven't needed to know. 16:03:53 great software! 16:04:04 [ytdl_hook] ERROR: [youtube] yRxmhnQFhMQ: Unable to download API page: (caused by URLError(gaierror(8, 'Name does not resolve'))) 16:04:08 is what I get atm 16:04:57 cat /etc/resolv.conf 16:04:59 it *really* wants to get to youtu.be or some other google url I guess 16:05:21 Molnija: I am looking for a dtrace or truss way to see what it's trying to resolve. 16:05:28 Yes it needs access to youtube to download from youtube. 16:05:29 I know my dns here blocks most google stuff. 16:05:55 I'm hoping I can persuade it to use our invidious instance instead of asking google for sstuff 16:06:00 you need to tow it outside of your DNS arcanity. 16:06:18 if i enable google for mpv, then I enable it for everything and I don't want that 16:06:21 the yt download programs (there are at least three I know of) are not completely general purpose for all sites. They work with the major sites though. 16:07:29 You might try it with vimeo or one of the other sites 16:09:32 I'll see wat I can find in https://github.com/yt-dlp/yt-dlp maybe there's options there 16:09:34 Title: GitHub - yt-dlp/yt-dlp: A youtube-dl fork with additional features and fixes 16:09:47 the point of having an invidious proxy is not to need youtube/google 16:10:01 thanks for the yt-dlp idea, see where i get to 16:11:35 dch: create a jail and change its DNS. 16:13:00 ooh yt-dlp supports a SOCKS5 proxy, I could do this over ssh perhaps 16:51:20 is this still the right way to connect a bluetooth mouse? https://gist.github.com/dcasati/1179f6a68524b7e9dc9cce7e0244b4ae 16:51:21 Title: Configure FreeBSD Bluetooth Mouse · GitHub 18:05:19 There is no way to run puppeteer in freebsd? this does not works even https://github.com/puppeteer/puppeteer/issues/5034#issuecomment-1236913615 18:05:21 Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub 18:05:22 5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034 18:34:27 Sircle: sadly, nope 19:52:10 There is no way to run puppeteer in freebsd? this does not works even https://github.com/puppeteer/puppeteer/issues/5034#issuecomment-1236913615 19:52:12 Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub 19:52:12 5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034 19:53:16 csh? 19:53:27 whats that CrtxReavr ? 19:53:28 1975 called. They want their shell back. 20:04:12 can anyone hear me? 20:04:19 yep, what's the question 20:04:28 this: There is no way to run puppeteer in freebsd? this does not works even https://github.com/puppeteer/puppeteer/issues/5034#issuecomment-1236913615 20:04:30 Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub 20:04:30 5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034 20:04:39 we have a lot of code written and need to deploy 20:06:07 18:34 < rtprio> Sircle: sadly, nope 20:06:20 take it up with the puppeteer maintainer, there's not much we can do 20:06:27 rtprio can I just install linux based chrome and use that instead? 20:07:02 that might work ,but it would still need local changes to puppeteer 20:07:25 just the binary path would change of chrome. no? 20:07:32 in pupeteer code I mean 20:07:47 how to install linux based chromium in freebsd? (if that will solve?) 20:08:47 Sircle what's puppeteer? 20:09:19 https://pptr.dev/ 20:09:20 Title: Puppeteer | Puppeteer 20:09:33 it renders web pages and saves them as images 20:09:56 Sircle: no way to know if it will solve your problem, it probably won't. 20:10:12 and if you're not sure what you're doing, it's a lot of work to find out 20:21:32 for forwarding in `pf` to a reverse proxy jail, i generally `rdr pass inet proto tcp blah blah`. for other purposes, i would pass udp. what if i have a QUIC server? can pf deal with that? 20:25:19 quic like http2? that's just port 443 tcp/udp isn't it 20:36:39 git add 20:36:45 sorry 20:51:00 rtprio: yes, udp 443 usually 21:25:39 http(s) over UDP sounds like a horrible idea. 21:25:59 'course people are doing an implementation of ssh over UDP too. .. 21:34:08 well, it's not really UDP. kinda like a hybrid, but seems to be to not be one or the other.. 21:34:33 Um. . . 21:35:08 there's HTTP/U that i think upnp uses 21:35:25 SIP is also structured basically like HTTP over UDP 21:37:42 okay, totally admit i'm out of my element 21:39:21 Um. . . there's UDP and there's TCP. . . I'm not aware of any hybrid IP protocol. 21:40:05 There's also SCTP, but it's more of a new TCP for the mobile age. 21:40:56 i guess QUIC is literally UDP, as i read more... 21:43:56 There was a talk about it @ EuroBSD: https://www.youtube.com/watch?v=MOtsTyp9LZk&list=PLskKNopggjc6_N7kpccFZuccgJwHD3TPf&index=3 21:43:58 Title: Making FreeBSD QUIC - Tom Jones - EuroBSDcon 2022 - YouTube 21:55:51 SSH over UDP actually makes a lot of sense and I use "mosh" the mobile shell for it every day. Coupled with tmux/screen and it is a very powerful combination. 22:00:59 i use that too, as my only connection is LTE 22:16:07 can i use my Intel Wifi 6 AX201 Wifi Card with Freebsd 22:17:42 You can use either native iwlwifi driver ported from Linux, or via Linux VM eg net/wifibox port 22:17:54 Okay 22:18:02 When installing it it can't find any networks, though 22:20:11 See https://wiki.freebsd.org/WiFi/Iwlwifi , https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-wireless 22:20:12 Title: WiFi/Iwlwifi - FreeBSD Wiki 22:21:43 People did/do have issues with public access points (hotels, shops, etc) or access points installed at home. See -wireless@ mailing list for past issues : https://lists.freebsd.org/archives/freebsd-wireless/index.html 22:21:44 Title: freebsd-wireless⊙Fo 22:30:40 well 802.11ac and ax is not supported so i can't use it :( 22:30:52 Back to linux until it's fixed, unfortunately 23:14:35 You could just talk to me face to face, you know 23:14:41 Instead of being a scared little boy! 23:14:43 +47 94289429 23:14:59 Why go through all the trouble of banning me, when you can just call me 23:15:31 Tell me you disagree with my style, and that will be the end of it 23:15:44 But do it so everybody else can hear! 23:17:01 Let's arrange a live meeting :) 23:17:09 I'll be back in a sec 23:17:12 But keep that thought!