Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-28-2004, 10:28 PM   #1
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Question Strange speeds copying files to gateway machine


I seem to have a speed issue when copying to and from my desktop machine and my gateway.

Both machines have 10/100Mb ethernet network cards. Now, when I scp a file from my gateway to my desktop, I rougly get around 2+ MB/s, which seems reasonable. When copying vice versa (from desktop to gateway) I can only get speeds up to 50KB/s.

I just rescently changed the NIC in my gateway machine from a 10MB card to a 10/100MB one. I seemed to be getting better speeds with the 10MB card for some reason.

Has anyone else delt with this issue, or know of a way I can get around it, and is there a command that will tell me what speed the operating system detects the network cards at.

Below I have posted some stats.

Pinging the gateway from my desktop
[kristijan@desktop kristijan]$ ping gateway
PING gateway ( 56(84) bytes of data.
64 bytes from gateway ( icmp_seq=0 ttl=64 time=0.236 ms
64 bytes from gateway ( icmp_seq=1 ttl=64 time=0.148 ms
64 bytes from gateway ( icmp_seq=2 ttl=64 time=0.133 ms
64 bytes from gateway ( icmp_seq=3 ttl=64 time=0.131 ms

--- gateway ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.131/0.162/0.236/0.043 ms, pipe 2
Pinging the desktop from my gateway
root@gateway:~# ping desktop
PING desktop ( 56 octets data
64 octets from desktop ( icmp_seq=0 ttl=64 time=0.3 ms
64 octets from desktop ( icmp_seq=1 ttl=64 time=0.1 ms
64 octets from desktop ( icmp_seq=2 ttl=64 time=0.1 ms
64 octets from desktop ( icmp_seq=3 ttl=64 time=0.1 ms

--- desktop ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.3 ms
scp of a file from the gateway to the desktop
linux-2.6.5.tar.bz2                  100%   33MB   2.6MB/s   00:10
scp of the same file from the desktop to the gateway
linux-2.6.5.tar.bz2                  4% 1480KB  70.4KB/s   07:40 ETA
Killed by signal 2.


Last edited by Kristijan; 07-29-2004 at 02:03 AM.
Old 07-30-2004, 01:48 AM   #2
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Original Poster
Rep: Reputation: 30
An ifconfig from the gateway machine shows some errors;

root@gateway:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:02:44:8B:94:9D
          inet addr:  Bcast:  Mask:
          RX packets:163487 errors:2051 dropped:0 overruns:0 frame:0
          TX packets:605076 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:12516021 (11.9 Mb)  TX bytes:875301303 (834.7 Mb)
Any suggestions?
Old 07-30-2004, 06:32 AM   #3
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
What distro or OS is running in each machine?

How is your network set up (Fixed IP)?

Does each machine correctly recognize the NIC installed?

Do you have ethereal installed and can you capture and analyse where the errors are?

What sort of internet connection are you using (modem/DSL/cable)?

What settings do you have for default gateway and DNS?

Is DHCP running and/or are you using it?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
Strange Problem: Install freezes on format of HDB7 or copying files to HDB7 cowboy45 Mandriva 0 08-18-2004 11:26 PM
slow speeds opening files through samba via web. bfranco Red Hat 0 05-27-2004 08:08 PM
Reading data from floppy (on Linux) and copying to Windows Machine yrraja Linux - General 1 07-30-2003 08:36 AM
how do i use my linux machine to be a gateway for a windows machine? Sanjuro Linux - Networking 2 02-09-2002 04:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:17 PM.

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