Problem with WiFi driver in arch linux

Hi everyone

I’ve been trying to solve a problem with my arch (endeavour) instalation and wanted to know if anyone here can help

Everything is working well, excepting the WiFi connection. It is extremely slow, sometimes disconnecting from the network, and in the task bar, the WiFi icon shows that the signal strength is weak, although the router is in the same room. Switching between r8168 and r8169 as recommended doesnt work. Any ideas?

@linux

12 points
*

Can you run lspci -vnn | grep -i net and post it’s output here, thank you.

permalink
report
reply
3 points

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]

permalink
report
parent
reply
11 points
*

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 add

options iwlwifi swcrypto=1 11n_disable=1

And 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.

permalink
report
parent
reply
8 points

@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!

permalink
report
parent
reply
3 points
*

Terrible idea here: Use ndiswrapper to make it work with a Windows driver!

Ignore me though, that’d be wacky. Just listen to Rustmilian.

permalink
report
reply
1 point

I might do that if nothing else works, but it’d be really weird if there is not a simple native linux solution, I’m just not an expert lol

permalink
report
parent
reply
1 point

Yeah, I was mostly being silly: You shouldn’t have to do that but I’m no expert

permalink
report
parent
reply
2 points

I had the same problem with mint, the wifi worked on other distros but not in mint, I run the next lines to fix it

sudo modprove -r rtl8723be
sudo modprove rtl8723be ant_sel=1

rtl8723be is my wifi card, you can try to use the same but with yours.

permalink
report
reply
2 points

@driving_crooner @linux Just did it, but no change at all. I think that would be the solution if the card weren’t recognized, but the issue here is that it connects but erroneously reports weak wifi signal

permalink
report
parent
reply
1 point

Sorry it didn’t worked. Mine have the problem, it’s recognize that have a wifi connection and the available networks, but with a really weak signal.The problem with my router is that it has two antennas, for some reason sometimes the second one, who doesn’t work on mint, get selected but I run that lines and work again. The first line is for reseting the router, the second is for turning out again with antenna 1 selected.

permalink
report
parent
reply
2 points

Ah yes. I had the same issue. The realtek drivers for Wi-Fi suck on Linux. I never managed to solve it and in the end I bought an Intel AX200 and never had any more issues.

If you have to option to switch to an Intel Wi-Fi card I would highly recommend it.

permalink
report
reply
1 point

@Link @linux Yeah, I’m thinking that that could be the way. I’ve already had a lot of progress maintaining the connection by configuring iwlwifi but it is still way slower than it should

permalink
report
parent
reply
1 point
*

You can try the LTS kernel if that is available on your distro but honestly Intel Wi-Fi cards are the way to go on Linux. I wouldn’t buy anything else!

Also I’m not sure you can @ someone that way.

permalink
report
parent
reply
1 point

@Link @linux Yeah the kernel changes nothing, I might have to change to intel because I dont know what else to do at software level
About the @ , I’m using my mastodon account to write all these posts and they are added automatically. Besides thats the best way for the posts I write in mastodon to appear as comments in lemmy clients. If they look weird to you it might be activitypub compatibility bugs but nothing too important :)

permalink
report
parent
reply
2 points

Make sure that power saving is disabled.

permalink
report
reply
2 points

@knobbysideup @linux Yep, it is disabled

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 7.8K

    Monthly active users

  • 6.4K

    Posts

  • 175K

    Comments