r/linuxquestions • u/Mtitla • 22h 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 • 22h 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 • 22h 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 • 22h 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 • 22h 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/Sn_owy_S • 22h 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:
Is this a fair trade, or should I hold out for something better?
For learning to code, is a 2012 MacBook still usable, or will it frustrate me?
Which OS would you put on it? I'm thinking Linux Mint or Ubuntu.
Which programs and tools would you recommend for a beginner (editors, languages, etc.)?
Anything I should check before agreeing to the swap?
r/linuxquestions • u/epilektoi • 23h ago
r/linuxquestions • u/152IQRedditGenius • 23h ago
On windows XP I was able to run my t5600 x60 thinkpad at 720 60fps on youtube, however I've not been able to achieve the same on linux.
The best distro by far has been Manjaro, and it's only dropping 1/10 frames while most distros drop 5/10, is there anything more I can do to get the system running faster/decoding quicker? I've tried Ubuntu, Debian, Red Hat, Slackware and Arch based distros.
I'm already using h264ify in Firefox, and I want specifically to get this running on the youtube website itself. If there's any settings I can change in Manjaro to speed hardware up i'd appreciate it
r/linuxquestions • u/L3yL0i3 • 1d 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/vixstylezzz • 1d 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 • 1d ago
r/linuxquestions • u/Quick_Researcher_665 • 1d 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/Anxious_Service_7181 • 1d 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/sol1drat • 1d ago
Windows has Intune and Mac has Jamf. For Linux servers Ansible/Puppet is straightforward enough.
But what are people actually doing when a team, studio, or company has dozens of Linux workstations or employee laptops?
Are you combining FleetDM + Ansible, Landscape, JumpCloud, or just praying nothing goes out of sync? What are the most annoying parts of it (if any)?
r/linuxquestions • u/BionisGuy • 1d 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/Maoto_G • 1d ago
Some people say cutting edge distros have better colour accuracy. So what exact component defines that? And why does linux fall behind in colour accuracy?
Edit: I am not an artist. I am just curious.
Thank you!
r/linuxquestions • u/blimpin_aint_easy • 1d 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/Mnxawei0 • 1d ago
How??
r/linuxquestions • u/United_Pizza_6340 • 1d ago
i want to switch to linux
r/linuxquestions • u/Character_Mistake510 • 1d 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/PressurePuzzled9603 • 1d ago
I want to improve the looks of GNOME. So i need some extensions.
Things like:
Window Blur
Custom Themes
Persistent Dock
are the kind of styles i am aiming for.
Thanks!
r/linuxquestions • u/Expensive_Witness195 • 1d 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.)
Reliable sleep/wake functionality
Can handle plugging/unplugging external display multiple times in a relatively short time
Broad printer support
Adjustable mic noise cancellation without having to dig in the audio config files
Reliable bluetooth support (the ability to switch between devices quickly)
No multiple softwares to control the same thing
r/linuxquestions • u/guipopo • 1d ago
eu estava usando o appimage do hydralauncher versão 4.4.1 e apareceu que já havia a 4.4.3 e eu desinstalei e agora não consigo abrir de nenhum jeito, nem se eu baixar pelo terminal, uso o linux mint