r/linuxquestions • u/Mtitla • 14h ago
Network problem
when i install gentoo for the first time, my wifi doesn't appear at nmtui's list although other wifis appear
r/linuxquestions • u/Mtitla • 14h ago
when i install gentoo for the first time, my wifi doesn't appear at nmtui's list although other wifis appear
r/linuxquestions • u/sofiawylieishot • 14h ago
I just want to be clear. I have no clue about anything in terms of iptables and gemini/claude wrote this. It's for DD-WRT. I'm trying to make it so br1 and br2 can't access the web UI for DD-WRT. I'm also trying to isolate br1 and br2 from each other and all devices on br2 from seeing each other (wifi). while making it so that you can only access the admin page for the router while plugged into lan3 via ethernet. I ran some tests and it does block pings from br1 and br2 to the router ip (so can't access the router admin page on those bridges). It also blocked br1 from seeing br2 devices. It also seems to block pinging devices that are both connected to br2. I just want someone who knows what they are doing to look at it.
ADMIN_BR="br0"
BR1="br1"
BR2="br2"
# 1. Restrict router HTTPS (443) management to br0; drop 443 from all other interfaces
iptables -C INPUT -i "$ADMIN_BR" -p tcp --dport 443 -j ACCEPT 2>/dev/null || \
iptables -I INPUT 1 -i "$ADMIN_BR" -p tcp --dport 443 -j ACCEPT
iptables -C INPUT ! -i "$ADMIN_BR" -p tcp --dport 443 -j DROP 2>/dev/null || \
iptables -I INPUT 2 ! -i "$ADMIN_BR" -p tcp --dport 443 -j DROP
# 2. Isolate router access on br1 and br2 (allow established, DHCP 67:68, and DNS 53)
for BR in "$BR1" "$BR2"; do
CHAIN="${BR}_ROUTER_IN"
iptables -N "$CHAIN" 2>/dev/null
iptables -F "$CHAIN"
iptables -A "$CHAIN" -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A "$CHAIN" -p udp --dport 67:68 -j ACCEPT
iptables -A "$CHAIN" -p udp --dport 53 -j ACCEPT
iptables -A "$CHAIN" -p tcp --dport 53 -j ACCEPT
iptables -A "$CHAIN" -j DROP
iptables -C INPUT -i "$BR" -j "$CHAIN" 2>/dev/null || \
iptables -I INPUT 3 -i "$BR" -j "$CHAIN"
done
# 3. Isolate routed traffic between br0, br1, and br2 ahead of DD-WRT FORWARD rules
FWD_CHAIN="BR_ISOLATION"
iptables -N "$FWD_CHAIN" 2>/dev/null
iptables -F "$FWD_CHAIN"
for PAIR in "${BR1} ${ADMIN_BR}" "${ADMIN_BR} ${BR1}" "${BR2} ${ADMIN_BR}" "${ADMIN_BR} ${BR2}" "${BR1} ${BR2}" "${BR2} ${BR1}"; do
SRC=${PAIR% *}
DST=${PAIR#* }
iptables -A "$FWD_CHAIN" -i "$SRC" -o "$DST" -j DROP
done
iptables -C FORWARD -j "$FWD_CHAIN" 2>/dev/null || \
iptables -I FORWARD 1 -j "$FWD_CHAIN"r/linuxquestions • u/ekothewolf • 14h ago
TLDR at bottom
So I want to duel boot windows and linux because I think gaming on linux with certain titles might be beneficial for me. I built a new computer because my last one was struggling I took my time and bought the parts slowly over said time it took a while and a decent amount of money but I did it. Because of prices of ddr5 memory I could only afford 16gb of ram and one of my favorite games project zomboid and playing with mods I noticed that windows takes up half my ram not leaving really anything for my game to use.
I just noticed the ram issue it's insane windows takes up so much of it i was regretting the PC build for a bit thinking my dreams where crushed but after booting the game I noticed task manager said the os only had 1gb free to use. So I did some thinking and I own a steam deck and my games run great on it because linux isn't as bloated and tbh I think it's more optimized I used it before as my main os years ago but I do a lot of video editing and whatnot and the program I use doesn't run on Linux also games like Skyrim I cant easily mod so I want to keep Windows.
My main questions are can I create a partition in my SSD that Windows is on without wiping it and use it for Linux Im hoping I can split it 500/500gb also probably a dumb question but the steam OS has a button on the desktop called "return to gaming" could I put something like that on windows? Last question my CPU is a ryzen CPU but the graphics card is a RTX 3060 and I've heard people say Nvidia cards are not the best on Linux so would that be true? I'm kinda hopeful on this hoping it solves my issue until I can afford more ram since Windows seems to be hungry for it.
TLDR: Windows is ram hungry I only got 16gb I plan on getting more but in the meantime would Linux be better optimized for gaming?
r/linuxquestions • u/Luke7Walker • 14h ago
i want to dual boot to linux and windows and ask about shared drive
but there is a catch i have total 475 of storage
local disk c ; 195 gb (windows)
local disk d ; 200 gb (shared drive that used both in linux and win)
local disk e ; 80 gb (linux)
is that happed any ans and i also want to play games on linux but that exe file on d drive
r/linuxquestions • u/L3yL0i3 • 16h ago
So, I heard that Linux is way better than Windows... Okay, I've tried multiple distros, I know how to do dual boot, but... I am so tired that Linux works so strange. I am rather dumb, or I don't know. My PC is R5 5500X3D + RX 570, on Windows everything is working fine, but on Linux... 75+ Hz doesn't work, some noise in headphones, troubles with packages, installing some programs like VPN or something, because for example when I use CachyOS I of course cannot just use the deb package, when you use a third repository package you cannot delete it via GUI... I am a man who really doesn't need a customization for me it's soooo unnecessary, for me what's necessary is optimization, and the system just has to be brilliant, working well. So please, would you please tell me why I encounter lots of troubles while using Linux, how to feel it's magic, performance, why distro to choose. I don't want a LEGO constructor. I want to W O R K ( want to be cyber security, red side ), I want everything working fine and even brilliant. And no, I don't want to stay on Windows, I understand issues with this greedy "indie" company.
r/linuxquestions • u/Character_Mistake510 • 21h ago
I'm having a weird TPM 2.0 issue on my ASUS TUF B450-PLUS GAMING motherboard with a Ryzen 5 2600.
I'm running Debian 13 with kernel 6.12.118. AMD fTPM is enabled in the BIOS (version 3802), and the system detects the TPM device correctly.
However, sudo tpm2_getcap pcrs fails with:
Unsupported hash algorithm 0x00000000
And tpm2_pcrread fails with error 0x1C3 (unsupported hash algorithm).
I also sent raw TPM2 commands directly through /dev/tpm0 and /dev/tpmrm0. TPM2_GetCapability(TPM_CAP_PCRS) returns two PCR banks with hash algorithm 0x0000 and an empty PCR selection. A raw TPM2_PCR_Read request for SHA-256 PCR 0 or PCR 7 returns success, but no PCR values.
The TPM reports that it supports both SHA-1 and SHA-256, so this seems inconsistent. I also tested CachyOS Live, and tpm2_getcap pcrs fails there too.
Could this be an AMD fTPM firmware/BIOS issue, or is the Linux tpm_crb driver a more likely cause? Has anyone encountered something similar on an AM4 board?
I've been sitting here with AI for 2 days already 😭
r/linuxquestions • u/vixstylezzz • 17h ago
Hey everyone, hoping someone with a similar NVIDIA + mixed-refresh-rate setup on KDE Wayland can help me out because I'm stuck.
The Issue:
When I use only my main 240Hz monitor, the desktop, animations, and apps are completely smooth.
As soon as I enable my second 144Hz monitor, desktop animations, window dragging, moving the cursor and scrolling feel noticeably choppy/stuttery (especially when apps are fullscreened or tiled to the sides).Both monitors are plugged directly into my RTX 4080 Super.
System Specs (from fastfetch):
OS: CachyOS x86_64
Kernel: 7.3.7-2-cachyos
DE / WM: KDE Plasma 6.8.3 / KWin (Wayland)
GPU:NVIDIA GeForce RTX 4080 Super (Discrete) + AMD Radeon 610M (Integrated, still enabled in BIOS)
CPU:AMD Ryzen 7 7800X3D
RAM:64GB DDR5
Main Monitor:Samsung Odyssey OLED G6 (`SAM7778`) — 2560x1440 @ 240Hz
Second Monitor:ASUS (`VG2791R`) — 1920x1080 @ 144Hz
r/linuxquestions • u/dtsoton2011 • 17h ago
r/linuxquestions • u/Quick_Researcher_665 • 17h ago
While i have put arch Linux on both my laptops (a cromebook and a dumb hp one), I have kept windows 11 on my main pc. It was mainly due to me not being very skilled or confident in my ability to not screw up my new pc. But after having it for a year now they is a lot of data on it that I'm not sure how to store it all. My idea is to buy a SSD or a SATA drive to copy it onto, that way I have my data, and a copy of windows if I ever need it. Is this a good idea?
r/linuxquestions • u/PressurePuzzled9603 • 22h ago
I want to improve the looks of GNOME. So i need some extensions.
Things like:
are the kind of styles i am aiming for.
Thanks!
r/linuxquestions • u/Anxious_Service_7181 • 19h ago
deleted windows thought now i dont need this shitty os and now i m only kali and wanna install mint but dont know how to do without usb (did everythiing wiht out the usb )
r/linuxquestions • u/BionisGuy • 20h ago
Through my ISP i got Integrity VPN and had to use Wireguard to set it up. It was a bit annoying to set it up but it works.
However, I'm going to switch ISP so I'll lose access to my Integrity VPN and I'm now looking for a better VPN alternative, preferably with a GUI.
I'm using Nobara Linux on my main computer and Fedora on my Laptop.
What would you recommend? Which one is the best?
With Integrity i had a very few select of .conf files meaning i only had Nodes in select few countries. I want something that have more options in general and that is safe and easy to use.
Been looking at either NordVPN, Mullvad or OVPN. So if you use a VPN, which one do you recommend?
r/linuxquestions • u/epilektoi • 15h ago
r/linuxquestions • u/Dymonika • 1d ago
For as vast as Linux is, it feels like the number of scrolling screenshot programs (that take a screenshot, auto-scroll down, take another screenshot, etc. all the way until it hits a wall and auto-stitches them together into one image) can be counted on one hand. I've never gotten a single one to work. Does anyone have any leads? Thanks in advance.
r/linuxquestions • u/Different_Window3228 • 1d ago
I've been using Helium on all my linux operating systems for nearly a year now, and i've only now decided i want to get into ricing a WM, i picked MangoWM, and my helium looks so un-riced compared to the whole rest of the system because really all it has is a wallpaper and theme. I want more than that, to be honest im not sure what more id want, but i just am looking for a more pleasent looking browser to use on linux
r/linuxquestions • u/Sn_owy_S • 15h ago
I'm in a small town and I want to spend the next year learning to code and building my computer skills, with a plan to study computer science afterwards. I can't afford a laptop right now, but someone has offered a straight swap: my Samsung Galaxy Note 10 Plus for their 2012 MacBook Pro
The MacBook:
13-inch, mid-2012
2.9 GHz dual-core Intel Core i7
8 GB DDR3 RAM
500 GB storage (I'm still finding out whether it's an SSD or a hard drive)
Intel HD Graphics 4000
Fully working, and the battery holds a charge
Running macOS Sonoma, which I assume is an unofficial install
My phone: Note 10 Plus in good condition, with a very small crack in one corner that doesn't affect the screen or touch. I have another phone, so I'm not losing my only one.
I'd only spend money on upgrades: more RAM (up to 16 GB), an SSD if it doesn't have one, and possibly installing Linux.
My questions:
r/linuxquestions • u/Expensive_Witness195 • 22h ago
Hi all! Looking for a reliable distro that would make a great daily driver for a teacher. It'd be installed on a Probook 445 G6, with a Ryzen 7 2700u and 16 GB of ram, currently running Win 11.
What I have tried so far: Mint Cinnamon/Mate, Suse Tumbleweed, Kubuntu.
What is important for me? (Maybe it sounds nitpicking, but when I tried to switch in the past, I ran into problems with the things below.)
r/linuxquestions • u/KevinvHeck • 1d ago
Hi all,
I have an old Samsung Galaxy Tab 2 GT-P5110 laying around and was thinking about giving it a boost of life by installing Ubuntu touch or Fedora (GNOME) on it?
I have absolutely no experience with this but I love a challenge. I think it might be a fun tinkering project!
My goal is mostly to turn it into a digital notepad, like a budget version of a Remarkable + a simple emulation system for some GBA games and basic internet browsing.
Edit: I tried to do some research before posting but I did not get many results. All the stuff I found on google was from a quite some years ago. Youtube gave some results but these were either in a language I could not understand or did not show if the device functioned properly after install. Some people seem to have tried something on a P3100 version but I did not find anything recent.
Does any of you know if it is possible? And if it is, is it worth the effort?
I look forward to your thoughts!😁
With kind regards, Kevin
r/linuxquestions • u/blimpin_aint_easy • 20h ago
For CAD/CAM work I don't see a realistic way to avoid outright running Windows, and maintaining two machines that are capable of doing what I need them to do would be cost prohibitive. Are debloating scripts necessary? What is the best way to keep the Windows install up to date if it will go unused for extended periods of time? How do I WinGet? Chocolatey? Ansible? Can I have a shared partition for some files without running the risk of it getting nuked by Windows out of nowhere? What file systems work best for both Fedora+Windows?
r/linuxquestions • u/Interesting_Shoe3959 • 1d ago
r/linuxquestions • u/Excellent-Bag5389 • 1d ago
GRUB error
Yo, hey everyone.
I recently installed Linux Mint XFCE on my computer. Being a bit too adventurous, I bought a 64GB flash drive today and decided to install a full OS on it—not just an ISO image, but a complete system, essentially creating a portable PC. I set everything up correctly and partitioned the drives properly. While using the system, I ran a command—suggested by an AI—to check which EFI file the system was linking to; it turned out the flash drive was using the EFI partition on my SSD to function. Then, following another command from the AI, I blocked (or added to an "ignore list") the EFI partition on the SSD itself. After that, I finished setting up the system on the flash drive—everything seemed fine. But now, when I try to boot into my main Linux Mint installation (on the SSD), I get a GRUB error. As I understand it, this is necessary for the distribution to boot, and now I have no idea how to fix it.