LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2016, 12:19 PM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled

IP address conflict? How is your Pi network configured?
 
Old 11-26-2016, 12:30 PM   #17
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
So I moved the Pi away from the router, but no improvement.
@Emerson: sorry for the dumb question but what do you mean by how my Pi is configured? Internal IP of the Pi is 192.168.2.103.
 
Old 11-26-2016, 12:33 PM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
So is there another node on your network with same IP address?
 
Old 11-26-2016, 12:38 PM   #19
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
So is there another node on your network with same IP address?
No, all other devices use another IP address. The IP Range is set to 192.168.2.0/24.
 
Old 11-26-2016, 12:59 PM   #20
af7567
Member
 
Registered: Nov 2012
Posts: 293

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by primefa View Post
So I moved the Pi away from the router, but no improvement.
I would say there is some electrical interference coming from some part of the pi since it is degrading your routers connection to the internet. If it only happens when the pi is connected by ethernet (and not just when the pi is turned on) then the interference could be making its way down the ethernet cable to the router.
 
Old 11-26-2016, 02:17 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,738

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
mii-tool is deprecated and looks like it is giving you false information since the Pi only has a 10/100 ethernet adapter. You should use the ethtool instead. Are you only connecting the Pi only via ethernet? What happens when you connect via wireless?

I suspect the Pi has a hardware problem with its ethernet adapter. If you have changed cables and switched router ports then the only common item is the Pi.
 
Old 11-26-2016, 02:59 PM   #22
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Connected the power supply to the Pi and waited for it to start. Waited a minute and no sign of speed loss on my network. So the option mentioned by af7567 could be valid.

I was using the whole time, the Pi over ssh. Now I only attached my HDMI cable, my usb mouse and my usb keyboard (both wired) to the pi (so no internet connection), and something really strange happened.
My router lost the connection to the internet and reconnected itself as before, but this time I went from 8,1 MBit/s to 5,4 MBit/s on the whole network.

The ethernet cable was not connected and the wifi was off, so there was no internet connection on the Pi.

Update: if I connect the Pi via Wifi, my router does not reconnect, but the speed remain at 5,4 MBit/s instead of 8 MBit/s.

Last edited by primefa; 11-26-2016 at 03:01 PM. Reason: Update
 
Old 11-26-2016, 03:33 PM   #23
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
So I tried to do some HW troubleshooting, as far as it makes sense, what I did here.

1. Power supply, HDMI, USB mouse and keyboard (wired). WiFi disabled -> 5,4 Mbit/s
2. Power supply, HDMI, USB mouse and keyboard (wired). WiFi enabled -> 5,4 Mbit/s
3. Power supply, HDMI. WiFi Disabled -> 5,4 Mbit/s
4. Power supply, HDMI. WiFi enabled -> 5,4 Mbit/s
5. Only power supply. WiFi Disabled -> 7,1 Mbit/s
6. Only power supply. WiFi Enabled -> 7,1 Mbit/s

In every option the Ethernet cable was not attached.

So what I think is that the HDMI connector is causing this problem. But this does not explain why when the ethernet cable is attached, there is so much bandwidth loss, and it doesn't explain this 1 Mbit/s which is still missing to reach the normal bandwidth.

What are your more experienced opinions? Is there any other test I could do to figure out the solution?

Update: If I attach the Ethernet cable too, the speed drops again. The best situation I have is with the power supply attached, HDMI attached, WiFi disabled: 2,6 Mbit/s.
So its the opposite of before, where if I detached the HDMI cable the speed went similar to normal (7,2 Mbit/s).

Could this two things be correlated?

Last edited by primefa; 11-26-2016 at 04:16 PM. Reason: Update
 
Old 11-26-2016, 06:52 PM   #24
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,738

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
How far is the pi from any computer cabling? If it is RFI then covering the pi with a metal cover of some type might help. Their could be leakage from the cables.
 
Old 11-27-2016, 08:38 AM   #25
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,358

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
Hardware bottlenecks are a possibility, and very difficult to solve.If everything's going into one big chip which may be passing video, memory access or whatever, and you're using all these things, expect trouble. The chip will only make one access at a time.
 
Old 11-27-2016, 10:31 PM   #26
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
For what it's worth. My raspi 3 can speedtest 167Mbps over wifi when I run the test via proxying through the pi with another computer (via ssh -ND ...). I have an 802.11ac router. My internet speed is 225Mbps so it's safe for me to say I maxed out the speed of my Pi using it as a SOCKS proxy. My raspi power supply unit (PSU) is 5.25V/1000mA.

What kind of power supply do you have? Can you describe more about the specs of your raspi power supply? Model number and voltages/amps of your PSU would be helpful.

I've heard people having issues with power supplies that aren't designed well for this application.

Last edited by sag47; 11-27-2016 at 10:40 PM.
 
1 members found this post helpful.
Old 11-28-2016, 03:41 PM   #27
primefa
LQ Newbie
 
Registered: Nov 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
After a lot of troubleshooting, I finally found the cause of my problem.
My Raspberry Pi power supply, was causing some interferences with the router, for this reason the bandwidth was reduced.
Many thanks to all who helped me to solve this problem.
 
Old 11-28-2016, 03:50 PM   #28
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,137

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
The pi 3 has higher power requirements than previous models - using an older power supply is specifically warned against.
FWIW I have had no issues using a pi 3 for a firewall/router in front of my network.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A windows PC slows down my network OpenJacob Linux - Networking 4 12-16-2010 12:19 AM
server slows down network torrent478 Linux - Networking 2 04-29-2008 06:36 PM
network slows down until wifi is turned off esteeven Linux - Wireless Networking 2 10-05-2006 04:58 AM
Network automatically slows down! matt2ss Linux - Networking 6 10-02-2006 01:22 PM
Network slows down system davecs Linux - Software 10 07-13-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration