LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-28-2004, 10:28 PM   #1
Kristijan
Member
 
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


Hi,

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
Code:
[kristijan@desktop kristijan]$ ping gateway
PING gateway (192.168.0.1) 56(84) bytes of data.
64 bytes from gateway (192.168.0.1): icmp_seq=0 ttl=64 time=0.236 ms
64 bytes from gateway (192.168.0.1): icmp_seq=1 ttl=64 time=0.148 ms
64 bytes from gateway (192.168.0.1): icmp_seq=2 ttl=64 time=0.133 ms
64 bytes from gateway (192.168.0.1): 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
Code:
root@gateway:~# ping desktop
PING desktop (192.168.0.2): 56 octets data
64 octets from desktop (192.168.0.2): icmp_seq=0 ttl=64 time=0.3 ms
64 octets from desktop (192.168.0.2): icmp_seq=1 ttl=64 time=0.1 ms
64 octets from desktop (192.168.0.2): icmp_seq=2 ttl=64 time=0.1 ms
64 octets from desktop (192.168.0.2): 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
Code:
linux-2.6.5.tar.bz2                  100%   33MB   2.6MB/s   00:10
scp of the same file from the desktop to the gateway
Code:
linux-2.6.5.tar.bz2                  4% 1480KB  70.4KB/s   07:40 ETA
Killed by signal 2.
Thanks,

Kristijan

Last edited by Kristijan; 07-29-2004 at 02:03 AM.
 
Old 07-30-2004, 01:48 AM   #2
Kristijan
Member
 
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;

Code:
root@gateway:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:02:44:8B:94:9D
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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)
          Interrupt:12
Any suggestions?
 
Old 07-30-2004, 06:32 AM   #3
minrich
Member
 
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?
 
  


Reply


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


All times are GMT -5. The time now is 12:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration