Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Big problem with my internet connection

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Big problem with my internet connection

#1 Post by Hélène »

Hi,

I have a big problem with my internet connection (WiFi). The connection is very slow and sometimes the loading can take several minutes or even the page doesn't appear. The downloading is very slow too (a maximum of 200 kb!!).
The updates are slow too.
I checked my connection- information about the network connection. : Speed: 144mb/s

Thanks in advance. :wink:

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Big problem with my internet connection

#2 Post by stevepusser »

Since this is a hardware problem, maybe some information about your wireless device would be relevant, ehh?

Install inxi and tell us what

Code: Select all

inxi -Nx
tells us what you have.
MX Linux packager and developer

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Big problem with my internet connection

#3 Post by dasein »

Worth ruling out IPv6 as the source of the problem.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Big problem with my internet connection

#4 Post by phenest »

I'm guessing with that sort of speed you're on fibre optic. How are you connected to the router? Cable or wireless?

Do you have any other devices connected through the same router? If so, are they affected in the same way?

EDIT: I just noticed you're on wireless. What happens if you use a cable?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Big problem with my internet connection

#5 Post by Bulkley »

Browser problems that can cause slow downloads can include conflicts with various add-ons and extensions. Try disabling all of them. If speed improves, re-enable and test one at a time. Another easy test is to re-name the browser's user config; for example change ~/.mozilla to ~/.mozilla.bak. Restart the browser and test. Try another browser.

Try turning off your firewall. Try turning off the firewall in the router/modem.

BTW, the best speed test I have found is SpeedOf.Me. It does not use Flash.

Check with your neighbours to see if they have similar problems. We had a terrible time with Internet when a construction gang tore up the road nearby.

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#6 Post by Hélène »

Hi,

Thanks all of you.
I hope I answer to all your questions.

Code: Select all

inxi -Nx
Network:   Card-1: Realtek RTL8192SE Wireless LAN Controller
           driver: rtl8192se port: 3000 bus-ID: 06:00.0
           Card-2: Qualcomm Atheros AR8152 v2.0 Fast Ethernet
           driver: atl1c v: 1.0.1.1-NAPI port: 2000 bus-ID: 07:00.0

I have already disabled ipv6 like this:

Code: Select all

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.default.autoconf = 0
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

I have another laptop connected through my router and I have no problem. This laptop is under Ubuntu.
It's not only a problew with Firefox, the internet connexion is slow for updates too!!
The neighbours don't have the similar problem.
I re-named ~/.mozilla to ~/.mozilla.bak and all addons were deleted. I reinstalled all of them and firefox seems working better. But the updates are still slow (140 to 250 kbs/s).


This is the result of the speedof test:

DEBIAN
Download Speed: 3.35 Mbps to 7.54 Mbps (very rarely)
Upload Speed: 520 Kbps to 1.14Mbps

UBUNTU
Download Speed: 14 Mbps
Upload Speed: 2.66 Mbps



I haven't yet had time to turn off my firewall or to try another browser. I'll do it tomorrow but I don't think the problem comes from the firewall because I have the same one under Ubuntu and I have no problem.

Thanks in advance.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Big problem with my internet connection

#7 Post by phenest »

Hélène wrote:This laptop is under Ubuntu.
Shouldn't you be asking on the Ubuntu forums? This forum is for Debian.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#8 Post by Hélène »

No because I have no problem with Ubuntu.
My internet connection is bad under Debian.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Big problem with my internet connection

#9 Post by sunrat »

Do you have firmware-realtek installed?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

hesse
Posts: 25
Joined: 2015-02-07 13:56

Re: Big problem with my internet connection

#10 Post by hesse »

hello! I too the same problem with wifi with debian jessie. The Wifi sometimes it is
fast and sometimes not even charging an internet page. Only with debian I have this problem.
I installed the firmware-realtek. My wireless device is:

Code: Select all

# inxi -Nx
Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express)
           driver: ath5k bus-ID: 02:00.0                                                                 
           Card-2: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter                         
           driver: sis190 v: 1.4 port: dc00 bus-ID: 00:04.0  

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Big problem with my internet connection

#11 Post by sunrat »

@hesse you should start a new thread. Different hardware, different solution. firmware-realtek is for Realtek cards and you have Atheros card. There is a firmware-atheros but it is not needed for ath5k cards.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#12 Post by Hélène »

Hi,
The Wifi sometimes it is
fast and sometimes not even charging an internet page. Only with debian I have this problem.
Me too!

Yes I have firmware-realtek installed (firmware-realtek 0.43). Need I install another?

Thanks in advance.


Ps: Today I can't install anything. The connection is too slow (7158B/s!!!)

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#13 Post by Hélène »

Hello,

Might the problem come from my wireless network manager? Need I install Wicd? What do you think?

Does it have another firmware-realtek RTL8192SE?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Big problem with my internet connection

#14 Post by sunrat »

firmware-realtek 0.43 does have firmware for your card so probably not the issue. You can search packages at https://packages.debian.org . https://packages.debian.org/search?suit ... re-realtek
I'm no network wiz but there are many threads about network problems here, maybe a search will help.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Big problem with my internet connection

#15 Post by Bulkley »

Hélène, are you using Gnome? I recall seeing an association between Gmome and slow downloads just because of loading.

I am assuming that something is using too much resources to the point that it is bogging down. Try opening a term and entering top. Open your browser and do what you normally do; while doing that keep refreshing top. You might see what is sucking up resources. You might consider setting up Conky which makes it easier.

As to your question about Network-Manager, my instinct says no but maybe. Network-Manager can be a beautiful tool or your worst headache. What I would do to test it is to disable it and add a few lines into /etc/network/interfaces like this:

Code: Select all

auto wlan0
iface wlan0 inet dhcp
wpa-ssid "my SSID"
wpa-psk "my password"
You can see here what I'm talking about: https://wiki.debian.org/WiFi/HowToUse#wpa_supplicant

Post here if that helps; I have something better than NM or Wicd.

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#16 Post by Hélène »

Hello,

OK. Thanks.

I'll try everything and I'll come back soon.
Are you using Gnome?
No I'm not. I'm using XFCE

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#17 Post by Hélène »

Hello,

I set up Conky and it shows me that Firefox is using too many CPU ressources. The CPU Usage rises to 100% when I 'm using Firefox. Others softwares are using CPU ressources: clamd and xorg.

I did as you said:
Network-Manager can be a beautiful tool or your worst headache. What I would do to test it is to disable it and add a few lines into /etc/network/interfaces like this:

Code: Select all
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "my SSID"
wpa-psk "my password".
Now the internet connection is a little more quickly than before.

I already installed firmware-realtek jessie (stable). Need I install the jessie-backports version?

Thanks in advance.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Big problem with my internet connection

#18 Post by stevepusser »

You would only need firmware from jessie-backports if you were also using the kernel from there. A newer kernel and firmware is worth a try, as the driver is built into the kernel and it might include a newer version that fixes your bug.

Realtek wi-fi devices also have get your kind of problems reported often--often a fix involves disabling any power savings for the thing.

For the stock 3.16 kernel, as root or with sudo:

Code: Select all

tee /etc/modprobe.d/rtl8192se.conf <<< "options rtl8192se ips=N fwlps=N swlps=N" 
The 4.9 backports kernel driver uses 1 and 0 instead of Y and N for the parameters:

Code: Select all

tee /etc/modprobe.d/rtl8192se.conf <<< "options rtl8192se ips=0 fwlps=0 swlps=0"
Then unload and reload the driver, again as sysadmin:

Code: Select all

rmmod rtl8192se && modprobe rtl8192se

Anyway, there are loads of hits for problems with the rtl8192se driver on the web, so if this doesn't fix it, the answer may still be out there if you do your own search.
MX Linux packager and developer

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: Big problem with my internet connection

#19 Post by Hélène »

Hi,

Ok. Thank you very much.

Post Reply