Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: different internet speed in debian and smart phone

57 views
Skip to first unread message

IL Ka

unread,
Mar 29, 2021, 10:10:04 AM3/29/21
to

Firefox browser in Debian. 
Internet speed checker is fast.com
Speed is 670kbps

 How do you connect your laptop to the internet? Is it a cable or wifi? What NIC are you using?

kaye n

unread,
Mar 29, 2021, 10:10:04 AM3/29/21
to
Hello Friends!

My laptop, if it matters:
Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux 10 (buster)

This is a familiar scenario:

Firefox browser in Debian. 
Internet speed checker is fast.com
Speed is 670kbps

Built-in browser of Samsung phone
Internet speed checker is fast.com
Speed is 14mbps

I am quite sure I don't get this much disparity with another Linux distro, as well as in Windows 7.

Thank you for your time!
Kaye

kaye n

unread,
Mar 29, 2021, 10:30:05 AM3/29/21
to
Laptop connects to the internet using wifi.

NIC - are you referring to this?

result of inxi -b :
  Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter 
  driver: bcma-pci-bridge
  Device-2: Marvell 88E8040 PCI-E Fast Ethernet driver: sky2  

IL Ka

unread,
Mar 29, 2021, 10:50:04 AM3/29/21
to
  Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter 
ok, this is your card.

Lets see  output of 
$ iw dev [your_dev_name]
it should be 
 $ iw dev wlan0
I believe

Also, try to ping your wifi router ip address and some Internet address like
$ ping 8.8.8.8

Then, check https://www.speedtest.net/ : it gives a little bit more information than "fast.com"


kaye n

unread,
Apr 5, 2021, 9:40:06 AM4/5/21
to
Pardon me, but what should I type for [your_dev_name] ?

 

David Wright

unread,
Apr 5, 2021, 10:20:06 AM4/5/21
to
inxi -Fdflmnopuv7 (my own incantation) should say something like:

Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000 bus ID: 02:00.0
chip ID: 8086:08b2
IF: wlp2s0 state: up mac: 01:23:45:67:89:ab

↑↑↑↑↑↑ is the name you need.

BTW, iw may need root or sudo to perform some functions.
Note that the URL on the man page should be:
https://wireless.wiki.kernel.org/en/users/documentation/iw

On Mon 29 Mar 2021 at 21:59:48 (+0800), kaye n wrote:
> I am quite sure I don't get this much disparity with another Linux distro,
> as well as in Windows 7.

Actual numbers for all these cases would be more useful than
reminiscence, so that we can make the comparison.

Cheers,
David.

kaye n

unread,
Apr 9, 2021, 10:20:05 AM4/9/21
to
On Mon, Apr 5, 2021 at 10:18 PM David Wright <deb...@lionunicorn.co.uk> wrote:
inxi -Fdflmnopuv7   (my own incantation) should say something like:

   Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000 bus ID: 02:00.0
   chip ID: 8086:08b2
   IF: wlp2s0 state: up mac: 01:23:45:67:89:ab

       ↑↑↑↑↑↑ is the name you need.

BTW, iw may need root or sudo to perform some functions.
Note that the URL on the man page should be:
https://wireless.wiki.kernel.org/en/users/documentation/iw

On Mon 29 Mar 2021 at 21:59:48 (+0800), kaye n wrote:
> I am quite sure I don't get this much disparity with another Linux distro,
> as well as in Windows 7.

Actual numbers for all these cases would be more useful than
reminiscence, so that we can make the comparison.

Cheers,
David.

Hi David, 
Are you referring to this?

 Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter
  vendor: Wistron NeWeb driver: bcma-pci-bridge v: N/A port: 2000
  bus ID: 03:00.0 chip ID: 14e4:4727
  Device-2: Marvell 88E8040 PCI-E Fast Ethernet vendor: Samsung Co
  driver: sky2 v: 1.30 port: 5000 bus ID: 07:00.0 chip ID: 11ab:4354
  IF: enp7s0 state: down mac: e8:11:32:22:69:43
  IF-ID-1: wlp3s0b1 state: up mac: 00:1b:b1:aa:c1:8c
  IP v4: 192.168.1.14/24 type: dynamic noprefixroute scope: global
  broadcast: 192.168.1.255
  IP v6: fe80::c19e:a977:3a6:ccec/64 type: noprefixroute scope: link
  WAN IP: 136.158.34.210
Thank you 

David

unread,
Apr 9, 2021, 6:40:05 PM4/9/21
to
On Mon, 5 Apr 2021 at 23:39, kaye n <gui...@gmail.com> wrote:
> On Mon, Mar 29, 2021 at 10:45 PM IL Ka <kazakev...@gmail.com> wrote:

>>> Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter

>> ok, this is your card.

>> Lets see output of
>> $ iw dev [your_dev_name]

> Pardon me, but what should I type for [your_dev_name] ?

On Sat, 10 Apr 2021 at 00:15, kaye n <gui...@gmail.com> wrote:
> On Mon, Apr 5, 2021 at 10:18 PM David Wright <deb...@lionunicorn.co.uk> wrote:

>> inxi -Fdflmnopuv7 (my own incantation) should say something like:

>> Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000 bus ID: 02:00.0
>> chip ID: 8086:08b2
>> IF: wlp2s0 state: up mac: 01:23:45:67:89:ab

>> ↑↑↑↑↑↑ is the name you need.

>> BTW, iw may need root or sudo to perform some functions.

> Are you referring to this?

> Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter
> vendor: Wistron NeWeb driver: bcma-pci-bridge v: N/A port: 2000
> bus ID: 03:00.0 chip ID: 14e4:4727
> Device-2: Marvell 88E8040 PCI-E Fast Ethernet vendor: Samsung Co
> driver: sky2 v: 1.30 port: 5000 bus ID: 07:00.0 chip ID: 11ab:4354
> IF: enp7s0 state: down mac: e8:11:32:22:69:43
> IF-ID-1: wlp3s0b1 state: up mac: 00:1b:b1:aa:c1:8c

Hi kaye,

so the answer to your first question above is

(as root)
# iw dev wlp3s0b1

or

$ sudo iw dev wlp3s0b1

Because wlp3s0b1 is the name given by your kernel to
your Broadcom Wireless Network Adapter. And this iw command
should be run with superuser privileges as David stated
above.

Similarly, enp7s0 is the name given by your kernel to your
Samsung PCIE Ethernet card.

Also, when showing command output to people trying to assist
you, don't ever omit the actual command that generated the
output. Because it is a crucial aspect of the information sharing
process.

kaye n

unread,
Apr 10, 2021, 10:00:04 AM4/10/21
to
Hello.

 This command,
sudo iw dev wlp3s0b1

resulted in a really long output that looks like a manual and started with this line:
Usage: iw [options] command

Really sorry, I'm not very knowledgeable with this.

Thank you for your time
kaye

David

unread,
Apr 10, 2021, 10:30:05 AM4/10/21
to
> This command,
> sudo iw dev wlp3s0b1
>
> resulted in a really long output that looks like a manual and started with this line:

Yeah, sorry, I just jumped into the thread half way and I didn't check
what you were advised to do previously (above), it is incomplete.

I think the output that they wanted to see would be given by these
three commands:
sudo iw dev wlp3s0b1 info
sudo iw dev wlp3s0b1 link
sudo iw dev wlp3s0b1 station dump

kaye n

unread,
Apr 10, 2021, 10:40:05 AM4/10/21
to
Here it is:

kaye@laptop:~$ sudo iw dev wlp3s0b1 info
[sudo] password for kaye:
Interface wlp3s0b1
ifindex 3
wdev 0x1
addr 00:1b:b1:aa:c1:8c
ssid hrmny9108
type managed
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 30.00 dBm

 kaye@laptop:~$ sudo iw dev wlp3s0b1 link
Connected to fc:a6:cd:d0:06:20 (on wlp3s0b1)
SSID: hrmny9108
freq: 2437
RX: 14558652 bytes (39650 packets)
TX: 70458521 bytes (56263 packets)
signal: -19 dBm
rx bitrate: 36.0 MBit/s
tx bitrate: 65.0 MBit/s MCS 7
bss flags: short-slot-time
dtim period: 1
beacon int: 100

kaye@laptop:~$ sudo iw dev wlp3s0b1 station dump
Station fc:a6:cd:d0:06:20 (on wlp3s0b1)
inactive time: 24 ms
rx bytes: 14794829
rx packets: 41066
tx bytes: 70548168
tx packets: 56527
tx retries: 17470
tx failed: 1072
beacon loss: 0
beacon rx: 9583
rx drop misc: 860
signal:   -20 dBm
signal avg: -24 dBm
beacon signal avg: -21 dBm
tx bitrate: 72.2 MBit/s MCS 7 short GI
rx bitrate: 36.0 MBit/s
last ack signal:0 dBm
expected throughput: 33.507Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 1
beacon interval:100
short slot time:yes
connected time: 1026 seconds

Thank you.
kaye

David Wright

unread,
Apr 11, 2021, 10:30:04 AM4/11/21
to
On Fri 09 Apr 2021 at 22:14:59 (+0800), kaye n wrote:
> Are you referring to this?
> IF-ID-1: wlp3s0b1 state: up mac: 00:1b:b1:aa:c1:8c

Already answered, I see. BTW …

Generally speaking when people give help of this list,
they often use the traditional names (eth0 and wlan0) as
placeholders for these interfaces because the newer,
persistent names are specific to your computer.

> > On Mon 29 Mar 2021 at 21:59:48 (+0800), kaye n wrote:
> > > I am quite sure I don't get this much disparity with another Linux
> > distro,
> > > as well as in Windows 7.
> >
> > Actual numbers for all these cases would be more useful than
> > reminiscence, so that we can make the comparison.

Here, I meant some sort of table of comparison, like:

Device connection down-speed up-speed site
type
Debian wifi&ISP nnn nnn fast.com
Windows7 wifi&ISP nnn nnn fast.com
Other linux wifi&ISP nnn nnn fast.com
Samsung phone 4G nnn nnn fast.com

eg

Debian buster eth&ISP 83.30 11.38 www.speedtest.net
my mobile - 0 0 -

Cheers,
David.

kaye n

unread,
Jul 19, 2021, 4:50:05 AM7/19/21
to
Hello friends,

Just to give an update in case anyone is interested.
One of the solutions provided in the link below seems to be effective for me.

https://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/

"Solution 5: Ditch default network manager and embrace Wicd (possibly obsolete)"

Thank you everyone.
Stay safe.
Kaye

Nicholas Geovanis

unread,
Jul 19, 2021, 8:10:04 AM7/19/21
to
Reading this thread, remembering my annoyance with NetworkManager, I ran across this article by RedHat's NetManager developer Thomas Haller. From last year. Yes I suppose it's promotional, but he sorts thru some of the high-level issues that software like it has to address.

Reco

unread,
Jul 19, 2021, 9:10:04 AM7/19/21
to
Hi.

Please do not top-post.

On Mon, Jul 19, 2021 at 07:07:30AM -0500, Nicholas Geovanis wrote:
> Reading this thread, remembering my annoyance with NetworkManager, I ran
> across this article by RedHat's NetManager developer Thomas Haller. From
> last year. Yes I suppose it's promotional, but he sorts thru some of the
> high-level issues that software like it has to address.
> https://blogs.gnome.org/thaller/2020/04/10/why-networkmanager/

Whoever wrote this definitely likes to omit some details, and twist some
others. Few examples:

> We have NetworkManager, which is a freedesktop.org project. There is
> also ConnMan, netctl (on ArchLinux), systemd-networkd, wicd
> (unmaintained), wicked (on SUSE).

Note the absence of ifupdown, which is still shipped to paying Red Hat
customers.
Note the absence of ifupdown (same name, different implementation),
which is still considered the primary way of configuring network in
Debian.
And last, but not least, note the absence of netplan, which is the
primary way of configuring network in Ubuntu.

And the brilliant lumping of systemd-networkd along with the others,
while systemd-networkd was supposed to be One Standard Way Of Doing It
On Linux. Priceless.


> NetworkManager works well on the phone,

Sorry, what?

> the server,

Man's entitled to his option. Using a "stateful process" for a typical
"static IP, one default gateway" server is an overkill, but the link
contains "gnome.org", so this is expected.

> in a container,

On the contrary, in a well-designed container any means of configuring
the network from the inside are redundant at best. A good container
starts with the network that's configured already, and cannot change a
single bit of it while it's running.

> on a notebook and on a workstation.

Note the absence of "on a router" in that list.


> Wherever you have NetworkManager, it works and behaves the same.

I must me missing something, but NetworkManager on Debian does not
generate those wonderful /etc/sysconfig/network-scripts/* files like it
does in RHEL.


To sum it up - if NetworkManager works for you - more power to you.
If it does not - the thing was designed to be an over-engineered behemoth
(and the article admits it to a certain extent), you've got exactly what
was advertised to you.

Personally, I'll take "other solutions" designed with the "focus on
configuring the network" over the "configuration daemon that serves the
needs of applications". Because, while it may sound strange, I like my
network to be configured if I happen to do it.

Reco

Nicholas Geovanis

unread,
Jul 19, 2021, 3:40:05 PM7/19/21
to
On Mon, Jul 19, 2021, 8:02 AM Reco <recov...@enotuniq.net> wrote:
        Hi.

Please do not top-post.

On Mon, Jul 19, 2021 at 07:07:30AM -0500, Nicholas Geovanis wrote:
> Reading this thread, remembering my annoyance with NetworkManager, I ran
> across this article by RedHat's NetManager developer Thomas Haller. From
> last year. Yes I suppose it's promotional, but he sorts thru some of the
> high-level issues that software like it has to address.
> https://blogs.gnome.org/thaller/2020/04/10/why-networkmanager/

......

> NetworkManager works well on the phone,

Sorry, what?

> the server,

Man's entitled to his option. Using a "stateful process" for a typical
"static IP, one default gateway" server is an overkill, but the link
contains "gnome.org", so this is expected.

It seems clear that NetworkManager like systemd was a response to non-dedicated, transient network configuration of a portable device or hands-off networking environment  (including physical layer). Naturally, we needed to build an all-encompassing software world-view on top of that :-) cause that's what we do :-)


> in a container,

On the contrary, in a well-designed container any means of configuring
the network from the inside are redundant at best. A good container
starts with the network that's configured already, and cannot change a
single bit of it while it's running.

> on a notebook and on a workstation.

Note the absence of "on a router" in that list.

Deities defend us.
My problem is the complete absence of thought shown by that list "server notebook workstation".
I want to ask him: What is a use-case?

Also to point out that containers too have different use-cases, and he seems to have done a mash-up again. You point-out one such case. I see at least three: what you might call cloud-temp, on-prem-in-broadest-terms, and human-at-workstation.



Reco

Joe

unread,
Jul 19, 2021, 4:00:06 PM7/19/21
to
On Mon, 19 Jul 2021 14:35:44 -0500
Nicholas Geovanis <nickge...@gmail.com> wrote:

>
>
> Deities defend us.
> My problem is the complete absence of thought shown by that list
> "server notebook workstation".
> I want to ask him: What is a use-case?
>
> Also to point out that containers too have different use-cases, and he
> seems to have done a mash-up again. You point-out one such case. I
> see at least three: what you might call cloud-temp,
> on-prem-in-broadest-terms, and human-at-workstation.
>

I have NM installed on my netbook and would have it on my Laptop if it
ran Linux. I wouldn't allow it anywhere near my workstation or server,
where it would have no function. And my workstation doesn't have a
static address, it has a DHCP reservation, like most other network
devices here. Only my netbook uses wireless and VPN, where I find NM
(now) Just Working (tm). Agreed, it wasn't always so.

On the subject of VPN, I'm having terrible trouble with the official
OpenVPN client for mobiles, it works on my Android phone but not my
wife's Android phone or our iPad. Possibly something to do with the
client on the latter two not having any manual configuration mode. NM
on the netbook is far easier to configure, which I believe Google and
Apple see as a drawback. It appears that nobody configures VPNs any
more, people just take a subscription with a commercial one and are sent
fully debugged configuration files.

--
Joe

kaye n

unread,
Jul 24, 2021, 6:50:05 AM7/24/21
to
Hello friends,

Just to give an update in case anyone is interested.
One of the solutions provided in the link below seems to be effective for me.

https://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/

"Solution 5: Ditch default network manager and embrace Wicd (possibly obsolete)"

Thank you everyone.
Stay safe.
Kaye

Hello Friends
Update again for anyone who's interested.
Wicd worked for a few days. Now it's as slow as the default Network Manager.
Really strange.
I give up.  
Thank you for your time.
 

kaye n

unread,
Sep 29, 2021, 9:00:05 AM9/29/21
to
Hello Friends!

This is an old thread but I think I may have found the problem and I would like to know your opinion.
As a refresher, my wifi speed on my phone is significantly faster than on my 10-year old laptop.

Could this be the reason?

from:
https://www.quora.com/Why-is-the-Wi-Fi-internet-slow-on-my-laptop-but-fast-on-my-phone
It could be the computer's Wi-Fi antenna. If the computer only supports 2.4GHz connections it will be slow. If it can use 5GHz but only with 802.11n it will be slower than a phone that has 802.11ac. Also the phone might use MIMO to increase its Wi-Fi bandwidth. Phones are usually upgraded more often than computers, so the phone probably has a newer, better antenna and support of newer faster Wi-Fi standards. 

If that's the problem, could this be a possible solution?

from:
https://www.quora.com/Why-is-the-internet-speed-on-my-laptop-so-slow-compared-to-my-mobile-phone-I-am-connecting-from-the-same-place-and-same-network
If you want to speed up your laptop check the WIFI adapter and if it is an older version buy a new wifi adapter with the latest WIFI (Wi-Fi 6, or 802.11ax today) - which will probably have to be an external USB dongle

Dan Ritter

unread,
Sep 29, 2021, 9:30:05 AM9/29/21
to
kaye n wrote:
> This is an old thread but I think I may have found the problem and I would
> like to know your opinion.
> As a refresher, my wifi speed on my phone is significantly faster than on
> my 10-year old laptop.
>
> Could this be the reason?
>
> from:
> https://www.quora.com/Why-is-the-Wi-Fi-internet-slow-on-my-laptop-but-fast-on-my-phone
> It could be the computer's Wi-Fi antenna. If the computer only supports
> 2.4GHz connections it will be slow. If it can use 5GHz but only with
> 802.11n it will be slower than a phone that has 802.11ac. Also the phone
> might use MIMO to increase its Wi-Fi bandwidth. Phones are usually upgraded
> more often than computers, so the phone probably has a newer, better
> antenna and support of newer faster Wi-Fi standards.
>
> If that's the problem, could this be a possible solution?
>
> from:
> https://www.quora.com/Why-is-the-internet-speed-on-my-laptop-so-slow-compared-to-my-mobile-phone-I-am-connecting-from-the-same-place-and-same-network
> If you want to speed up your laptop check the WIFI adapter and if it is an
> older version buy a new wifi adapter with the latest WIFI (Wi-Fi 6, or
> 802.11ax today) - which will probably have to be an external USB dongle

Yes, but note that a wifi adapter can't operate faster than the
equipment on the other side -- they need to agree on a protocol.

It would certainly be worthwhile trying a new wifi adapter that
matches your wifi AP/router's specifications.

-dsr-

David Wright

unread,
Sep 29, 2021, 11:40:05 PM9/29/21
to
On Wed 29 Sep 2021 at 20:49:28 (+0800), kaye n wrote:
> On Sat, Jul 24, 2021 at 6:46 PM kaye n <gui...@gmail.com> wrote:

> >> Just to give an update in case anyone is interested.
> >> One of the solutions provided in the link below seems to be effective for
> >> me.
> >>
> >> https://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/
> >>
> >> "Solution 5: Ditch default network manager and embrace Wicd (possibly
> >> obsolete)"
> >
> > Update again for anyone who's interested.
> > Wicd worked for a few days. Now it's as slow as the default Network
> > Manager.
> > Really strange.
> > I give up.
>
> This is an old thread but I think I may have found the problem and I would
> like to know your opinion.
> As a refresher, my wifi speed on my phone is significantly faster than on
> my 10-year old laptop.
>
> Could this be the reason?
>
> from:
> https://www.quora.com/Why-is-the-Wi-Fi-internet-slow-on-my-laptop-but-fast-on-my-phone
> It could be the computer's Wi-Fi antenna. If the computer only supports
> 2.4GHz connections it will be slow. If it can use 5GHz but only with
> 802.11n it will be slower than a phone that has 802.11ac. Also the phone
> might use MIMO to increase its Wi-Fi bandwidth. Phones are usually upgraded
> more often than computers, so the phone probably has a newer, better
> antenna and support of newer faster Wi-Fi standards.
>
> If that's the problem, could this be a possible solution?

I don't see why the laptop aerial would be under suspicion. You wrote
"Wicd worked for a few days", and the aerial is unlikely to cause
that sort of variability.

But I think your paragraph above is the first (indirect) confirmation
that the phone is connecting via WiFi when you conduct your tests,
and aerial technology may make a difference, as might using a WiFi
dongle with a decent aerial attached. (That does prejudice its
portability, of course.)

We also don't know the favourability of location for the two devices,
and with wavelengths well under a metre, small distances can be
significant. Other traffic on the same channels is another factor;
though I am wondering why you're vague on 2/5GHz. Surely you know
whether you're using 5GHz just by checking the sessions in the
device, or even the access point (depending on how you configured it).

All that said, the speed measured on your laptop is so low that
I can't help suspecting you have something set up wrongly, or
some unfavourable circumstance. My 17-year old laptop can transfer
at around 18Mbps through its 2GHz WiFi. Now I'm measuring under
favourable circumstances: the router is on the floor of the room
above, and the source of the bits is scp from a local wired machine.
Obviously it would help with troubleshooting this problem to eliminate
(or separate) the factors involved, eg:

. browser use wget to download a large file from a "good" site
. internet copy a large file across just your LAN
. laptop disk copy a large file across just your LAN to /dev/null
. WiFi temporarily connect the laptop by Cat5 to the router

> from:
> https://www.quora.com/Why-is-the-internet-speed-on-my-laptop-so-slow-compared-to-my-mobile-phone-I-am-connecting-from-the-same-place-and-same-network
> If you want to speed up your laptop check the WIFI adapter and if it is an
> older version buy a new wifi adapter with the latest WIFI (Wi-Fi 6, or
> 802.11ax today) - which will probably have to be an external USB dongle

Well, purchasing decisions obviously depend on other factors, like:

. the results of the tests above,
. how bothered am I by the slow speed,
. can I find a less busy WiFi channel number,
. can I move the laptop away from microwaves/cordless phones/baby monitor etc,
. how long am I keeping this laptop,
. can a dongle get me off 2GHz for a mere £/AU$x,
. can I tether to the mobile,
. can I attach a Cat5 cable for those occasions when I need the speed.

Cheers,
David.
0 new messages