r/Gentoo • • 1h ago

Discussion Easy ways to harden your system?

1 Upvotes

I am: Gentoo, glibc, systemd, and default bin kernel.

I picked Gentoo for my primary homelab server (running on a Beelink SER7). I wanted to use Gentoo because I thought it would help me with learning CompTIA Network+ and Security+ (working on Network first, haven't bought the Security+ book yet).

After crafting "The Golden Base" (Snapper, LXC, Devbox/Nix, and Debian VM+Docker via VirtManager), I was going to look into some light hardening for my system just to give it a little bit better security while I work my way up in my knowledge.

This little server runs 24/7 and is responsible for running all of my services on behalf of my Synology NAS. The only port I intend to open on my network is UDP for WireGuard.

What are my options for some light hardening other than just letting Gentoo run around in its birthday suit?

Or is it better to just switch to a hardened profile + SELinux and just leave SELinux in permissive mode until I build up my knowledge?


r/Gentoo • • 2h ago

Screenshot Gentoo on 2010 hp mini

Post image
20 Upvotes

r/Gentoo • • 3h ago

Support Does BCM43xx driver require kernel module support?

2 Upvotes

I currently have kernel module support disabled in my kernel so I have no initramfs. I built the BCM43xx driver in my kernel and when I boot I get a error for b43. I'm thinking that I need to use kernel module to load the driver in but I'm not sure cause I don't know how to check that if you can.

dmesg | grep -i b43 https://bpa.st/E2GDS

My network controller is a BCM4318 [AirForce One 54g 802.11g]
I also have sys-firmware/b43-firmware and net-wireless/b43-fwcutter installed.

iwconfig gives me:
lo no wireless extensions
enp5s0 no wireless extensions

ifconfig -a https://bpa.st/CGJQK


r/Gentoo • • 4h ago

Discussion Should i switch to gentoo

6 Upvotes

i use a dell latitude 3470 with and hdd and 8gb ram ddr3 and an intel core i5 6200U and IUHD graphics 520 i used nixos arch and even void but i think gentoo is a bit tome consuming and compiling takes ages isnt there any thing to not have compiling but i know i know it littreally gentoo biggest point but i am also a gamer and idk please help


r/Gentoo • • 5h ago

Meme Me going from -dist-bin to a custom compiled kernel

Post image
71 Upvotes

I installed Gentoo like one and a half months ago. I was using Windows up to a year ago. Switched to Manjaro, then plain Arch and now Gentoo and I will probably stay on Gentoo. I liked the philosophy or "way" of gentoo. I actually did not read any documention prior to install. I made a LiveGUI thumbdrive. Put it in and tried to get my way around the installation process. On a friday evening I started the installation at around 5pm after work. I installed the dist-bin kernel because I wanted to install it fast. The LiveGUI was a life saver because I could just look up the documentation side by side.
I had some issues with the kernel installation actually, but resolved it eventually at 1am in the night.
After the installation, I still had no clue how USE flags or unmasking work, or what they do. It clicked only a few days later. Anyway. I now emerge sys-kernel/gentoo-kernel with USE=efistub savedconfig symlink. Its a piece of cake now.


r/Gentoo • • 7h ago

Discussion Should I install Gentoo on my low-end laptop?

7 Upvotes

Hi all

I’m considering installing Gentoo or some other Linux distribution on my low-end PC, which has 4GB of RAM and an Intel Silver N6000 processor.

What do you think, is it worth it?


r/Gentoo • • 9h ago

Discussion Que hace especial a Gentoo?

2 Upvotes

Hola!, hace unos meses que inicie en este "mundo de linux" (no recuerdo hace cuanto fue XD pero creo que es algo de 5 meses, tal vez más) y Gentoo siempre me llamo la atención, nunca me propuse instalarlo porque siento que no estoy listo para eso jaja. Pero cada vez me salen mas publicaciones de este sub y genuinamente me da curiosidad saber que lo hace especial y porque podria ser una opción para tener como sistema principal?.

Si bien no soy un experto puedo decir con orgullo que instale algunas distros manualmente, como alpine, arch y nixos (me costó casi una semana XD, pero aun asi aprendi bastante y también me diverti por alguna razon). Actualmente estoy usando nixos y no me quejo la verdad, pero hay algo en la instalación de gentoo que me hace querer probarlo, pero la maquina que uso para porbar distros e intentar instalaciones manuales no es muy buena que digamos y presiento que va a tardar mucho en hacer la compilación xd, aun asi probablemente en estas vacaciones intente hacerlo pero me gustaria saber si hay alguien que lleve usando esta distro durante un buen tiempo y me comparta su experiencia tal vez? No se si me quiero cambiar a gentoo porque hay momentos en los que extraño lo simple que es instalar algo en arch a comparación de nixos (si, soy muy flojo).

En fin, saludos!~


r/Gentoo • • 1d ago

Meme Install Gen2 (on virtualbox)

27 Upvotes

#Suffering


r/Gentoo • • 1d ago

Support Daemon not running in open_rc

1 Upvotes

I'm using Gentoo, and when I boot my laptop, WPA_supplicant doesn't start automatically. I've already checked the runlevel, and it's there. However, when I check its status, it shows that the service is stopped. The service starts normally when I run `rc-service wpa_supplicant start`, but I don't know what else to do.


r/Gentoo • • 1d ago

Screenshot Installed Gentoo on my Hetzner VPS

Post image
35 Upvotes

r/Gentoo • • 1d ago

Screenshot lovelibc v2.0.0: a musl-based libc with Linux ABI & multilib support, running Gentoo LLVM + NVIDIA proprietary drivers + Steam/Proton

Post image
94 Upvotes

zero glibc is installed. link: https://github.com/buhflipexplode/lovelibc


r/Gentoo • • 1d ago

Support LLVM 23 fails to compile

Thumbnail
gallery
10 Upvotes

LLVM 23 has been failing to compile for a while. I've tried using different job amounts (used to be 4 as my default since I have 8GB of ram, used environment variables [package.env] to set the job amount to 2 specifically for LLVM) and I still get an OOM error while compiling. I don't really know how to solve this issue at this point but if I could get any support, I'd be very appreciative. I haven't been able to compile LLVM 23 for weeks because of this specific issue. I will also provide the complete build log if asked for.

Heres the output of doas emerge --info '=llvm-core/llvm-23.1.7::gentoo' - https://pastebin.com/0VpM4nM4


r/Gentoo • • 2d ago

Support How am I supposed to play fortnite now :p

0 Upvotes

I am pretty sure I've had this happen before but I do not recall what to do when the package fails the checksum... I already feel my opsec drop just from the fact im installing a bin*ry package.

Anyone else trying to get fortnite to work? And does anyone know how to handle a checksum failure in portage?


r/Gentoo • • 2d ago

Screenshot First gentoo install

Post image
62 Upvotes

r/Gentoo • • 2d ago

Screenshot Fortnite on Gentoo with S6

Thumbnail
gallery
63 Upvotes

i got claude to make me a tiny shim that got it working under s6

it actually runs pretty good on my system ~160fps at medium-high perf dx12 but crashes instantly on performance mode. im using the official cachyos kernel with their systemd-boot

https://git.wearmed.xyz/wearmed/eac-s6-gentoo-claudeotron

EDIT: i just got it working on runit too


r/Gentoo • • 2d ago

Support Tips on gentoo gaming

5 Upvotes

i’ve been on gentoo for a few months so far and just recently began installing all my games. So far mostly Steam and Sober for roblox. Planning on installing Minecraft tomorrow with PrismLauncher as well. Do you guys have any tips? Maybe optimizations etc. My systems specs are:

i5-1335U + integrated graphics
16Gb ram
300Gb nvme


r/Gentoo • • 2d ago

News Fortnite on Gentoo

0 Upvotes

Since 2. December Epic Games has officially enabled Linux support for Fortnite with even more games coming soon (probably).
With the help of Claude I managed to get Fortnite running on my Gentoo system.
You can find the documentation here.
Performance is pretty good as well!
I get solid 120 fps on my RX6600.
For the Gentooers: The ebuilds are from my own public overlay
Feel free to use what you like and have fun!


r/Gentoo • • 3d ago

Screenshot Fortnite running on Gentoo

Post image
300 Upvotes

Fortnite is running on Linux and the performance is pretty good as well considering my dedicated RX6600 (~200 Fps at High Settings).
I had claude write me a systemd compatibility layer for my openrc system, but then the game started without Problems.
I'll probably wont thoroughly review the code, but if anyone is still interested DM me...

EDIT: I used official cachyos eac kernel and key, booted from efi-stub, this is my cmdline:

lsm=landlock,lockdown,yama,integrity,bpf iommu.passthrough=0 intel_iommu=on module.sig_enforce=1 sysctl.kernel.kexec_load_disabled=1lsm=landlock,lockdown,yama,integrity,bpf iommu.passthrough=0 intel_iommu=on module.sig_enforce=1 sysctl.kernel.kexec_load_disabled=1

EDIT2: Created a second post so I can cross post in r/linux-gaming as my first post got deleted there.
Anyway it contains the documentation!


r/Gentoo • • 3d ago

Tip Gentoo on a Celeron N4000 with 32GB SSD

Post image
76 Upvotes

Hello, tried to see if I can install Gentoo on a 32GB drive, in which it worked. I'm open to suggestions for a desktop setup, aiming i3wm, DWM or Sway. Pretty much anything minimal could suffice, but I do wonder if I can maintain this since I am very limited with the storage capacity.


r/Gentoo • • 3d ago

Story Can someone help me install Gentoo?

0 Upvotes

I come from Nixos and Arch, and Gentoo really caught my attention because you have to compile everything from source code. My hardware is an Asus Vivobook 15 with an 11th-generation i5, 12GB of RAM, and a 512GB NVMe SSD I don't know how Gentoo partitions itself, and I have some questions about how to compile it faster or how Gentoo has its own AUR. I accept all answers.


r/Gentoo • • 3d ago

Story GentooAtomicGlibc-7.4rc5

Thumbnail
gallery
27 Upvotes

来週のPostタイトルは、 Gentoo Atomic | Linux 7.4-rc6 | Black Friday Upgrade

ROG Azoth X

Drink responsibly. Only drink if you're of legal drinking age.


r/Gentoo • • 4d ago

Screenshot Finally able to install musl LLVM in crossdev and then used it as bin host for my Raspberry Pi Zero 2W

Post image
39 Upvotes

r/Gentoo • • 4d ago

Discussion GENTOO LINUX BEGINNER: BUILD FOR CYBER SECURITY AND PERSONAL PRIVACY

13 Upvotes

I am working on a my first Linux set up and it's truly one of my first tech projects ever. I deleted Chrome OS off of my Chromebook and am installing Gentoo Linux. The reason for this, besides it just being a throwaway learning project with an old laptop that doesn't serve me much use anymore, is to build my understanding of cybersecurity and personal privacy when it comes to technology and the internet. From my understanding a Chromebook is not the best vessel for this, but for me it is a place to start.

So far, it is going well, but I wanted to ask around to get some insight and inspiration:
What are some things you think I should know about setting up Gentoo Linux with the goal of cybersecurity, privacy, and technological exploration and learning in mind? Are there certain avenues you think I shouldn't leave unresearched or unexplored? Are there certain things you think I should avoid? Are there any resources you think I should look into/consider?

I plan on getting creative with my process and doing my own research, and I am not scared of messing up, but I still get curious about what other people might know. Oftentimes other people's suggestions send me down fun rabbit holes.

Thanks, much love.


r/Gentoo • • 5d ago

Meme Superior distro for superior people:

Post image
216 Upvotes