/r/freebsd
Unofficial subreddit for the FreeBSD Project
Unofficial subreddit for the FreeBSD Project. Project goal:
… to provide a high-quality, open-source UNIX®-like operating system that excels in terms of performance, security, and stability.
Related:
Community highlights:
Other areas of interest:
Header image: adapted from wallpaper art by /u/atlas-ark
Formatting in Reddit:
– please note, indented code blocks are the only form that work on old Reddit; use indents for compatibility.
/r/freebsd
Hello guys!
Yesterday I was at FOSDEM in Brussels. Very nice event! I go around and see FreeBSD booth. I like FreeBSD but I am new, want to learn.
There was guy at booth, very friendly, he tell me about BoxyBSD project. He say it is FreeBSD VPS and is free. Sound crazy! Free server for no money?
Is this real? Anyone have experience with this? I do not find much online. Is good for learning FreeBSD?
He also said something about a BSD Cafe. what is that? Is that also in Brussels?
Steam BSD Runtime is a script that utilizes Proton to run the latest version of Steam on FreeBSD, and replicates a vanilla Steam install as much as possible.
How is it different from Mizutamari or Linux Steam Utils?
Mizutamari is currently limited to a March build of Steam, because of steamwebhelper. Linux Steam Utils generally doesn’t work well on AMD or Intel hardware, and Steam BSD Runtime does. You also don’t have to mess with Linuxulator.
I spent these last few days working hard and perfecting the script, and I hope this useful many!
I’m looking at putting FreeBSD on this desktop they are having it on sale at bestbuy.
TYIA
Hi all, I need help with installing FreeBSD. After I recently found my way back to Linux and was on Artix and later on Chimera Linux (BSD userland) for a short time, I wanted to take the step into the BSD world.
The installation is a piece of cake thanks to the installer, but after the installation I can't continue with my configuration because my TTY is spammed. The following message appears every 5 seconds:
"ugen0.3: <FIBOCOM L830-EB-00> at usbus0 (disconnected) umodem0: at uhub0, port 6, addr 22 (disconnected) umodem0: detached umodem0: <FIBOCOM L830-EB-00, class 239/2, rev 2.00/3.33, addr 32> on usbus0 umodem0: data interface 3, has no CM over data, has break"
The "rev 2.00/3.33" (33-34-35...) is consecutive.
According to my desperate research, this is the LTE module in my ThinkPad T480s. I do not need this. Is there a way to disable it or otherwise solve the problem? The error message keeps repeating itself, so I can't do anything with FreeBSD. :-/
Add: Found on bsd-hardware, but that doesn't solve my problem yet: https://bsd-hardware.info/?id=usb:2cb7-0210
Hello.
I have some USB 3.0 disks where I keep my data,including a lot of 200 GB bhyve image files.
I would like to "format" a different file system on those USB disks,except UFS and ZFS. I can't use NTFS and EXT* because I did it already in the past and I've determined that these file systews in FreeBSD provoked some hard crash,MAYBE because they use fuse ?. What else file system remains ?
I'm thinking about exFAT,but I'm not sure. What's your suggestion ? I want a file system well supported by FreeBSD and Linux. Windows is not mandatory,but I appreciate if it supports even Windows.
Thanks.
Soy usuario de hackintosh, la muerte de hackintosh en el futuro, me hace pasar a otro sistema, se que no es el mismo ni tengo intención de hacerlo, pero me gustaría darle una oportunidad a bsd, ¿es posible usarlo? ¿Bsd todos los días como ocurre con Linux?
Dejando de lado la instalación del sistema, ¿son las mismas aplicaciones que en Linux, Wine es tan funcional como en Linux? ¿Cómo es la estabilidad del sistema?
Any bsd exclusive application that you recommend?
Howdy! I've recently got FreeBSD running Plasma on my laptop, but I'm not sure how to get a single volume control.
Currently, sound is amazing, but when I try to change the volume, it goes all tinny and like 4 different volume controls show up.
Is there a way to define just one audio output for the volume?
Thanks!
MyBee-QT application (former bhyve-qt) added into FreeBSD ports tree.
This is a cross-platform QT6-based GUI to work with various hypervisors and container engines (QEMU, bhyve, FreeBSD jails .. ). When used on FreeBSD, you get three modes of working with virtual environments (local, SSH, RestAPI).
More info: https://github.com/myb-project/mybee-qt
In the next update we plan to add VM metrics and graphs, ISO profile support, and tools for creating your own cloud images.
I want to thank the CBSD community for support: this work is sponsored by the CBSD community
I'm sorry I don't know how to tell a Maintainer for pkg-devel he write wrong version for pkg-devel name
Hello, I am new to the world of FreeBSD, I have experience in several Linux distributions in addition to Windows and Mac OS, my question is, do you recommend any FreeBSD distribution? What desktops are available? Is the availability of drivers much scarcer than in Linux?
after make fresh install ii can't start x server
HOW I CAN FIXING IT
I’ve got a laptop with Intel GM 965 graphics, current drm-kmod driver displays a black screen with i915kms set
All results were old and said to use a package that no longer exists
Edit: everything displays black screen, including TTY, which I have it set to boot to, as I haven’t installed a display manager yet
Hi folks,
I'm struggling with getting Xorg running in FreeBSD VM (host is Linux+KVM+Qemu). Tried a lot of things, but couldn't even get vesa driver running. (console seems to run on efifb)
Does anyone have an idea how to do it ?
thx --mtx
I use both Linux and FreeBSD.
Why no graphical partitioning tool like gparted?
See https://www.freebsd.org/security/advisories/
ktrace
: The ktrace utility enables kernel trace logging for the specified processes, commonly used for diagnostic or debugging purposes. The kernel operations that are traced include system calls, namei translations, signal processing, and I/O as well as data associated with these operations. ... In some cases, the ktrace facility will log the contents of kernel structures to userspace. In one such case, ktrace dumps a variable-sized sockaddr to userspace. There, the full sockaddr is copied, even when it is shorter than the full size. This can result in up to 14 uninitialized bytes of kernel memory being copied out to userspace. Impact: It is possible for an unprivileged userspace program to leak 14 bytes of a kernel heap allocation to userspace.etcupdate
: The etcupdate(8) utility is a tool for managing updates to files that are not updated as part of make installworld such as files in /etc. It manages updates by doing a three-way merge of changes made to these files against the local versions. ... When etcupdate encounters conflicts while merging files, it saves a version containing conflict markers in /var/db/etcupdate/conflicts. This version doe not preserve the mode of the input file, and is world-readable. This applies to files that would normally have restricted visibility, such as /etc/master.passwd. Impact: An unprivileged local user may be able to read encrypted root and user passwords from the temporary master.passwd file created in /var/db/etcupdate/conflicts. This is possible only when conflicts within the password file arise during an update, and the unprotected file is deleted when conflicts are resolved.fs
: FreeBSD provides a number of filesystem implementations for different purposes. cd9660 is used to mount ISO 9660 images; tarfs is used to mount POSIX tar archives; ext2fs is used to mount ext2, ext3, and ext4 filesystems. ... In order to export a file system via NFS, the file system must define a file system identifier (FID) for all exported files. Each FreeBSD file system implements operations to translate between FIDs and vnodes, the kernel's in-memory representation of files. These operations are VOP_VPTOFH(9) and VFS_FHTOVP(9). On 64-bit systems, the implementation of VOP_VPTOFH() in the cd9660, tarfs and ext2fs filesystems overflows the destination FID buffer by 4 bytes, a stack buffer overflow. Impact: A NFS server that exports a cd9660, tarfs, or ext2fs file system can be made to panic by mounting and accessing the export with an NFS client. Further exploitation (e.g., bypassing file permission checking or remote kernel code execution) is potentially possible, though this has not been demonstrated. In particular, release kernels are compiled with stack protection enabled, and some instances of the overflow are caught by this mechanism, causing a panic.openssh
: OpenSSH is an implementation of the SSH protocol suite, providing an encrypted and authenticated transport for a variety of services, including remote shell access. OpenSSH version 9.5 introduced a mechanism to mitigate keystroke timing attacks by "sending interactive traffic at fixed intervals when there is only a small amount of data being sent." A logic error in the ssh(1) ObscureKeystrokeTiming feature (on by default) rendered this feature ineffective. Impact: A passive observer could detect which network packets contain real keystrokes, and infer the specific characters being transmitted from packet timing.None of the security advisories have available workarounds. Instead, update your vulnerable system by either a binary or source code patch as specified in the advisories.
This code functions on my Dell Precision 7550, while using wayland/wayfire, code is closer to a fully functional state by a generous patch submitted by grahamperrin Graham Perrin
Screenshot @ https://imgur.com/a/62XcS9Z
A Bluetooth Audio Device Manager for FreeBSD, may work on other BSD's is available @
https://github.com/rfreidel/FreeBSD_Bluetooth_Audio_Device_Manager_v1/tree/rfreidel-patch-1
Please test, it's still a bit buggy, submit patches
I just came across this post in r/zfs raising awareness of an OpenZFS bug that's causing silent pool corruption.
Being concerned, I ran the suggested zdb -y <poolname>
for the pools on my FreeBSD file server and it crashed on my main pool:
[root@filer /]# zdb -y zroot
Verifying deleted livelist entries
Verifying metaslab entries
verifying concrete vdev 0, metaslab 106 of 107 ...
[root@filer /]# zdb -y pool1
Verifying deleted livelist entries
Verifying metaslab entries
verifying concrete vdev 0, metaslab 173 of 174 ...
[root@filer /]# zdb -y pool2
Verifying deleted livelist entries
Verifying metaslab entries
verifying concrete vdev 0, metaslab 6 of 931 ...ASSERT at /usr/src/sys/contrib/openzfs/cmd/zdb/zdb.c:482:verify_livelist_allocs()
((size) >> (9)) - (0) < 1ULL << (24) (0x15b8f60 < 0x1000000)
PID: 1733 COMM: zdb
TID: 100899 NAME:
Abort trap
If this is the same bug manifesting on FreeBSD as well, then it's quite worrying.
Is there any way to switch back to using the OpenSolaris-based ZFS on a supported FreeBSD version? I realise this would probably require recreating any pools that use newer OpenZFS features.
ETA:
[root@filer ~]# uname -r; zfs version
14.2-RELEASE
zfs-2.2.6-FreeBSD_g33174af15
zfs-kmod-2.2.6-FreeBSD_g33174af15
When I begam this project my intention was to design a simple script that would perform the function of connecting a users computer to their Bluetooth Device.
Well, the project kinda headed off the rails so to speak, and ruby was not involved
So this morning I completely started over following the principle of "simple is best" , currently setup_and_run.sh only installs the bare python modules for this script to function, and most importantly 'least for me, bluetooth_audio_manager.py
is entirely redesigned, much shorter
As situations arise, this script can easily be expanded to include more functions, which I believe is the best tact for this project to take.
View a screenshot of the "new and improved" @ https://imgur.com/a/zDYWRBg
The README.md @ https://github.com/rfreidel/FreeBSD_Bluetooth_Audio_Device_Manager_v1/blob/main/README.md
As alway's please post error messages, and if the script functions for you, that would be nice to know as well, please let me know if wayland, xorg or even a potato
Researching good hardware for FreeBSD is pretty much always laptop this, laptop that, but I’m looking for a good tiny desktop that supports it well. Currently thinking of the MacMini3,1, as it doesn’t seem to have a lot of compatibility issues when installed in BIOS compat mode.
Are there any better options? Preferably core 2 duo or really old i5, as they are ridiculously cheap
I am developing this software on a wayland/wayrire desktop to be compatible with xorg, I did not have Xorg currently installed when I first ran "setup_and_run.sh, which installs audio related stuff
This project is available at https://github.com/rfreidel/FreeBSD_Bluetooth_Audio_Manager/blob/rfreidel-patch-3/
sudo setup_and_run.sh should identify and install needed sound things and momentarily afterwards a display like this will showup https://imgur.com/gallery/this-shows-program-freebsd-bluetooth-device-manager-action-prior-to-scanning-bXTyaZe
Then one could rock out to Midnattsol all night long on your bluetooth headphones
I was wondering where could I get this shirt as a present for my uncle, as he has been using the OS for almost 25 years now.
I don´t have any working debit card, so I wanted to know if this same exact model exists elsewhere, as the FreeBSD Mall doesn´t accept PayPal.
This is the t-shirt: https://www.freebsdmall.com/cgi-bin/fm/bsdshirt?id=cSbHrXDm&mv_pc=195)
There are many other cool designs on sites that accept PayPal, such as RedBubble, but he used to own this one and he lost it many years ago, so I wanted to give him a surprise.
Originally zroot was on ada0. Now I mirrored it w/ ada1; zpool status zroot:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
Of course ada0 is already"active". But Should I render the other part of the mirror (I mean ada1) active so it could be booted in case ada0 fails?
I mean shoud I add gpart set -a active -i 1 ada1
Idem for /etc/fstab. My fstab is like this:
Is it correct?
Device Mountpoint FStype Options Dump Pass#
/dev/ada0p2 none swap sw 0 0
/dev/ada1p2 none swap sw 0 0
TYA
Very quickly realized not gonna get an alpha if i work alone before 2040. I also started to fork netBSD , very stable and lightweight to focus it on an CLI AI workshop, almost nobody was interested.., Sad.
I just installed Sway. And edit and copied the config file to ~/.config/sway/config. I installed everything it needs all the utils and the GPU driver. But my keyboard isn't working at all. My mouse just moving but when i click on anything. Nothing happens or even show. I literally pressed every single button even edited the config file again and didn't work at all again. And its my first time installing sway
I am about to build a new pfSense box with future-proofing in-mind. Current box was emergency replaced due to a mobo failure with basic Acer box that was sitting in the corner.
Did some research for power-efficiency and FreeBSD complaint hardware, i.e. ECC RAM support etc.
pfSense box will be handling some extensive multi-LAN and VLAN traffic with a lot of reporting.
Budget is up-to 1K US.
I know this setup would work but it will have about 50-80W consumption which is a bit too much:
Went with AMD as consumer Intel don't support ECC.
I don't like small-factor PC's as far as repairability goes and ability to customize the package. Here I can have spare parts on-hand and ready to be replaced in a matter of minutes and the whole box should last 10+ years.
Wraith Stealth Cooler is not exactly the best cooler setup there is but I'd go with it if no other options available.
Any input or ideas on modern hardware, especially ARM-based would be greatly appreciated.