You are not logged in.

#1 2025-02-25 10:12:33

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

[Solved]Slow internet with a mobile hotspot and fast on the other.

Hi, I was using arch linux as usual, when I noticed that my internet speed was slow, so I did a speedtest from google. The device I was using for hotspot was Samsung Galaxy M53 It scored about 4MiB/s download. I had also noticed that the internet speed for pacman updates was also limited to 500 KB/s. So I posted about this in this thread- https://bbs.archlinux.org/viewtopic.php?id=303686

But after that day I was also using my other device (Mi 11X) from which I noticed that it was much faster than the other smartphone. So I speedtested it too, and it scored a wopping 20MiB/s! Which was astonishing. Both of my devices are 5G smartphones, with a difference, the M53 supported wifi 5 and the other supported 6 (I tried without wifi 6 and the results were the same for Mi).

As my internet service provider was different for both of them, I thought about to check if my ISP was slow, so I speedtested it from google, and it scored 100MiB/s, so the issue is not with the ISP, it's probably with arch or the connection between them.

Thanks,
LL

Last edited by LinuxLover471 (2025-03-02 06:44:18)

Offline

#2 2025-02-25 18:49:44

jonno2002
Member
Registered: 2016-11-21
Posts: 769

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

what happens if you hotspot the suspect device to another device running a different OS ? see if the results are the same, i know some ISPs have a way of detecting hotspotting and limiting the bandwidth, nasty if you ask me

Offline

#3 2025-02-26 07:08:24

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

jonno2002 wrote:

what happens if you hotspot the suspect device to another device running a different OS ? see if the results are the same,...

I tried this on my Samsung J5 (2015) with blissroms custom rom, with the default browser. And it gave a solid 10MiB/s download and 1.6MiB/s upload. (With my system using wi-fi and streaming music at the same time.) And the wi-fi version of this model is Wi-Fi 802.11 b/g/n (whatever that means). But sure it is 10 Years old! Happy birthday to my J5. Anyways, the results are better on this ancient phone.

Thanks,
LL

Last edited by LinuxLover471 (2025-02-26 07:09:05)

Offline

#4 2025-02-26 07:35:39

jonno2002
Member
Registered: 2016-11-21
Posts: 769

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

i think you missunderstood what i meant, your suspect device is the "Samsung Galaxy M53" thats the one giving the slow hotspot speeds, so what i meant was connecting another device to that hotspot and see if that also results in slow speeds, that will let you know if the hotspot is at fault instead of the client arch machine.

Offline

#5 2025-02-26 08:11:59

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

jonno2002 wrote:

i think you missunderstood what i meant, your suspect device is the "Samsung Galaxy M53" thats the one giving the slow hotspot speeds, so what i meant was connecting another device to that hotspot and see if that also results in slow speeds, that will let you know if the hotspot is at fault instead of the client arch machine.

Yes, I meant that, I have connected my samsung J5 to my M53 and did a speedtest on my samsung J5. My J5 doesn't have it's own SIM, so don't worry. It's using the hotspot provided by my samsung M53.

Thanks,
LL

Offline

#6 2025-02-26 09:49:19

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

https://wiki.archlinux.org/title/Tethering and then please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

to illustrate what kidn of network setup we're dealing with tbw.

Offline

#7 2025-02-26 12:31:58

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

The command outputted a link-
http://0x0.st/8A0B.txt
And it seems to be some logs.

thanks,
LL

Offline

#8 2025-02-26 13:19:52

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

Yes.
You're using some rt2800usb wifi dongle?

The signal quality is, in professional technical terms, "meh" - is the phone in a different room?
Have you tried a different USB slot?

lsusb -tv

And try to disable https://wiki.archlinux.org/title/Power_ … utosuspend

usbcore.autosuspend=-1

Offline

#9 2025-02-27 07:17:53

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

You're using some rt2800usb wifi dongle?

Yes, more can be found about the dongle I am using by visiting the link in the first post of this thread.

seth wrote:

The signal quality is, in professional technical terms, "meh" - is the phone in a different room?

No, the phone is in the same room and very close to the cpu, almost always in a 1 meter distance.

Output of lsusb -tv-
[ak@G31M-ES2L ~]$ lsusb -tv

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/8p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 005: Dev 002, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M
        ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
    |__ Port 006: Dev 003, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 1a40:0101 Terminus Technology Inc. Hub
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 046d:c077 Logitech, Inc. Mouse
    |__ Port 002: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 046d:c33c Logitech, Inc. 
    |__ Port 002: Dev 003, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        ID 046d:c33c Logitech, Inc. 
[ak@G31M-ES2L ~]$ 

As shown in the output of the above command, I am using the max speed usb port, though I will try a different port soon.

seth wrote:

And try to disable https://wiki.archlinux.org/title/Power_ … utosuspend

usbcore.autosuspend=-1

Doing this improved network stability, but no improvements in network speed.

Edit- Changing the port had negative effect, as the port I plug the adapter in is on the back of the case, it gives better speeds than the one on the front. The speedtest showed a speed of 3.5MiB/s which was worse than the default port.
Thanks,
LL

Last edited by LinuxLover471 (2025-02-27 07:30:26)

Offline

#10 2025-02-27 07:55:25

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

The main concern about the usb port would be its physical location (though using a USB1.0 port will *severely* limit the throughput - the 12Mbps are a theoretical limit and half duplex)
In particular wrt the phone's location - ideally there should be no metal box (like a PC case) inbetween (as it will provide an excellent EM shield…)

Offline

#11 2025-02-27 15:40:53

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

The main concern about the usb port would be its physical location (though using a USB1.0 port will *severely* limit the throughput - the 12Mbps are a theoretical limit and half duplex)
In particular wrt the phone's location - ideally there should be no metal box (like a PC case) inbetween (as it will provide an excellent EM shield…)

Though there is the case between the phone and the dongle, then it should not be the case with Mi 11X, as even if I put it much far away, say, 2 metres or more. It still provides stable 2 MB/s. Whereas this mobile phone is not even giving stable 500KB/s. I think regenerating the networkmanager file (that stores the data about my mobile phone) or something like that will work?

Thanks,
LL

Offline

#12 2025-02-27 16:10:11

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

I think regenerating the networkmanager file (that stores the data about my mobile phone) or something like that will work?

Hardly.
Do you have a journal that covers connection to the Mi11X?

Offline

#13 2025-02-27 17:04:50

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

Do you have a journal that covers connection to the Mi11X?

How can I extract the logs? I find that using normal journalctl gives too much output to copy or read. I know about using > logs.txt but I would like it if they were shorter.

Thanks,
LL

Last edited by LinuxLover471 (2025-02-28 07:07:16)

Offline

#14 2025-02-27 17:16:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,170

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

Normally only the specific boot where you have the issue is interesting, you can use "sudo journalctl -b" for the current boot or if you remember this happening on previous boot X you can use "sudo journaclt -b-1 # for previous boot, -2, -3 and so forth" https://wiki.archlinux.org/title/System … ing_output

And if you combine that with 

 | curl -F 'file=@-' 0x0.st

as you did in the previous example, will directly paste it to an useful pastebin site.

Last edited by V1del (2025-02-27 17:18:38)

Online

#15 2025-02-28 15:26:07

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

V1del wrote:

Normally only the specific boot where you have the issue is interesting, you can use "sudo journalctl -b" for the current boot or if you remember this happening on previous boot X you can use "sudo journaclt -b-1 # for previous boot, -2, -3 and so forth" https://wiki.archlinux.org/title/System … ing_output

And if you combine that with 

 | curl -F 'file=@-' 0x0.st

as you did in the previous example, will directly paste it to an useful pastebin site.

Thanks for your help, the command returned this-
http://0x0.st/8mpz.txt

And Mi11X is currently connected to the system.
Thanks,
LL

Offline

#16 2025-02-28 16:14:29

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

The journal is much shorter, but in the (very limited) available data the signal is better (though it has intermittently achieved that quality on the other phone)
Both connections are on 2412 MHz

Still, for being in the same room, probably on sight, the signal is lousy.
It's an external dongle that doesn't require/ship some stub antenna?
Are there many other radio emitters nearby?

Offline

#17 2025-02-28 17:01:15

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

The journal is much shorter, but in the (very limited) available data the signal is better (though it has intermittently achieved that quality on the other phone)

Yeah, I captured it when the system booted.

seth wrote:

It's an external dongle that doesn't require/ship some stub antenna?

Unfortunately, it doesn't have any antenna it's a plain usb adapter for wi-fi.

seth wrote:

Are there many other radio emitters nearby?

No, in my house, I don't have any radio emitters or something like that, just the telivision is on top of the system, but it's mostly off.

Also when the M53 was away, let's say about 4metres, it was still giving 500 kb/s, it was just a little bit more unstable.

Thanks,
LL

Offline

#18 2025-02-28 20:19:00

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

Did you try a different USB port?
Can you move the phone around the system? Does it have direct viewline to the dongle?
The signal in your first journal is veering around a lot with only some good spikes at the very end
8m4b.png

Offline

#19 2025-03-01 07:03:13

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

Did you try a different USB port?

Yes, already tried but no difference or whatsover, as the back of the usb port is the closest to the cpu, I keep the adapter at the back.

seth wrote:

Can you move the phone around the system? Does it have direct viewline to the dongle?

I can move the phone around, but it doesn't have a straight viewline, even if I manage to do so, it most probably won't have any effect.

seth wrote:

The signal in your first journal is veering around a lot with only some good spikes at the very end

I don't know what exactly caused it, but I think it's a driver or configuration issue, I am already out of ideas here.

Maybe, just maybe, Can I use the debian package to get the driver provided by my adapter's brand? I think it would have some difference.

Thanks,
LL

Offline

#20 2025-03-01 08:17:01

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

as the back of the usb port is the closest to the cpu, I keep the adapter at the back.

That is really completely irrelevant and you want a port that is the least shielded from the phone (and ideally not one of the USB1.1 ones…)

it most probably won't have any effect.

So the signal is poor and there's an *obvious* EM shield (your PC case) in the way, but avoiding that shield will "most probably" not have any effect.
Because… you believe so? Intensely?

Get an open line between dongle and phone, post a journal for that (even if the throughput end up being limited by the USB 1.1 port, we might see a -much- bettr signal).


Maybe, just maybe, Can I use the debian package

You cnanot even use an arch package w/ a kernel module not compiled for the running kernel.
Does the dongle perform significantly better on debian (live) distro like grml?

Offline

#21 2025-03-01 10:15:43

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

Maybe, just maybe, Can I use the debian package

You cnanot even use an arch package w/ a kernel module not compiled for the running kernel.
Does the dongle perform significantly better on debian (live) distro like grml?

Not so straightforward answer, but, in debian the internet used to be a little worse or the same for this network. But it did not reach more than 500KB/s even with Mi11X. But after installing the .deb package provided my adapter's brand, the network speed went to 20Mb/s Which was the speed it should give. It also used to give 20Mb/s speed on my M53 (after driver install). I don't know what kind of peculiar issue is this.

And I will try plugging the adapter out and putting it in the front so it has no EM shield and is within 6 inch of distance.

Thanks for your extended support,
LL

Last edited by LinuxLover471 (2025-03-01 10:16:29)

Offline

#22 2025-03-01 10:17:18

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

But after installing the .deb package provided my adapter's brand

Which one specifically?

Offline

#23 2025-03-01 10:20:08

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

seth wrote:

But after installing the .deb package provided my adapter's brand

Which one specifically?

The one with the Ubuntu/KylinOS on it, you can find more about it on the first post's link.

Offline

#24 2025-03-01 10:27:10

LinuxLover471
Member
Registered: 2025-02-23
Posts: 52

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

I extracted the logs after putting my mobile phone within 2 inch of distance, lol.
http://0x0.st/8mEJ.txt

Also I did a speedtest but there isn't any improvement, my POCO M3 is 4 metres away and it's giving me 9Mb/s. The device I use the most for wi-fi is the slowest? I am cooked.

Offline

#25 2025-03-01 10:28:22

seth
Member
Registered: 2012-09-03
Posts: 61,913

Re: [Solved]Slow internet with a mobile hotspot and fast on the other.

That's for an "W311MI  v6.0  AX300 Wi-Fi 6 Wireless Nano USB Adapter" which is *completely* not the dongle/chip you're currently using?
https://aur.archlinux.org/packages?O=0& … &submit=Go

Edit:
The signal is now stellar, though.

Mar 01 15:52:58 G31M-ES2L wpa_supplicant[486]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-19 noise=9999 txrate=19500

Last edited by seth (2025-03-01 10:29:08)

Offline

Board footer

Powered by FluxBB