-
craigger
j/buffer 15
-
sjuxax
I'm trying to get OpenZFS 2.2 to work on FreeBSD 13.2. I've installed from source per the directions on the OpenZFS wiki. However, whenever I load openzfs.ko, I get dropped to a mountroot shell with complaints that zfs is an unknown filesystem
-
CrtxReavr
Oh, are we showing puppy pictures?
-
CrtxReavr
-
VimDiesel
Title: Single File PHP Gallery
-
scoobybejesus
for folks who didn't disable sendmail, do you read messages in the console, or do you forward to your cozy webmail? if in console, what program?
-
CrtxReavr
If I were going to read it in console, I'd use pine or mutt.
-
CrtxReavr
Though, mailx is in base. . . it's only semi-horrible.
-
mns
scoobybejesus: I've used mutt in the past. I'm not sure if there are others theses days.
-
CrtxReavr
Oh mail/alpine
-
CrtxReavr
They added features and tweaked the name.
-
scoobybejesus
excellent, many thanks. i will look into those
-
CrtxReavr
mutt was easy to get working with GnuPG, which is why I used it.
-
scoobybejesus
i recently became curious about the mails processed by sendmail
-
mns
if you don't need the mails, you can turn off sendmail
-
scoobybejesus
i recently saw in zfs diff'ing snapshots that /var/spool/clientmqueue will still fill up as a result of being unable to deliver mail. any idea how to deal with that?
-
mns
scoobybejesus: pkg search -c mail | grep client | sort :-)
-
mns
scoobybejesus: are you sendint out email from that host where you see that ?
-
scoobybejesus
i don't know yet if i don't need the mails. i want to try to get comfortable with what it sends. seeing all the immediate ssh login attempts in there make me put setting up sshguard on my todo list
-
scoobybejesus
in particular, this is a jail snapshot with the four sendmail items set to "NO". it's a laravel app running. i'm not sure if php is sending mails or this is from cron jobs or what. with sendmail off, all i know is these files tell me that connection to 127.0.0.1 was refused
-
mns
since the emails are not deliverable, something's not configured properly so that that's why its filling up. Probably a better approach might be to lok at hte config to see why its not getting delivered ?
-
scoobybejesus
i figured they were not getting delivered because sendmail was disabled so there's no daemon listening
-
scoobybejesus
cron, for example, may be sending mail, periodic or whatever
-
mns
scoobybejesus: I just checked my jail. I have sendmail_* set to NO as well, and no sendmail processes running.
-
scoobybejesus
i have syslogd_flags="-ss" and cron_flags="-J 60" as well, so maybe related to one of them
-
mns
most likely syslogd. I have syslogd_flags="""". cron_flags is the same as yours.
-
mns
hmmmm
-
mns
ok I just checked my jail and I have the same problem as well. clientmqueue is filled up.
-
scoobybejesus
Interesting. For syslogd, -s says "Operate in secure mode. Do not log messages from remote machines. If specified twice, no network socket will be opened at all, which also disables logging to remote machines."
-
scoobybejesus
I was super curious why i had notable snapshot diffs to send over the wire, so i ran zfs diff on the snapshots, and there were lots of clientmqueue items, so that's why i'm going down this rabbithole
-
jb1277976
I've been learning a lot today about device.hibts nids and everything. I'm exciting freebsd makes me want to learn
-
jb1277976
Device.hints*
-
scoobybejesus
makes me want to learn too :)
-
jb1277976
It's like freebsd wants you to enjoy your pc and hry have so much documentation and hints. I bet the experts can run freebsd on a toaster with everything working
-
feurig
nobody is not allowed to log in on /dev/pts/5
-
feurig
nobody is not allowed to log in on /dev/pts/5
-
feurig
nobody is not allowed to log in on /dev/pts/5
-
feurig
ok once more with feeling...
-
feurig
nobody is not allowed to log in on /dev/pts/xxx WTF?
-
feurig
I am thinking its a login.conf issue but it was SO long ago that none of my team remembers what was done to fix it...
-
kevans
feurig: why are you trying to login with 'nobody' somewhere?
-
feurig
I am not trying to login as anything
-
feurig
I am trying to start the node_exporter service.
-
kevans
`nobody` is trying to authenticate somewhere, the questions are where and why
-
kevans
ah node_exporter, let's take a look here
-
feurig
```
-
feurig
service node_exporter start
-
feurig
Starting node_exporter.
-
feurig
nobody is not allowed to log in on /dev/pts/5
-
feurig
su: Sorry
-
feurig
/usr/local/etc/rc.d/node_exporter: WARNING: failed to start node_exporter
-
feurig
```
-
feurig
so i pkg install node exporter and then try to start it.
-
feurig
My peers have seen this before but dont remember what the solution was.
-
feurig
It works on most of our systems (12.1..13.2)
-
kevans
do you have any configuration for the node_exporter service in rc.conf, or just enable set?
-
feurig
nothing other than enabling it.
-
kevans
`su -m nobody -c 'echo hi'` same result?
-
feurig
yep.
-
kevans
anything interesting in /etc/pam.d/su ? (please pastebin or cat ... | nc termbin.com 9999 if you're going to paste it)
-
feurig
everything points to system defaults
-
scoobybejesus
from earlier, mns, `mailq -Ac | grep "Nov 4" | wc -l` in the jail returns 1000!
-
scoobybejesus
and they seem to all be at the same time
-
kevans
feurig: /etc/login.access all comments?
-
» kevans is learning a lot about pam tonight
-
scoobybejesus
haha.. the the mailer.conf(5) bugs, it says: The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave differently if invoked with a different name" behavior of things like mailq(8) should go away.
-
kevans
i mean, it's got a point
-
scoobybejesus
the same BUGS section can be found in MAILWRAPPER(8).. fascinating
-
scoobybejesus
interesting description of things in there
-
jb1277976
Can somebody explain to me device.hints and exactly how they work and how do I know what to change I'm looking at
man.freebsd.org/cgi/man.cgi?device.hints
-
VimDiesel
Title: device.hints
-
tercaL
Good morning
-
meena
jb1277976: at the most basic, it let's you disable troublesome devices. but it also changing certain configurations.
-
meena
many drivers have configurations of their own, see for example,
man-dev.freebsd.org/em.4#LOADER_TUNABLES
-
VimDiesel
Title: em(4) - FreeBSD Manual Pages (Dev)
-
meena
but this hooks in earlier into how the kernel discovers the device and what state it finds it in, before loading the appropriate driver (often handled by
man-dev.freebsd.org/devmatch.8 ) and handing control to it
-
VimDiesel
Title: devmatch(8) - FreeBSD Manual Pages (Dev)
-
deacon426
hello freebsd people!
-
entikan
hi
-
deacon426
o/
-
deacon426
I cant wait to have a backend freebsd server. I want one soo bad
-
zyxer
Hi
-
zyxer
I have screen tearing
-
zyxer
amdgpu
-
zyxer
nevermind I fixed it. But how can I make touchpad click on tap?
-
babz
see xorg.conf(5)
-
babz
-
VimDiesel
Title: wobt
-
zyxer
ok
-
zyxer
babz: Thank you so much!
-
zyxer
At first I thought FreeBSD was a hassle. But because it is a bit more hassle than OpenBSD I was motivated to put in a bit more effort to trim it down, so now I feel really happy with the results. E.g. instead of installing drm-kmod I picked the specific packages needed, so drivers and all for graffix is less than 15mb now. Also the bluetooth firmware thing is broken which is a plus since bluetooth
-
zyxer
is a security issue and I never use it anyway so BT can just, dissappear from my systems
-
babz
> bluetooth is a security issue
-
babz
how ?
-
zyxer
a) It is unencrypted
-
zyxer
b) It is bloat, extra surface area
-
babz
it is encrypted
-
dch
c) the protocol has numerous security issues
-
dch
d) its usually networked hardware, running opaque firmware blob, that has DMA access to the rest of your computer
-
dch
given (c) then (d) is considerably less secure, and there's a LOT you are forced to trust
-
zyxer
Ok so it seems I was wrong about the encryption. You're right, it is encrypted
-
dch
see biab, braktooth, blurtooth, bleedingtooth, bluebugging
-
babz
well, we could say the same things for wifi or gpus (or the whole PC platform, really)
-
zyxer
Yea it is proprietary protokoll as well, running on network card
-
dch
-
VimDiesel
Title: CVE - Search Results
-
babz
bu yeah, if you dont use it, dont load a driver...
-
dch
babz true, but you *can* get opensource wifi cards
-
zyxer
Yes, I got wifichip that allows open source firmware
-
dch
or use a wired nic even (maybe with a very long cable :D)
-
dch
I don't know about fully open gpu tho
-
dch
I guess no good ones are
-
dch
computers are bad, and widely regarded as a mistake
-
zyxer
babz: That was the pluss, the bluetooth firmware for my specific chip seems broken on FreeBSD (or I skipped a step to set it up properly because I really don't want or care about bluetooth)
-
zyxer
Also I remove wifi chips from all my devices that don't really need wifi
-
zyxer
I accidentally broke a raspberry pi 4 trying to figure it out, but the schematics are either a lie or the wifi circuit is so integrated that if you disconnect it it bricks the pie.
-
zyxer
Ok the pie isn't really broken, it just refuses to boot or do anything, I still get the red light indicating it works
-
zyxer
I am considering yeeting the wifi out of my home. Just, throw away the router (main router has no wifi chip, secondary I just use for wifi, but mainly as a switch)
-
babz
zyxer: where did you find the schematics ?
-
zyxer
babz: Ok so it was more like a diagram and not actual schematics
-
zyxer
Like, image of the RPi and then arrows with "This is wifi chip, this is CPU, this is RAM etc. etc."
-
voy4g3r2
anyone have experience using tmux and "handling" the configuration files.. i have my tmux.conf in ~/.config/tmux/.tmux.conf (as per the man page) but it seems to NEVER source it
-
nimaje
looks like you have an extra dot
-
voy4g3r2
bahhhhh
-
voy4g3r2
it is ~/.tmux.conf OR ~/.config/tmux/tmux.conf
-
voy4g3r2
ill go back to my hole, thank you nimaje
-
nimaje
(and I think it was a bad decision to promte that bug in ls to be a feature and hide files when they start with a dot, it was lazy coding to hide . and .. without checking for NUL)
-
meena
I would like to create jails with deterministic nic names, that just go, vnet0, vnet1, etc… how do I do that with epair(4), when I have more than one jail?
-
voy4g3r2
nimaje: agree and i am here.. trying to "reshift" linux tutorials on tools such as tmux and neovim and i am trying to get my brain to translate on the fly...
-
jb1277976
Thanks meena
-
jb1277976
meena: can't you re-route stuff with device.hints like say there is sound in the hdmi port but you want to be in the speaker intead. device.hints do that right ?
-
meena
jb1277976: most likely, but I don't touch real hardware, only the virtualized. I have a cool talent for manifesting bugs, and hardware can explode. It's for safety. You'll have to ask other people who enjoy making their computers make noises what to do about sound, or you could try punch that into a search engine and see what others have already
-
meena
found
-
jb1277976
Thanks
-
meena
ifconfig epair create name vnet0 # gives me vnet0, and epair0b, and I basically need this to go the other way around
-
meena
I might have to go read code I've helped write…
-
nimaje
with "deterministic nic names" you mean computed from the jail name?
-
meena
nimaje: nah, i just want every jail's nic's *inside* the jail to be vnet0, vnet1, etc…
-
rwp
meena, I create epairs one pair at a time with a name I know and then rename them immediately, two renames. Here is a paste demo'ing what I do.
bsd.to/VbXH/raw
-
VimDiesel
Title: VbXH
-
meena
rwp: thank you
-
rwp
I have my jails all numbered with a unique number for my convenience. I use that number to make the epair and then rename each side (two renames) to other names using the same number. By using the same number I never have a name collision no matter what order I use to start/stop jails.
-
rwp
I did it the other way originally and did actually run into collisions in my hacking around on things and so switched to always assigning a unique number globally to avoid that problem.
-
meena
rwp: aye, that's what I'm doing right now, but I'm not renaming them yet.
-
mns
I've seen someone using /etc/jail.conf and had epairs and vnets setup in a uniform, deterministic way.
-
mns
I thought it was your setup meena, but might have been someone else.
-
rwp
Hmm... "freebsd-update fetch" said that it downloaded files for 13.2-RELEASE-p5. I then ran "freebsd-update install" and rebooted. The system now says "freebsd-version -kr" both 13.2-RELEASE-p4 which I expected to say -p5.
-
rwp
Is it me? Or did a patch release sneak out without updating the number to -p5?
-
rwp
"No updates needed to update system to 13.2-RELEASE-p5." is reported by freebsd-update fetch.
-
thorre
rwp: Try freebsd-version -kru
-
thorre
To the best of my knowledge the p5 update only updated the userland. the -u option will show you what patch level your userland has.
-
rwp
thorre, That's what I already reported above. The -u is the userland and it also reports -p4.
-
rwp
It's an odd thing when updates come through but the version number is not changed.
-
thorre
Sorry, I missread your post.
-
rwp
No worries. I noticed in passing that, for example, /rescue was in the upgrade list that it showed me. I forget what other things. I could diff I suppose.
-
thorre
This may be a long-shot but did you have the possibility to re-start your system after the update?
-
rwp
thorre, Oh! My apologies! On my other machine freebsd-version -u does report -p5 there. My bad! Sorry.
-
thorre
No problem at all :-)
-
rwp
That's the problem with me doing ad-hoc upgrades this morning without a plan and without a systematic flow to things.
-
thorre
rwp: Do you know what CDO is?
-
rwp
I'll bite. No. What is CDO?
-
thorre
It is OCD in the correct alphabetical order. Sometimes OCD is good, for example upgrades are best performed with OCD.
-
rwp
LOL! Yes.
-
rwp
I got confused between the differences of the base kernel, the base userland, the pkg userland. I confused the base userland files with the pkg files. Since pkg feels like it should be userland, and it is, but it's a different userland. That was my confusion this morning.
-
thorre
Well, I am glad that the problem now is solved.
-
rwp
Thanks for helping me get my mental confusion straightened out this morning! :-)
-
rwp
Okay. With that understood now I have one more machine to upgrade and I am typing on it right now so I will BBIAB. And maybe get a bite of lunch too.
-
rtprio
i wonder if my jail vnets work now
-
jb1277976
thanks rwp after a while i could get to ttyv6 and yea alt+f9 worked
-
jb1277976
Question is there a reason why freebsd dosen't use sof-firmware ?
-
jb1277976
i think it would help a lot of pc's get sound working
-
jb1277976
especially on freebsd
-
pstef
isn't there a port?
-
jb1277976
nothing on freshports
-
jb1277976
i could be typing it wrong also
-
pstef
I can't find it either
-
rtprio
what is sof-firmware; i've never had much trouble getting sound to work
-
jb1277976
Yea sound on here worked out of the box
-
jb1277976
sofproject.org when i was on arch and debian it was the only way to get sound working
-
VimDiesel
Title: Home - Sound Open Firmware
-
jb1277976
im trying to setup sound on this chromebook
-
rtprio
and the chromebook is running freebsd?
-
jb1277976
yep its on it right now. 13.2-RELEASE
-
jb1277976
wifi works using iwlwifi
-
jb1277976
i even have X working
-
rwp
I have also not heard of Sound Open Firmware either. Sound has always Just Worked for me. Glad to hear you have things working and X up and running.
-
jb1277976
-
VimDiesel
Title: 267817 – No sound with Intel Comet Lake PCH-LP cAVS sound card
-
jb1277976
nobody has responded yet. i found that the other day
-
rwp
I want to hint that on the vt consoles Alt-Fn gets to that numbered vt console. But under X the Alt key is usually used by the window manager. So under X it is Control-Alt-Fn to switch to the vt console.
-
jb1277976
Got it
-
rtprio
unless you plan on writing a driver, it's probably not worth it. get a pair of usb headphones and call it good
-
rwp
Another thing is that FLOSS software often has to react to new hardware being available and that can take some time for people to reverse engineer new hardware. Most of us run on hardware a few years old and by then well known and well debugged.
-
rwp
+1 for one of those USB sound adaptors. Several are fully FLOSS and those work very well.
-
rtprio
rwp: my microsoft usb nic worked in freebsd without drivers, yet somehow needed a driver in windows
-
rtprio
i always thought that was amusing
-
pstef
on that note, iphone tethering works OOTB on Linux and FreeBSD, but on Windows you have to install iTunes first...
-
rwp
rtprio, That does not surprise me actually. FLOSS is possible to add drivers more quickly than large corporations.
-
rwp
Add existing drivers I mean as a clarification.
-
jb1277976
Got it. im giving up and putting linux back on here. no big deal. i just like challenges. i just talked to the chromebook people on discord and they said they just haven't ported it to freebsd yet
-
jb1277976
least my main pc has freebsd
-
rtprio
cool
-
rwp
If it is a new hardware problem lacking driver support then that's going to be annoying. Best to go with what works in that case.
-
rwp
I am extremely happy with FreeBSD on servers. It's the best! I am also running FreeBSD on my main desktop. It's my daily driver. On laptops I hit rough spots like graphics drivers suspend resume issues that still need polish and maturity.
-
jb1277976
Is there good documentation on how to format a usb to fat32 ? i know i need to destroy i first or something
-
RhodiumToad
you want to lose any existing data / partitioning?
-
jb1277976
found it
-
jb1277976
-
VimDiesel
Title: How-To repartiton (format) a USB flash drive. | The FreeBSD Forums
-
RhodiumToad
that's really out of date
-
RhodiumToad
if you want it to have MBR partitioning and one fat32 partition, then:
-
RhodiumToad
gpart destroy -F daN && gpart create -s MBR daN && gpart add -t fat32 daN && newfs_msdos -F32 /dev/daN
-
RhodiumToad
for gpt, use -s GPT and -t ms-basic-data
-
jb1277976
Thanks RhodiumToad now i know
-
jb1277976
I have a question. somebody said they don't use X like how do you use your laptop/pc then ? im assuming they only use it for a server right ? how do you right documents and stuff. if i could stay in the terminal i would but i have to get stuff done
-
jb1277976
s/right/write/
-
RhodiumToad
there are perfectly good editors for text mode
-
RhodiumToad
also, maybe they were using wayland instead of X? (I don't, so I haven't checked how usable it is these days)
-
ZedHedTed
you can do almost everything in the terminal/tty session if you wanna learn. biggest exception is anything involving video.
-
ZedHedTed
then again, even video editing can be done w/ ffmpeg. but you'd have to start X to watch and confirm the video came out as you intended.
-
visl
neal stephenson famously uses emacs to write books
-
nimaje
pretty sure mpv can just run from a tty
-
visl
but RhodiumToad is proably right. "somebody" is probably using wayland if the device they are referring to is their daily driver.
-
ZedHedTed
nimaje: sure it'll run and you can even get audio in the tty, but how is it going to play a video stream?
-
parv
ZedHedTed, Framebuffer?
-
ZedHedTed
what the...i just tried it (on MX Linux from a tty) and it worked
-
ZedHedTed
parv: thanks. biggest TIL in awhile!
-
nimaje
I think the biggest problem would be a webbroweser, but I think netsurf has a framebuffer port
-
parv
ZedHedTed , Thanks for trying
-
nimaje
just tested on freebsd, mpv works fine from a tty
-
parv
nimaje, w3m-img does graphics in the terminal (but not Javascript AFAIK)
-
parv
nimaje, Will try netsurf; thanks
-
nimaje
hm, but we don't have nsfb in ports, only netsurf-gtk :(
-
jb1277976
You can get video in the terminal ?
-
rwp
I use XTerm text terminals for everything except Firefox (24x7), mpv video player (often), LibreOffice (rarely). I don't miss X for anything other than web browsers due to the way the Interwebs require Javascript and graphics for everything.
-
rwp
I am always logged in with ssh to other systems and so of course those are pure text console interfaces. I always have a tmux running remotely to be able to resume that session after network disconnects. I use text terminal console editors when editing files and don't miss clicking with the mouse.
-
rwp
But I always have my fingers on the keyboard and hate reaching for the mouse. If you are the opposite and always have your hand on the mouse and hate reaching for the keyboard then this type of work flow of text with fingers on the keyboard you will hate. Opposite mental models.
-
ZedHedTed
webapps are tricky. good luck checking your bank account or payroll site w/ a TUI browser.
-
entikan
death to webapps
-
rwp
Banking is one example where I must have X and Firefox with Javascript available. That's the world we live in now.
-
entikan
you could have a small machine somewhere purely for banking
-
entikan
and you can complain
-
entikan
you'd be of service to a lot of people with dissabilities
-
rwp
I would not want to be in the middle of other people's banking transactions. Banks would not allow this because they require the client to be a current web browser with javascript.
-
jb1277976
rwp: znc with irssi or what I'm guessing ?
-
entikan
rwp: I mean by complaining to your bank to implement non-webapp banking options, not by having a banking machine :P
-
rwp
jb1277976, Yes. irssi is my main IRC client on my server. irssi has excellent irc bouncer proxy capability to mirror IRC to *multiple* connections. That's a feature I don't find anywhere else but have not learned weechat so don't know about it. Then connect a znc to irssi so that I can get a buffer scrollback on my laptop when I connect mobile from places.
-
entikan
that's just a way to keep your workhorse clean of x/firefox
-
rwp
jb1277976, Then I mostly use my Emacs erc irc client to connect to znc which is connected to irssi and here we are with me with my full Emacs capability which makes me happy. So on my end it is a long chain of goodness.
-
jb1277976
Do you irc from your phone?
-
rwp
entikan, My bank has non-webapp options, by me going into one of the branch offices. So I use the web with it.
-
RhodiumToad
a physical office? your bank has those? :-)
-
RhodiumToad
(the moderate-size town where I live used to have branches of two different banks, but they both closed)
-
rwp
And being a FreeBSD desktop user let me hint this important note, chase.com is one that blocks UserAgent strings that are not Linus,Windows,Apple. Blocks FreeBSD. Therefore I must use a UserAgent switcher with Firefox to spoof one of those so I can connect to chase.com with a browser. I use User-Agent Switcher plugin and it works excellently.
-
RhodiumToad
yeesh.
-
RhodiumToad
I know of one site (not a bank) that blocks user-agent strings containing "amd64" (rather than "x86-64" or whatever linux calls it)
-
jb1277976
rwp: do you only IRC from the desktop/laptop ?
-
rwp
jb1277976, You mean like I am doing now?
-
jb1277976
Yes. I'm at McDonald's with I've of my kids ircing from Mobile 😁 quassel ftw
-
jb1277976
One*
-
rwp
Oh, I missed the question about IRC from my phone above. I never use my phone for IRC. I have used my tablet on very rare occasions for special reasons.
-
jb1277976
I'm always in the loop
-
rwp
I need to test drive quassel because znc has a well known connect rate limit that can create a delay of *several minutes* between connecting and being in sync ready for use.
-
ZedHedTed
never used irc on my phone either. just doesn't seem right. matrix otoh, i use the shit out of that on mobile.
-
rwp
The problem is that znc tries to get a /names sync across all channels upon connection (I think that's the problem) and it would get kicked for ircd server abuse if it fired that all off all at once for many channels. So it rate limits the interaction to be nice to the server. Which causes this long connect delay.
-
jb1277976
rwp: you on Android or iOS ? Quasssel has to setup on a server then you have to connect with a quassel client they are limited they have a desktop client and iOS and Android client the iOS one sucks. I know cause I have an iPhone 12 but Pixel 7 for my daily driver
-
rwp
IF you are connected to many large channels. If you are in only one channel or three then the delay is short and not a problem. But I am in many channels.
-
ZedHedTed
jb1277976: are you using text-to-speech too?
-
jb1277976
Nope
-
rwp
I use Android. But the phone and tablet are not good interfaces for me for IRC which is mostly text. Remember I like keeping my fingers on the keyboard and hate reaching for the mouse.
-
jb1277976
Aw
-
ZedHedTed
oh. usually when someone uses run-on sentences it indicates TTS usage.
-
ZedHedTed
maybe that's just how my aunt uses it though.
-
jb1277976
Brb gotta drive home
-
rwp
I need to run to something IRL. (Hey my sentences in IRC are almost always long run-on sentences and I am lovingly typing each character in one at a time here, know they are run-on, but it's conversation "in the wind" and think that is the best way to do it, but does a much more prepared job on email.) BBIAB