this post was submitted on 09 Oct 2023
42 points (95.7% liked)
Linux
47952 readers
1873 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can you run
lspci -vnn | grep -i net
and post it's output here, thank you.01:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
I did some digging.
Check if iwlwifi kernel module is loaded with
lsmod | grep iwlwifi
If not
sudo modprobe iwlwifi
Then in
/etc/modprobe.d/iwlwifi.conf
addAnd reboot, check if the problem is still persistent. If it is let me know, as there's a few more things we can try like disabling power management.
@Rustmilian @linux Thank you for your help! I did what you suggested and it fixed about 80% of the problem. I no longer randomly disconnect from the network and it is way faster than before, although download speed is still 8x slower than it was last week when I had fedora running instead of arch. I think I'm going to try more values for the 11n_disable parameter (there is no power management to disable), but even if it doesnt improve my machine is at least usable now. Thanks!
I'm glad to hear that worked.
I suggest trying
sudo iwconfig wlan0 power off
replacingwlan0
as needed, this temporarily disables the wireless card's power saving features.Then check if the speed has improved, if not, skip the following.
If it has improved make the change permanent by adding the following to file
/etc/pm/power.d/disable-wireless-power-management
:Then run
sudo chmod +x /etc/pm/power.d/disable-wireless-power-management
I assume the
linux-firmware
package is already installed, but double check if you're not sure. It providesiwlwifi-8265-36.ucode
in/usr/lib/firmware/
which I believe is your cards specific iwlwifi driver. Intel Wireless Firmware Page is the source that made me think to check.If the above doesn't work let me know as there's a few more things we can try, but we're reaching the end of our options.
@Rustmilian @linux Just tried that but no change. iwconfig was not found but I installed it through the wireless_tools arch package. Also confirmed that the linux-firmware package was always been installed with the iwlwifi-8265-34 and iwlwifi-8265-36 files in the folder you said. When I ran the iwconfig wlan0 power off command, there was no error but the connection quality didnt change, so I didnt do the rest of the suggestions
@Link commented they had the same issue but in the end decided that the solution was replacing the realtek card for an intel because the drivers just dont work. Im starting to agree, but still dont know how this issue didnt exist when I had fedora running
Well here's where I became less helpful. There's 3 possible things I can think of, unfortunately as I haven't had to do them myself I don't know how exactly to go about doing them.
First is to optimize the MTU settings.
Second is to optimize the Regdomain.
Third is to investigate Fedora's WiFi configuration for your card.
Sorry that I can't help you pass here.
@Rustmilian @linux Yeah, it's close to impossible to find documentation on what to do here. I'm trying to find out how is it that Fedora works well with the same hardware, and even considering changing the card itself, but for the moment at least my connection is much more stable after setting the iwlwifi.conf file
Once again, thank you for your help!