Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird networking problems - big ping from time to time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Tue Aug 30, 2016 1:53 am    Post subject: weird networking problems - big ping from time to time Reply with quote

Hey, I have a problem with my network, it's very annoying.

Here it is (ping 8.8.8.8): https://paste.pound-python.org/show/jF9lCszty59JhgkdcKuN/
-- long response time from time to time (exactly every 120 packages sent, lasting 7 packages).

I checked it on Windows 10, and looks like it doesn't appear there, also IIRC it didn't appear when I was connected via cable, but now there is no possibility to do this.
Also checked it on 2 different WIFIs...

My wlan USB card:
Code:
Bus 003 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
which is TPLINK-WN722N.

I use NetworkManager with plasma-nm widget.
Is this any configuration mistake?

My .config: https://paste.pound-python.org/show/65vUf0FKlnHe2WtXv1M8/

What is the solution for that? What info should I show you to solve the problem?

Thanks in advance. :)
Back to top
View user's profile Send private message
lexflex
Guru
Guru


Joined: 05 Mar 2006
Posts: 343
Location: the Netherlands

PostPosted: Tue Aug 30, 2016 9:58 am    Post subject: Re: weird networking problems - big ping from time to time Reply with quote

Hi,

calif wrote:

Also checked it on 2 different WIFIs...


If it is a local WiFi problem, there might be a periodic disturbance at a certain frequency ( so you should make sure the two WiFi's you try use a different frequency).
So, first thing I would do is to try using a couple of other (preferably free) WiFi channel on either 5 or 2.4 GHz and see if that helps. Try to find out if some channels are much busier than others. Also, try at a distance where you are sure the signal is good.


You also might want to check/make sure if it is on your own network or outside, by
- pinging your router/ default gateway, and
- pinging another external address
Compare those two to determine if it is your WiFi or router, or if it is outside.

Alex.
Back to top
View user's profile Send private message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Wed Aug 31, 2016 8:37 am    Post subject: Reply with quote

I tried pinging my 192.168.0.1 - the problem exists here.

Also tried different channel - still the same.

Any ideas?

EDIT: the signal strength is very good, like 70-90%.
Back to top
View user's profile Send private message
lexflex
Guru
Guru


Joined: 05 Mar 2006
Posts: 343
Location: the Netherlands

PostPosted: Wed Aug 31, 2016 10:11 am    Post subject: Reply with quote

Hi,

calif wrote:
I tried pinging my 192.168.0.1 - the problem exists here.
Also tried different channel - still the same.

Ok, so it really is your local WiFi or on your local machine ( either signal or software).


Quote:
Any ideas?EDIT: the signal strength is very good, like 70-90%.


How is your access point positioned? Is it directly next to other electronic equipment, and what kind of equipment is that?
I once had problems with a DVB-C receiver(!) next to my cable modem/wifi access point.

What I would try is to move your access-point a meter away from it and see if the problem still persists.
(this is to check if it actually is a signal issue or not).

Alex.
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 266
Location: Brisbane, Australia

PostPosted: Wed Aug 31, 2016 10:15 am    Post subject: Reply with quote

Try to connect your PC to your router using a ethernet cable. Switch off wifi and ping your router.
Back to top
View user's profile Send private message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Wed Aug 31, 2016 11:47 am    Post subject: Reply with quote

The AP lies on a fridge, near-ish a microwave -- can't really move it, the "internet" cable is too short. Can't really move my PC either.

Anyway, isn't this a software/configuration problem? I use the same PC, the same WIFI card but another system (windows) and it works well.
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 266
Location: Brisbane, Australia

PostPosted: Wed Aug 31, 2016 1:17 pm    Post subject: Reply with quote

calif wrote:
The AP lies on a fridge, near-ish a microwave -- can't really move it, the "internet" cable is too short. Can't really move my PC either.

Anyway, isn't this a software/configuration problem? I use the same PC, the same WIFI card but another system (windows) and it works well.


Connection your PC to your router by Ethernet cable is truble shooting steo. This would let you determine whether the problem is caused by the Gentoo wireless driver and/or setup or by a problem with the Gentoo network software on your PC.

If it works with the Ethernet cable, the problem is Gentoo Wifi related.
Back to top
View user's profile Send private message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Wed Aug 31, 2016 8:45 pm    Post subject: Reply with quote

It works perfectly when connected with the Ethernet.
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 266
Location: Brisbane, Australia

PostPosted: Thu Sep 01, 2016 12:24 am    Post subject: Reply with quote

calif wrote:
It works perfectly when connected with the Ethernet.


I noticed that when I ping 8.8.8.8 from my WiFi laptop the average time is 35ms. After about 60 pings for a few pings the time is between 120 to 150ms. No such time differences when I ping my router, ISP or local DNS server.

Boot from the latest Gentoo installation CD or System Rescue CD and try to connect to your router using your WiFi stick. Then ping your router. If it's OK run lspc -k and compare the loaded drivers and kernel configurations with those installed on your PC.

If the Gentoo installation and System Rescue CD have the same problems, try another linux CD like the one from Opensuse, Sabayon, Linux Mint, Ubunto, Knoppix, etc. If they also don't work, you will have to live with the problem, run a Ethernet cable or get another Wifi adapter.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum