The download speed on my Pi is somehow almost dead (working in Bytes/sec and then gets stalled). I tried downloading files through wget, download files over LAN using scp, using rsync and yet it's all the same.
While, from my laptop, if I try downloading some file FROM my Pi, it is working at full speed. Also, if I upload from Pi to laptop using
scp, it is working fine.
I also tested my SD Card performance and it was all fine. I tested my SD Card using this command:
dd if=/dev/zero of=test.tmp bs=500K count=1024 oflag=direct
What could be the possible problem?
I've looked at many other similar questions posted before. Nothing has helped so far.
PS: My Pi is currently at a distance of a few kilometers connected at a client using long-distance router. So, I can't access it physically right now.
This problem continues to trouble. I'm adding more details.
I have setup a WiFi mesh network spanning a few kilometres, connected using Ubiquiti Routers. For the mesh, I have one base-station with a big Ubiquiti router. Several clients are connected to this base-station. On the client-side, I have a smaller Ubiquiti Router, which is providing the connection to the Raspberry Pi.
For quite some time, I has believed that the slow download speed might have been because of some wrong settings in Ubiquiti. But, in one of the clients I had installed Intel Galileo. And it is working perfectly. So now, it is sure that there is some problem in RPi itself. Can anyone guide me towards some direction as to where the fault in RPi might lie?
Also note that when I use my Pi directly with my laptop, with no Ubiquiti setup in between, then its speed is fine. So, the problem has to lie somewhere in the combination of Pi and my Ubiquiti setup.