Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Slow local network - how to debug?
Date: Fri, 22 Feb 2013 13:56:46
Message-Id: 201302221355.22320.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Slow local network - how to debug? by Helmut Jarausch
1 On Friday 22 Feb 2013 08:04:38 Helmut Jarausch wrote:
2 > Hi,
3 >
4 > I have no experiences in debugging a slow network.
5 >
6 > At home, I have a router which is connected to my telephone line via
7 > VDSL2.
8 > I have 2 PCs one of which is connected by an ethernet cable (i.e.
9 > wired) while the other
10 > one uses a wireless connection which is specified as 56 Mbit/s.
11 >
12 > When copying data from one machine to the other one I see varying
13 > speeds from only 0.5 Mbits/s up to
14 > more than 20 Mbits/s. I have no idea why it is so slow some times.
15 > There are no other wireless devices nearby.
16
17 Where do you see these transfer speeds? On the wired machine, or on the
18 wireless machine?
19
20 What do you use to check the transfer speed?
21
22 Do the speeds go up when you used a Cat5e cable at full duplex?
23
24 Have you scanned for access points to be absolutely sure that there are no
25 other wireless devices, or APs?
26
27 Do you use encryption?
28
29 What frequency and channel are you on and have you tried to change
30 channel/frequency? (some domestic devices like cordless phones, wireless
31 earphones, bluetooth, microwaves, perimeter sensors, etc. can cause co-channel
32 and adjacent channel interference and/or force sharing of the bandwidth).
33
34 Are both machines and the router's LAN on the same MTU?
35
36
37 > What tools and techniques can I use to debug this situation?
38 >
39 > Many thanks for a hint,
40
41 First use ifconfig to see how many dropped packets you get on both machines.
42 Then use iwconfig, or cat /proc/net/wireless on the PC running the wireless to
43 see how many discarded packets you get, fragmentation, etc. as well as nwid
44 packets from different networks on the same frequency.
45
46 Then check with e.g. iptraf-ng what network connections are running, their
47 rate(s) and if any of these should not be there.
48
49 The router stats may also be revealing in this respect, as well as dropped
50 packets on the WiFi.
51
52 I hope the above will give something to work with, others may have better
53 ideas and more specialised tools for troubleshooting this.
54
55 PS. I haven't mentioned spectrum analysers to keep this thread within the
56 realm of quick fixes, but if you do have EM interference and the source of it
57 is obscure, you may need more professional equipment to nail this problem.
58 --
59 Regards,
60 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Slow local network - how to debug? Helmut Jarausch <jarausch@××××××××××××××××.de>