-
zgu
anyone here good with kernel drivers?
-
wez
No
-
wez
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...
-
rtprio
i am great at running `kldload`
-
parv
Ha! I can "kldstat -v"
-
wez
Nice work
-
rtprio
so... what was the question
-
zgu
oh. looking for an example of how to make a GPIO driver be able to send interrupts
-
zgu
...that go to SPI slave device drivers through an intermediate driver
-
zgu
i know about bus_setup_intr but the GPIO drivers i see that use interrupts use pic_setup_intr instead
-
kodcode
How can I install Owasp's ZAP proxy?
-
ozgur
i think it was in ports, security/zaproxy
-
ozgur
hm latest package not bsd
-
ozgur
-
VimDiesel
Title: OWASP ZAP – Download
-
Kalten
It still is:
-
Kalten
-
VimDiesel
Title: FreshPorts -- security/zaproxy: The OWASP zed attack proxy
-
ozgur
Kalten, thanks mate but i dont know if this is up to date or not :(
-
Kalten
`pkg install security/zaproxy`
-
Kalten
Version 2.12.0 in the ports, same Version in your link
-
Kalten
Version upgrade in the ports on 1st of November (about two weeks ago)
-
Intelo
In virtualbox having freebsd as guest, its not showing 1920 resolution. What can I do?
-
Molnija
using x11?
-
Intelo
Molnija xorg + xfce4
-
Molnija
so that would be x11 (which xorg is an implementation of), right
-
Intelo
Molnija ok. so how to solve?
-
Molnija
are you sure you have the virtualbox graphics driver correctly installed?
-
Kalten
Intelo: what does `xrandr` tell you? Is your wanted resolution listed?
-
Intelo
only 3
-
Intelo
below 1100 or something
-
Intelo
1920 is not listed
-
Intelo
Molnija dkms? yes
-
Intelo
Molnija linux guests work fine
-
Molnija
dkms doesn't exist on freebsd unix
-
Molnija
are you SURE you have the virtualbox graphics driver correctly installed IN THE FREEBSD GUEST?
-
Molnija
look in the package repositories for, I believe it's the same protocol as vmware so look for the vmware graphics drivers
-
Intelo
Molnija Kalten now the network also stopped working
imgur.com/MOZOhie.png
-
Intelo
Molnija no, nothign is installed 'inside' fbsd
-
Molnija
Don't use imgur, not everyone can access it.
-
Kalten
Intelo: so there are some resolutions listed, but not the one you want, right? Something similar to
-
Kalten
1680x1050 59.95*+
-
Kalten
1600x1200 60.00
-
Molnija
YOU'RE GOING TO NEED TO INSTALL THE CORRECT GRAPHICS DRIVERS.
-
Intelo
Kalten yes. all below 11000
-
Intelo
Kalten what img site you prefer?
-
Intelo
an image speaks 1000 words :)
-
Intelo
Molnija ok
-
Molnija
use any image site other than imgur, facebook or google. preferably deep link directly to the picture too
-
Molnija
if you've your own website, put it there
-
Kalten
Intelo: ah: 1024x768 and below.
-
Kalten
I seem to have missed one information: You are installing freeBSD inside vmware on which system? (Win*/Linux/…)
-
Molnija
Kalten: None of the above. VirtualBox on Linux.
-
Kalten
Molnija: well, I did list Linux ;-)
-
Molnija
Kalten: Yes, but only VMware thereon.
-
Intelo
Kalten fbsd inside linux via virtualbox
-
woland
freebsd also misbehaves under virt-manager qemu
-
woland
virtualbox is your best bet
-
woland
its still buggy with setting resolution and mouse behaviour but its tolerable
-
Kalten
Intelo: on your screen shot you see in the “Devices” menue at the last position: “Insert Guest Additions CD image…”. Have you done that?
-
Kalten
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?)
-
Intelo
Kalten downloaded just now
-
Intelo
How to isntall driver?
-
Kalten
(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)
-
Intelo
me too
-
Intelo
mine* too
-
Intelo
I wonder why network is gone now. It was there
-
Kalten
You did “Insert Guest Additions CD image…”?
-
Intelo
failed.
-
Intelo
I guess I will just install on a barebon system instead of vbox
-
Kalten
hmmmm…
-
» Intelo logoffs current ui.
-
» Intelo will be disconnected
-
tuaris
How do I set the env var for Elasticsearch `ES_TMPDIR` for this port: textproc/elasticsearch6
-
tuaris
-
VimDiesel
Title: elasticsearch.in « files « elasticsearch6 « textproc - ports - FreeBSD ports tree
-
Kalten
tuaris: which user shell?
-
tuaris
What ever rc.d uses?
-
Kalten
That would be sh
-
tuaris
ah... it's set here: /usr/local/lib/elasticsearch/bin/elasticsearch-env
-
Kalten
system wide: /etc/profile
-
Kalten
ES_TMPDIR=/bla/blub
-
tuaris
I wonder if there is a way to override that
-
tuaris
ah
-
kodcode
Kalten: Tried that. pkg: No packages available to install matching 'security/zaproxy' have been found in the repositories
-
tuaris
yeah it seems to default to the default java temp directory if it's not set:
github.com/elastic/elasticsearch/bl…ution/src/bin/elasticsearch-env#L84
-
VimDiesel
Title: elasticsearch/elasticsearch-env at 6.7 · elastic/elasticsearch · GitHub
-
Intelo
Cannot start awesomevm... did xterm & exec awesome but it doesnot on 'startx'
-
tuaris
So yeah, /etc/profile is one way
-
Molnija
tuaris: are you trying to set up a mastodon
-
Kalten
~/.profile per user
-
tuaris
No, my Eslaticsearch instance keeps running out of space in /tmp so I am trying to change it's path
-
Molnija
ah right
-
Molnija
makes sense
-
Kalten
or the users shell configuration file (e.g. (~/.cshrc)
-
tuaris
The port author should make that configurable, but yeah, this works for now.
-
Kalten
tuaris: to set an environment variable is quite configurable ;-)
-
Kalten
kodcode: hmmmmm… same here. (Normaly I do compile ports myself)
-
kodcode
Kalten: I don't have it in /usr/ports/security either
-
Kalten
kodcode: you did not install the ports collection, I assume.
-
Kalten
Nor /usr/ports/ at all (or empty)
-
tuaris
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`
-
Kalten
kodcode: `git clone
github.com/freebsd/freebsd-ports.git /usr/ports` if there is no such directory.
-
VimDiesel
Title: GitHub - freebsd/freebsd-ports: FreeBSD ports tree (read-only mirror)
-
kodcode
Kalten: Sorry. My bad. I missed it before. I have it.
-
kodcode
Kalten: I install packages. Is there a way how to "fix" it missing in the rep?
-
Kalten
kodcode: I don't know :-(
-
Kalten
tuaris: is there a /usr/local/etc/elasticsearch
-
Molnija
check the rc.d script (or other initializer if you use ote)
-
tuaris
sh
-
tuaris
oops
-
tuaris
nope, no luck with setting it in /etc/profile. Still uses /tmp instead of the path I set
-
Kalten
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)
-
Kalten
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=
-
Molnija
tuaris: there's no elasticsearch.conf where this stuff is set?
-
Kalten
teh rc.d script does state `${elasticsearch_config=/usr/local/etc/elasticsearch}` and in that directory one could do, what I just stated
-
tuaris
Yes, and there is a /usr/local/etc/elasticsearch/jvm.options file that is being patched to use the ES_TMPDIR
cgit.freebsd.org/ports/tree/textpro…rch6/files/patch-config_jvm.options
-
VimDiesel
Title: patch-config_jvm.options « files « elasticsearch6 « textproc - ports - FreeBSD ports tree
-
tuaris
It just seems weird to me, that would be intentionally done without there being a built-in way to set ES_TMPDIR
-
tuaris
I suppose I can just change it ther manually to fix my issue
-
Kalten
tuaris: let me think: there was a way to set parameters for the rc.d scripts inluding environments, iff I am not mistaken…
-
Kalten
you might try `elasticsearch_vars="ES_TMP=/usr/tmp/es_tmp` inside /etc/rc.conf????? I am not shure.
-
Molnija
You aren't the microphone company Shure, no.
-
Molnija
Kalten: It depends on if the RC script interprets that.
-
Kalten
Molnija: not my mother tongue. So: “sure”.
-
Kalten
tuaris: if you enter `ES_TMP=/usr/tmp/mydirforit` inside /etc/rc.conf—did you try this allready?
-
Kalten
(I don't know, whether a restart would be needed)
-
Kalten
(or maybe `export ES_TMP=/usr/tmp/mydirforit` inside /etc/rc.local)
-
tuaris
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?
-
tuaris
Nope, didn't work with /etc/rc.conf either.
-
f451
zfs send is very bursty
-
f451
not a complaint, just an obs
-
f451
using mbuffer to buffer it
-
Kalten
tuaris: in /etc/rc.conf
-
Kalten
`export ES_TMP="/usr/tmp/mytempdir"` sets it for /usr/local/etc/rc.d/elasticsearch
-
dch
tuaris: you can usually do `${name}_env="...=..."` for all ports using rc.subr
-
dch
-
VimDiesel
Title: rc.subr
-
dch
tuaris: IMO that is the correct way to do it, that sets if specifically for just this port
-
dch
lol in fact I have precisely this in my /etc/conf.d/elasticsearch `elasticsearch_env="JAVA_HOME=/usr/local"`
-
Kalten
dch: nice
-
tuaris
/etc/conf.d/ ? is that new
-
dch
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.
-
dch
see load_rc_config in the same manpage :-)
-
tuaris
that is insteresting.
-
dch
yeah
-
dch
after finding this, all my automation scripts look roughly the same:
-
dch
- install some packages
-
dch
- drop a single /etc/rc.conf.d/$service template file
-
dch
- maybe a /usr/local/etc/$thing file too if needed
-
dch
- sprinkle some zfs datasets
-
dch
- start it
-
tuaris
oh, you mean /etc/rc.conf.d/
-
dch
oh tuaris my dyslexic bad, yes
-
tuaris
I see so you can basiclly append a "_env" to an rc.d startup script name to set variables
-
dch
yeah there are a lot of options like this, ${name}_$STUFF in there
-
dch
far too many for me to remember
-
tuaris
yep that did it. It worked
-
tuaris
does that ${name}_env work with multiple entries or do all the variables need to be set in a single one?
-
tuaris
well, maybe I'll go read tha man page. Thanks for pointing me in the right direction
-
Kalten
tuaris: likely `bla_env="tmp=/usr/tmp:startdir=/usr/local/bin"` i.e. “:” to list them, not likely “;”.
-
dch
IIRC it's `bla_env='A=B C=D' because its just inserted in front of `env`
-
dch
BTW you can *also* put things in their own file and use `bla_env_file`
-
dch
AFAICT from reading source `bla_env` just does eval of all of that
-
dch
so use spaces not colons
-
Sircle
Hi
-
Sircle
There is no way to run puppeteer in freebsd? this does not works even
puppeteer/puppeteer #5034#issuecomment-1236913615
-
VimDiesel
Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub
-
VimDiesel
5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep
bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034
-
dch
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
-
dch
I can do it on the local caching dns but its pretty noisy with other traffic
-
Molnija
I might accidentally write a userspace filesystem
-
rwp
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.
-
dch
rwp I have that set already, but the DNS stuff is still blocked
-
dch
rwp: do you need anything in ~/.config/mpv/mpv.conf now, or does it Do The Right Thing?
-
dch
to use yt-dlp
-
rwp
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.
-
dch
great software!
-
dch
[ytdl_hook] ERROR: [youtube] yRxmhnQFhMQ: Unable to download API page: <urlopen error [Errno 8] Name does not resolve> (caused by URLError(gaierror(8, 'Name does not resolve')))
-
dch
is what I get atm
-
Molnija
cat /etc/resolv.conf
-
dch
it *really* wants to get to youtu.be or some other google url I guess
-
dch
Molnija: I am looking for a dtrace or truss way to see what it's trying to resolve.
-
Molnija
Yes it needs access to youtube to download from youtube.
-
dch
I know my dns here blocks most google stuff.
-
dch
I'm hoping I can persuade it to use our invidious instance instead of asking google for sstuff
-
Molnija
you need to tow it outside of your DNS arcanity.
-
dch
if i enable google for mpv, then I enable it for everything and I don't want that
-
rwp
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.
-
rwp
You might try it with vimeo or one of the other sites
-
dch
I'll see wat I can find in
github.com/yt-dlp/yt-dlp maybe there's options there
-
VimDiesel
Title: GitHub - yt-dlp/yt-dlp: A youtube-dl fork with additional features and fixes
-
dch
the point of having an invidious proxy is not to need youtube/google
-
dch
thanks for the yt-dlp idea, see where i get to
-
Molnija
dch: create a jail and change its DNS.
-
dch
ooh yt-dlp supports a SOCKS5 proxy, I could do this over ssh perhaps
-
Crocodillian
is this still the right way to connect a bluetooth mouse?
gist.github.com/dcasati/1179f6a68524b7e9dc9cce7e0244b4ae
-
VimDiesel
Title: Configure FreeBSD Bluetooth Mouse · GitHub
-
Sircle
There is no way to run puppeteer in freebsd? this does not works even
puppeteer/puppeteer #5034#issuecomment-1236913615
-
VimDiesel
Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub
-
VimDiesel
5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep
bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034
-
rtprio
Sircle: sadly, nope
-
Sircle
There is no way to run puppeteer in freebsd? this does not works even
puppeteer/puppeteer #5034#issuecomment-1236913615
-
VimDiesel
Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub
-
VimDiesel
5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep
bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034
-
CrtxReavr
csh?
-
Sircle
whats that CrtxReavr ?
-
CrtxReavr
1975 called. They want their shell back.
-
Sircle
can anyone hear me?
-
rtprio
yep, what's the question
-
Sircle
this: There is no way to run puppeteer in freebsd? this does not works even
puppeteer/puppeteer #5034#issuecomment-1236913615
-
VimDiesel
Title: FreeBSD is not supported · Issue #5034 · puppeteer/puppeteer · GitHub
-
VimDiesel
5034 – (tcsh) blocked write on named pipe sticks in uninterruptible sleep
bugs.freebsd.org/bugzilla/show_bug.cgi?id=5034
-
Sircle
we have a lot of code written and need to deploy
-
rtprio
18:34 < rtprio> Sircle: sadly, nope
-
rtprio
take it up with the puppeteer maintainer, there's not much we can do
-
Sircle
rtprio can I just install linux based chrome and use that instead?
-
rtprio
that might work ,but it would still need local changes to puppeteer
-
Sircle
just the binary path would change of chrome. no?
-
Sircle
in pupeteer code I mean
-
Sircle
how to install linux based chromium in freebsd? (if that will solve?)
-
antranigv
Sircle what's puppeteer?
-
Sircle
-
VimDiesel
Title: Puppeteer | Puppeteer
-
rtprio
it renders web pages and saves them as images
-
rtprio
Sircle: no way to know if it will solve your problem, it probably won't.
-
rtprio
and if you're not sure what you're doing, it's a lot of work to find out
-
scoobybejesus
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?
-
rtprio
quic like http2? that's just port 443 tcp/udp isn't it
-
Kalten
git add
-
Kalten
sorry
-
nacelle
rtprio: yes, udp 443 usually
-
CrtxReavr
http(s) over UDP sounds like a horrible idea.
-
CrtxReavr
'course people are doing an implementation of ssh over UDP too. ..
-
scoobybejesus
well, it's not really UDP. kinda like a hybrid, but seems to be to not be one or the other..
-
CrtxReavr
Um. . .
-
zgu
there's HTTP/U that i think upnp uses
-
zgu
SIP is also structured basically like HTTP over UDP
-
scoobybejesus
okay, totally admit i'm out of my element
-
CrtxReavr
Um. . . there's UDP and there's TCP. . . I'm not aware of any hybrid IP protocol.
-
CrtxReavr
There's also SCTP, but it's more of a new TCP for the mobile age.
-
scoobybejesus
i guess QUIC is literally UDP, as i read more...
-
meka
-
VimDiesel
Title: Making FreeBSD QUIC - Tom Jones - EuroBSDcon 2022 - YouTube
-
rwp
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.
-
rtprio
i use that too, as my only connection is LTE
-
dexters
can i use my Intel Wifi 6 AX201 Wifi Card with Freebsd
-
parv
You can use either native iwlwifi driver ported from Linux, or via Linux VM eg net/wifibox port
-
dexters
Okay
-
dexters
When installing it it can't find any networks, though
-
parv
-
VimDiesel
Title: WiFi/Iwlwifi - FreeBSD Wiki
-
parv
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 :
lists.freebsd.org/archives/freebsd-wireless/index.html
-
VimDiesel
Title: freebsd-wireless⊙Fo
-
dexters
well 802.11ac and ax is not supported so i can't use it :(
-
dexters
Back to linux until it's fixed, unfortunately
-
idkwtf
You could just talk to me face to face, you know
-
idkwtf
Instead of being a scared little boy!
-
idkwtf
+47 94289429
-
idkwtf
Why go through all the trouble of banning me, when you can just call me
-
idkwtf
Tell me you disagree with my style, and that will be the end of it
-
idkwtf
But do it so everybody else can hear!
-
idkwtf
Let's arrange a live meeting :)
-
idkwtf
I'll be back in a sec
-
idkwtf
But keep that thought!