Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 16:24:41 +0100
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        "E. J. Cerejo" <ejcerejo@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Slow Transfers between FBSD box and Laptop
Message-ID:  <20020506162441.A16884@fishballoon.dyndns.org>
In-Reply-To: <20020506141112.38024.qmail@web13208.mail.yahoo.com>; from ejcerejo@yahoo.com on Mon, May 06, 2002 at 07:11:12AM -0700
References:  <20020506141112.38024.qmail@web13208.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 06, 2002 at 07:11:12AM -0700, E. J. Cerejo wrote:
> I'm trying to find out why whenever I use PuTTy's psFTP from my laptop
> running win2k I can only tranfer the file at an average of 40 Kbs when
> both NICs are 100 Mbs.  I'm running FreeBSD 4.5 Stable, I have an Intel
> PRO / 100+ Management Adapter in the FreeBSD machine and an IBM 10/100
> Ether Jet Card Bus Adapter in my Laptop running win2k.  Here's the output
> of ifconfig:
> 
> fxp0:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
>         inet 172.16.0.1 netmask 0xffff0000 broadcast
> 172.16.255.255
>         inet6 fe80::2a0:c9ff:fed9:7b97%fxp0 prefixlen
> 64 scopeid 0x1 
>         ether 00:a0:c9:d9:7b:97
>         media: Ethernet autoselect (100baseTX
> <full-duplex>)
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
> 16384
>         inet6 ::1 prefixlen 128 
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
>         inet 127.0.0.1 netmask 0xff000000 
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
> tun0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1500
>         inet6 fe80::2a0:c9ff:fed9:7b97%tun0 prefixlen
> 64 scopeid 0x6 
>         Opened by PID 386

Are you using a hub/switch or just a crossover cable between the two
machines?  In the first case, does your hub/switch agree that the link is
in 100Mbit full duplex mode?  Ditto for the Windows machine -- there's
probbly an Intel control panel applet that will tell you what mode the
EtherJet is in.  For a direct cable connection you need to make sure that
both cards are in the same mode.  Disagreement over duplex modes seems to
be the commonest cause of this kind of problem.

> I'm using psFTP to transfer files which I think uses
> ssh, could this be the 
> problem?  If it is what is the simplest way of
> transfering files at the 
> fastest speed possible between these two NICs.  Does
> anyone have any ideas to 
> try?  Thanks.

It's unlikely that the overhead of ssh is slowing things down *that* much.
I find that the easiest way to moves files between my Wndows and BSD
machines is to run Samba on the BSD boxen.

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020506162441.A16884>