-
GoSox
its ports the package manager?
-
GoSox
is there a website somehwere where i can check out everything thats on there?
-
GoSox
i don't actually have a freebsd machine at the moment
-
pabs3
GoSox: looks like there is a search here
ports.freebsd.org/cgi/ports.cgi
-
VimDiesel
Title: FreeBSD Ports Search
-
pabs3
-
VimDiesel
Title: FreeBSD Ports - Wikipedia
-
GoSox
welp, looks like im switching from launchd to cron :P
-
pabs3
-
VimDiesel
Title: FreshPorts -- The Place For Ports - Most recent commits
-
luna_
early German Canada BSDCan edition of BSD Now today:
bsdnow.tv/562
-
VimDiesel
Title: BSD Now 562: All by myself
-
» luna_ is listening atm
-
tercaL
Is it okay to regularly do pkg check?
-
remiliascarlet
No, you might end up in prison for doing pkg check regularly.
-
GoSox
so i don't have much experience with non-gui-based OSes, anyone know of a good guide for begginners to get freebsd installed and running, with some GUI of some kind so I can at least get it to a state that *I* can use it and then start messing around?
-
remiliascarlet
-
VimDiesel
Title: FreeBSD Handbook | FreeBSD Documentation Portal
-
remiliascarlet
As for installing via a GUI, you could as well take a look at GhostBSD, which is a modified FreeBSD distro with a GUI pre-configured.
-
GoSox
is ghost still the same underlying version of freebsd as - more or less - what is current?
-
GoSox
i have a vm of one of them somewhere, let me dig that up
-
remiliascarlet
But I rather recommend you learn the command line, it's not that hard, and not learning it in any UNIX environment will bite you in the ass at some point.
-
GoSox
i can kind of get by with the cli, but i work so much quicker with a gui for most things
-
GoSox
also, i guess i don't have a freebsd VM anymore
-
GoSox
from what i remember, i was following some guide just to get it installed and get a gui running but the steps weren't working and eventually i gave up
-
remiliascarlet
From what I see, GhostBSD 24.04.1 came out on 05/20, FreeBSD 14.1 came out a couple days later, so I doubt it's the latest and greatest FreeBSD under the hood.
-
remiliascarlet
Unless GhostBSD is truly to FreeBSD what Ubuntu is to Debian, and just use the testing branch (or -CURRENT in FreeBSD) as the base.
-
GoSox
a couple days later, thats gotta be pretty close
-
GoSox
ill set up a VM of that and see how far i can get
-
remiliascarlet
Since it confuses a lot of people, to convert FreeBSD branches to Debian branches: -RELEASE = stable, -STABLE = testing, -CURRENT = unstable.
-
GoSox
ok i wasn't using the word current in that way
-
remiliascarlet
Oh, I can see on the screenshot on GhostBSD's website's news section that 24.04.1 uses FreeBSD 14.0-STABLE. So yes, it's not the release branch, and no, it's not the latest one.
-
GoSox
what is the latest freebsd release? google says it is 14.0
-
remiliascarlet
-
VimDiesel
Title: Latest News | GhostBSD
-
remiliascarlet
Oops, misread.
-
remiliascarlet
The latest version is 14.1-RELEASE.
-
remiliascarlet
-
VimDiesel
Title: FreeBSD 14.1-RELEASE Announcement | The FreeBSD Project
-
GoSox
ahhh once again relying on google to process search results, instead of actually going to the websites, give me bad info
-
remiliascarlet
Which is always the case.
-
GoSox
believe me i know. i run a formerly very popular ip address website that nobody clicks on anymore thanks to google
-
remiliascarlet
But understandable. In the Linux world you're more likely to rely on search engines and StackOverflow for solutions, whereas in the BSD world you're more likely to rely on the Manpages and the official website.
-
GoSox
the google giveth and then the google taketh away
-
remiliascarlet
FreeBSD, OpenBSD, and NetBSD each have very extensive Manpages and Handbook or FAQ available. So much so that you will never need to rely on search engines.
-
remiliascarlet
But yeah, GNU's Manpages are pretty poor quality.
-
remiliascarlet
The only exception I can think of is Gentoo, their handbook is pretty extensive.
-
GoSox
oh wait i have used ghostbsd before i think! not installed though, i think i used it as a "live cd" type of thing once, it looks very familiiar
-
GoSox
alright ghostbsd is installing. this could be fun
-
GoSox
especially if i can find a macos 8 theme for the gui lol
-
remiliascarlet
One tip: don't expect "--help" or "-h" to work. Instead, we use "man (comman here)" for that.
-
remiliascarlet
So instead of `du --help`, you'd use `man du` for example.
-
GoSox
yup, anything thats similar to how macos works, ill be very faimilar with
-
GoSox
and anything thats different, ill be completely lost :D
-
remiliascarlet
You'll be very familiar with FreeBSD then, the coreutils in macOS are almost identical.
-
GoSox
yup thats how freebsd ended up on my radar in the first place
-
GoSox
i'm still running an apple xserve right now, running a version of macos so old, I don't even want to say
-
GoSox
shame its in a data center because it would probably be an ideal piece of hardware to drive-refurbish and install a clean freebsd on
-
remiliascarlet
I have a PowerBook G4 on which I installed OpenBSD, just for fun.
-
remiliascarlet
I often see Linux users switching to BSD (I'm one of those), but macOS to BSD isn't nearly as common.
-
remiliascarlet
And Windows to BSD I've never even heard of.
-
GoSox
another thing that brought me to freebsd is that its essentially immune to syn_flood attacks due to the way it handles incoming tcp connections right?
-
remiliascarlet
Not familiar with that part.
-
GoSox
after much research years ago, turns out macos never added any of that newer stuff since it forked from bsd like 25 years ago
-
GoSox
my web server is under near constanat syn flood attack, just because people are assholes
-
remiliascarlet
Yeah, pretty hard to have nice things these days.
-
GoSox
the only way my version of macos can protect itself against synfloods is through a feature built into the pf firewall
-
GoSox
and that feature is broken in my os version
-
GoSox
luckily my data center put me behind their fancy anti-ddos system for free
-
remiliascarlet
But perhaps if security is the main issue, OpenBSD might be a better pick.
-
GoSox
but i need a real solution
-
remiliascarlet
But when it comes to familiarity to macOS, running a NAS, or just performance, FreeBSD is king.
-
remiliascarlet
Of course FreeBSD also wins in terms of amount of packages and ports customizability, but that's not really relevant to web servers.
-
GoSox
is there a BOINC client for freebsd?
-
GoSox
do projects need to support freebsd specifically?
-
remiliascarlet
Never heard of BOINC before.
-
remiliascarlet
Projects don't need to do so, but it does help. Maintainers generally port Linux packages over to FreeBSD, and then the other BSD's in turn port it to their OS's from FreeBSD.
-
GoSox
i meant BOINC projects specifically
-
GoSox
but if you're not familiar with BOINC then nevermind
-
GoSox
its the platform that used to run Seti@Home and many other projects
-
remiliascarlet
But if you're a developer, it definitely helps to develop on either OpenBSD or NetBSD, because if it works on those, it will work on FreeBSD and Linux. If made on FreeBSD it might work on OpenBSD and NetBSD, but it's not a guarantee. And if made on Linux, it might very likely not work.
-
GoSox
oh nevermind, freeBSD is specifically listed in this project so i guess thats that
-
GoSox
-
VimDiesel
Title: Applications
-
GoSox
hopefully other projects too
-
GoSox
ok better example, here's a project that doesn't specifically list any BSD applications:
boinc.bakerlab.org/rosetta/apps.php
-
VimDiesel
Title: Applications
-
GoSox
will the linux app run on bsd? or is this project S.O.L. for freebsd?
-
yourfate
small pet-peeve during upgrade: it would be nice if the merging of files would honor my EDITOR variable, and not just use vi anyways.
-
remiliascarlet
An "app" will only run on either iOS or Android.
-
remiliascarlet
But a Linux program won't just run on BSD as-is. Unless its code can compile 1:1 to BSD, then you can run.
-
remiliascarlet
The problem with a lot of Linux software is that the developers generally aren't aware that BSD's (and Illumosses, Plan9's, and all the other good stuff) exist, so they end up uncontiously using libraries or system calls that are incompatible with anything other than Linux, Windows, and maybe macOS.
-
GoSox
well as a lifetime mac user, i'm very familiar with being the red-headed-stepchild of software compatability
-
remiliascarlet
yourfate: vi is the default, so always handy to at the very least know some of the keybindings.
-
GoSox
also besides BOINC projects, all i'm going to run in this machine is apache, php, mariadb, some form of vpn server, and some form of mail server
-
GoSox
well and i guess some form of fileserver too
-
GoSox
all low traffic except the web server
-
yourfate
remiliascarlet: I can work it, but i'd prefer it to just use what's in the `EDITOR` variable
-
yourfate
like most cli tools that require an editor
-
remiliascarlet
Then you're good to go with FreeBSD, because all of that is readily available in the ports tree.
-
remiliascarlet
Also, unless you have something that explicitely relies on Apache, you might give nginx a try, which is much ligherweight (was waaaaaay more ligherweight back in the late 2000s, but things have changed).
-
paulf
never used it but there is also linuxulator
wiki.freebsd.org/Linuxulator
-
VimDiesel
Title: Linuxulator - FreeBSD Wiki
-
remiliascarlet
Nginx has gained lots of bloat over the years as it gained more mainstream attention.
-
remiliascarlet
So I feel blessed for having used Nginx before it became widely known.
-
CowboyNeal
heh, in the old days I had to run the manual through google translate to do anything beyond the basics
-
yourfate
paulf: I'm using the linux compat layer regularly to host various game servers
-
yourfate
like factorio, valheim
-
yourfate
it works well
-
yourfate
-
VimDiesel
Title: Chapter 12. Linux Binary Compatibility | FreeBSD Documentation Portal
-
paulf
yourfate but I doubt that it's good enough for my needs
-
paulf
which is why I've never bothered trying
-
polyex65
how's 14.1 guys?
-
yourfate
am upgrading my first machine rn. its a raspberry pi so it'll take a while. if that goes well i'll upgrade the server
-
paulf
polyex65 still testing in vbox, doesn;t seem to break much for me
-
remiliascarlet
I have upgraded my NAS to 14.1, but I didn't notice any mindblowing differences from 14.0.
-
remiliascarlet
Well, except that Neofetch now shows "FreeBSD 14.1-RELEASE" instead of "FreeBSD-RELEASE-p6".
-
remiliascarlet
Well, except that Neofetch now shows "FreeBSD 14.1-RELEASE" instead of "FreeBSD 14.0-RELEASE-p6".
-
GoSox
is there any vpn server software included or in ports you can run on a machine, so it can be a vpn endpoint that client machines can connect to?
-
GoSox
like racoon or something
-
remiliascarlet
`pkg search vpn`
-
remiliascarlet
Otherwise, Wireguard is included, but what OS doesn't come with Wireguard these days anyway?
-
GoSox
argh in this virtual machine, i can't get the vmware tools to run and the mouse control is driving me insane
-
remiliascarlet
How about `pkg install xf86-video-vmware`?
-
GoSox
ill have to look in to this later. the thing that always drives me nuts baout loking for vpn software on any platform is its never clear whats a client, whats a server
-
GoSox
i did the pkg install of the package vmware itself suggested
-
GoSox
no errors but it doesn't seem to be doing anything
-
GoSox
open-vm-tools
-
remiliascarlet
Did you read any instructions that showed up after the installation completed, if any?
-
remiliascarlet
Because very often the package manager will tell you what to do next at the very end of the installation.
-
remiliascarlet
I wanted to install that package myself just to check, but it wanted me to install 48 packages at a total of 222 MiB, so I thought "NOPE!".
-
GoSox
i don't recall seeing any, i did google up some instructions to add a line to the rc.conf but that didn't help
-
GoSox
BUT
-
GoSox
i really need to go to bed ill play around with this more later
-
GoSox
OH heres a question
-
GoSox
can you install hdiutil or some other software that lets you create/mount/work with apple disk images?
-
remiliascarlet
Wow, that was a short sleep!
-
yourfate
so, my rpi4b is at "installing updates" for close to 3 hours now
-
yourfate
I think something got hung up
-
GoSox
i know i keep not walking away
-
remiliascarlet
But not sure about hdiutil. Much of Apple's software is very proprietary, and all Apple has given back to FreeBSD was 5 dollars.
-
GoSox
yeah everyone seems to have their own disk image formats so there isn't much need for using apple disk images on other systems. But it would be really handy for me specifically since this would be a server accessed/managed exclusively by Macs (not counting web traffic of course)
-
GoSox
ok i'm really leaving now, later
-
remiliascarlet
Suggestion: set up an NFS server, mount it on your Mac, and then you can transfer your files over from macOS to FreeBSD that way.
-
remiliascarlet
That's what I do with my FreeBSD NAS to transfer across OpenBSD, FreeBSD, NetBSD, and Linux.
-
remiliascarlet
Or simpler: rsync.
-
h3sp4wn
Does anyone happen to know what you put in make.conf to force llvm18 ? (I did something once that caused the build system to tell me to not do that ans what to do instead but I cannot for the life of me get it to do it again)
-
lw
h3sp4wn: for ports, DEFAULT_VERSIONS+=llvm=18 should work
-
lw
that doesn't actually force anything to use llvm 18 but if something uses the default llvm version, it will get 18
-
yourfate
so, how bad would you say is the idea of interrupting the `freebsd-update install` call?
-
h3sp4wn
lw: Thanks alot.
-
al1r4d
pkg: packagesite URL error for pkg+http://pkg0.kul.FreeBSD.org/FreeBSD:14:amd64/quarterly/data.pkg -- pkg+:// implies SRV mirror type
-
al1r4d
pkg: packagesite URL error for pkg+http://pkg0.kul.FreeBSD.org/FreeBSD:14:amd64/quarterly/data.txz -- pkg+:// implies SRV mirror type
-
al1r4d
how to fix this?
-
remiliascarlet
Context please?
-
al1r4d
-
al1r4d
i want to change the mirror url but i got that
-
al1r4d
remiliascarlet
-
mzar
al1r4d: url: "
pkg0.kul.FreeBSD.org/${ABI}/quarterly"
-
mzar
it will work, delete mirror_type
-
mzar
al1r4d: do you have any BSD user groups over there ?
-
remiliascarlet
Yes. right here for example.
-
gendish
Hello! Someone here who got time to look into a problem I'm having? I've posted it here:
forums.freebsd.org/threads/upgrading-to-14-1.93700
-
VimDiesel
Title: Upgrading to 14.1 | The FreeBSD Forums
-
Teraii
hello here
-
Teraii
is iocage vnet reliable ?
-
Teraii
i saw many config which has failed
-
Teraii
ok it's working =)
-
s2r
gendish what's the results for bectl list?
-
gendish
14.0-RELEASE_2023-12-02_095647 - - 68.1M 2023-12-02 09:56
-
gendish
14.1-RELEASE_2024-06-06_024053 - - 6.55M 2024-06-06 02:40
-
gendish
14.1-RELEASE_2024-06-06_084830 - - 423M 2024-06-06 08:48
-
gendish
14.1-RELEASE_2024-06-06_093236 - - 4.23M 2024-06-06 09:32
-
gendish
14.1-RELEASE_2024-06-06_100535 - - 367M 2024-06-06 10:05
-
gendish
14.1-RELEASE_2024-06-06_101736 - - 4.12M 2024-06-06 10:17
-
gendish
default NR / 7.20T 2021-09-09 11:16
-
s2r
gendish: What happens if you activate the last snapshot for the next boot with: "beadm activate 14.1-RELEASE_2024-06-06_101736" and reboot, then freebsd-version -kru again
-
gendish
s2r: I'll try that. Thanks.
-
HER
whats the correct way to share a directory with a jail ?
-
HER
just mount it from the host
-
HER
?
-
HER
oh, nullfs
-
dautor8518050867
I'm unsure how ports are updated in relation to base OS. I just upgraded to 14.1 and because of this patch (ports/83dafbec2c7603a64e01f3548303fb242b878be5) I expeced to have drm-61-kmod available. However, it appears not to be the case.
-
dautor8518050867
What am I missing? When can I expect it to become available through pkg?
-
beastwick
Hi, I setup a Linux jail following mostly
forums.freebsd.org/threads/running-…ome-in-a-dedicated-linux-jail.85491, I am trying to install pi-hole inside this ubuntu jail, but the installation bash scrip throws a /dev/fd/63: No such file or directory, but I do have the fdescfs and other linux mount points mounted. /dev/fd only has 0 1 2, it is missing 63. Not sure how to resolve
-
beastwick
this.
-
lw
dautor8518050867: packages are only build for each major version, like 14.x, so it will depend on when the 14 builder is upgraded to 14.1. perhaps someone on the ports@ list knows when that might happen, in the mean time you could build the package from source
-
lw
(i imagine this might not happen until 14.0 goes EOL, to avoid breaking users who haven't upgraded)
-
dautor8518050867
That makes sense. I don't know if I should mix packages from pkg and manually built ones. It's not that important to me at the moment to be able to use my integrated GPU. I put in an old GPU so I can get by until drm-61-kmod comes. Thank you for the response, lw.
-
dff
is there a ufw like front-end available for pf?
-
scoobybejesus
yourfate: how did that turn out? did you interrupt? mine hung for a while, but eventually finished after an hour (on a much stronger box... i think i3)
-
yourfate
scoobybejesus: other stuff also hung at that time. I did try to interrupt it with ctrl+c, as I didn't see any activity in top
-
yourfate
but that didn't work
-
yourfate
so I just did a reboot
-
yourfate
and then tried the update, and it worked fine.
-
yourfate
the rpi is now on 14.1
-
yourfate
the 2nd time took a few minutes at best
-
scoobybejesus
ultimately, it all worked out. sweet
-
yourfate
yes!
-
scoobybejesus
yeah, my 2-vcpu VPS instance updated faster than my four core box at home due to the weird hang. i blame jails (maybe vnet)
-
yourfate
on the 2nd one I could also constantly see activity in top, gunzip etc
-
yourfate
the good thing is, I have learned from previous rpi experiences, and I have a daily backup of the entire FS of the pi using restic
-
yourfate
so, if I had hosed it, it would have not been too bad
-
yourfate
never trust SD cards with anything
-
yourfate
camera manufacturers know that too, pro-grade cameras usually have dual SD slots, and save images to both
-
yourfate
i'd prefer FS snapshots, but the pi images don't use zfs as standard, and I'm too lazy to change that
-
polyex
13.3 no matter what i do service -e shows /etc/rc.d/sendmail! how can i totally disable it? i have sendmail_enable="no", _msp_queue_enable no, _outbound_enable no, _submit_enable no. i also have all of the /etc/periodic.conf changes handbook says to put
-
concussious
polyex: take a look at /etc/mail/mailer.conf
-
concussious
iirc, i didn't do any of that, i just changed it in mailer.conf
-
concussious
and i get nothing for service -e | grep mail
-
concussious
mail coming in just fine with dma
-
polyex
what did you do in mailer.conf?
-
concussious
sendmail /usr/libexec/dma
-
concussious
mailq /usr/libexec/dma
-
polyex
what if i have no dma installed?
-
concussious
newaliases /usr/libexec/dma
-
concussious
i don't think you have no dma installed
-
concussious
uname -U ?
-
saper
polyex: sendmail_enable=NONE
-
saper
polyex: but that's not the SMTP agent, just a local submit daemon
-
concussious
also, mailer.conf has a manual page
-
saper
yeah but I think polyex wants to disable the sendmail process starting, not redirect the "sendmail" name
-
polyex
ya
-
polyex
no sendmail still showing lol damn
-
polyex
i'll just wait till i upgrade to 14.1 and try again
-
saper
no
-
saper
service sendmail stop
-
saper
I don't think 14.1 is different
-
concussious
mailer.conf is how mail is plumbed
-
concussious
if mailer.conf uses dma, it doesn't start sendmail
-
concussious
i don't have sendmail
-
concussious
also, i put this information in hier(7)
-
concussious
and mailer.conf(5) explains everything
-
saper
polyex: wait, do you have any sendmail process running? or you just look at service -e ?
-
polyex
just service -e
-
saper
any sendmail or dma running with ps ax?
-
polyex
no
-
concussious
which sendmail
-
concussious
also, service disable sendmail
-
saper
I think service(8) is just a buggy script
-
saper
no metter what I put in /etc/rc.conf , -e thinks it is enabled
-
concussious
man, dont hate on service, it's working fine over here
-
concussious
ive never seen or heard anything that service is buggy
-
saper
polyex: you might have found a bug. /etc/rc.d/sendmail has name="..." and rcvar="...." twice, maybe this is confusing the script
-
saper
concussious: "-e" just uses heuristics explained in the manpage, so it is not 100% correct
-
concussious
saper: thanks, that's very interesting
-
saper
polyex: sendmail_msp_queue_enable=NO should remove sendmail from the list and stop worry you
-
saper
but sendmail_enable=NONE is better ;>
-
saper
(I have never used service -e before)
-
concussious
well, the real deal is /etc/src.conf : WITHOUT_SENDMAIL=1
-
concussious
recompile your system without sendmail even existing
-
saper
and wait for llvm to build
-
concussious
yeah i mean, if you read and apply mailer.conf it won't matter
-
concussious
thus, i said, which sendmail. its a link to mailwrapper
-
concussious
and as described in hier(7), mailwrapper is configured with mailer.conf(5)