You are not logged in.

#1 2022-01-14 08:53:04

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Wifi speed drops down to bytes/s.

Wifi speed start with 300 kb/s when PC is just started but later on drops down to 0 bytes/s.

Network controller: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter
Subsystem: Hewlett-Packard Company Device 18ed
Kernel driver in use: rt2800pci
Kernel modules: rt2808pci, wl

The kernel module wl is installed by me in order to solve the issue but no success with that.
If you need any output, or additional information, please ask and I'll post it right away. Thanks for everything in advance!

Offline

#2 2022-01-14 09:06:11

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

you wrote:

The kernel module wl is installed by me in order to solve the issue but no success with that.

lspci wrote:

Kernel driver in use: rt2800pci

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io # assuming the previous boot was affected by the problem

Offline

#3 2022-01-14 09:56:20

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket                           | sockets.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
remote-fs.target                         | multi-user.target.wants

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io # assuming the previous boot was affected by the problem
Well problem starts in every boot
http://ix.io/3M8J

Offline

#4 2022-01-14 12:42:48

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

Jan 13 04:42:21 mjay kernel: Linux version 5.15.13-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Wed, 05 Jan 2022 16:20:59 +0000
…
Jan 13 04:42:36 mjay NetworkManager[278]: <info>  [1642029156.2053] policy: set 'Tenda_344D0' (wlp6s0) as default for IPv4 routing and DNS
Jan 13 04:42:36 mjay dbus-daemon[277]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.2' (uid=0 pid=278 comm="/usr/bin/NetworkManager --no-daemon ")
Jan 13 04:42:36 mjay NetworkManager[278]: <info>  [1642029156.2715] device (wlp6s0): Activation: successful, device activated.
Jan 13 04:42:36 mjay NetworkManager[278]: <info>  [1642029156.9579] manager: NetworkManager state is now CONNECTED_GLOBAL
…
Jan 13 04:44:46 mjay systemd[310]: Reached target Shutdown.

The boot starts 04:42:21, 15 seconds later you get a network connection and ~2 minutes later you're shutting down.
Does this actually cover

Wifi speed start with 300 kb/s when PC is just started but later on drops down to 0 bytes/s.

???
How do you measure the speed?

Jan 13 04:42:35 mjay wpa_supplicant[295]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-77 noise=9999 txrate=13500

The only recorded signal is quite poor - can you prevent the problem by getting closer to the AP for a stronger signal?

Offline

#5 2022-01-16 14:21:41

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

Okay sorry for late reply.
Here is the log file of journalctl
http://ix.io/3Mqa
And here is the second one
http://ix.io/3MpN

When I try to install any package or ping any website or even browse anything it's not at all possible because of low internet speed.
The speed which I'm telling you is on the basis of pacman downloading packages.
Internet speed starts with around 1000k/s but drop down to 15 b/s.
And if I disconnect my network through networkmanager and reconnect it again.
Then again internet speed will start with 1000k/s and after few seconds drops to 15 b/s.

Offline

#6 2022-01-16 15:47:21

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

Can you get closer to the AP?
The signal stumbles between "poor" and "lousy" and at times breaks away.
There're no errors from rt2800pci, but you could try "rt2800pci.nohwcrypt=true", https://wiki.archlinux.org/title/Kernel_parameters

Last edited by seth (2022-01-16 15:47:34)

Offline

#7 2022-01-16 16:11:47

tbg
Member
Registered: 2017-06-22
Posts: 65

Re: Wifi speed drops down to bytes/s.

If you installed the wl driver (as you stated), you should uninstall it. The wl driver is for a totally unrelated broadcom wifi adapter, (yours is a railink adapter).

Offline

#8 2022-01-18 08:13:26

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

Adding rt2800pci.nohwcrypt=true removes my wlp6s0. I mean when I run command ip link. I can't see my wifi name there. And even with nmtui I can't connect.
And believe me my computer is just aside of my wifi router. So poor signal make no sense.
EDIT: Ah I just want to point that when my system is started it gives me pretty good speed but eventually it drop downs to bytes and then even pinging any website won't return the signal. sad

Last edited by Aryannpandeyy (2022-01-18 08:16:16)

Offline

#9 2022-01-18 08:14:42

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

tbg wrote:

If you installed the wl driver (as you stated), you should uninstall it. The wl driver is for a totally unrelated broadcom wifi adapter, (yours is a railink adapter).

Ah, I don't know how to remove it.
Tried using sudo modprobe -r wl
But no success.

Offline

#10 2022-01-18 08:25:45

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

pacman -Rs the package… but it should just consume some diskspace.

Adding rt2800pci.nohwcrypt=true removes my wlp6s0

?? Please post the system journal for that boot.

my computer is just aside of my wifi router. So poor signal make no sense

Jan 15 23:10:01 mjay wpa_supplicant[288]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-79 noise=9999 txrate=15000
Jan 15 23:10:05 mjay wpa_supplicant[288]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-85 noise=9999 txrate=30000
Jan 15 23:10:08 mjay wpa_supplicant[288]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-67 noise=9999 txrate=21700
Jan 15 23:10:20 mjay wpa_supplicant[288]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-77 noise=9999 txrate=28900
Jan 15 23:10:35 mjay wpa_supplicant[288]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-69 noise=9999 txrate=57800
---
Jan 14 23:57:10 mjay wpa_supplicant[290]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-77 noise=9999 txrate=6500
Jan 14 23:57:18 mjay wpa_supplicant[290]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-83 noise=9999 txrate=21700
Jan 14 23:58:14 mjay wpa_supplicant[290]: wlp6s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-89 noise=9999 txrate=13000

EM shielded or interference, but for whatever reason, the signal is poor.
−100 dBm is the *theoretic* minimum.
For a nearby AP you're looking for the low -30ies, and it's a logarithmic scale.
We're talking about the difference between  1000nW and 0.001nW

Does the adapter require an external antenna?

Offline

#11 2022-01-18 08:55:26

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

journalctl output after adding kernel parameter
http://ix.io/3MEf

Last edited by Aryannpandeyy (2022-01-18 08:56:05)

Offline

#12 2022-01-18 09:05:26

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

Jan 18 19:03:21 mjay kernel: rt2800pci: `true' invalid for parameter `nohwcrypt'

Ah, shit.

parm:           nohwcrypt:Disable hardware encryption. (bool)

is a FILTHY LIE wink

Try "rt2800pci.nohwcrypt=1", should™ work (tested loading w/ that parameter)

Offline

#13 2022-01-18 14:08:53

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

I had tried but it doesn't work.
Maybe changing the wifi driver will solve the issue?

Offline

#14 2022-01-18 14:26:51

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

Tried what and how does it "not work" - I'm not sure there're other drivers for the chip. Nor that they could improve the signal.

If you pick an old grml from https://mirror.23m.com/grml/ - do you get a better signal?

Offline

#15 2022-01-18 16:13:05

Aryannpandeyy
Member
Registered: 2022-01-07
Posts: 15

Re: Wifi speed drops down to bytes/s.

So far my research conclude to this links, please have look.

https://forums.mageia.org/en/viewtopic.php?f=7&t=1526

https://askubuntu.com/questions/1011752 … fi-drivers

https://www.touslesdrivers.com/index.ph … code=42640
If you scroll and look through you willl find the downloadable link which I have attached below.
https://fichiers.touslesdrivers.com/426 … v2.bz2.bz2
Above link directly download the driver.

Offline

#16 2022-01-18 16:19:33

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: Wifi speed drops down to bytes/s.

Did you look at any of the timestamps? That's the source for a kernel driver … from 2011 [checks calendar] which is about [checks again to be sure] more than a decade ago.

seth wrote:

Tried what and how does it "not work" - I'm not sure there're other drivers for the chip. Nor that they could improve the signal.

If you pick an old grml from https://mirror.23m.com/grml/ - do you get a better signal?

Offline

Board footer

Powered by FluxBB