Hi,

This may not be relevant, but do you know that your linux box
can FTP to *anywhere* on your LAN at a decent speed (like
800 kbytes/sec).

I mention this because I had a slowness problem for quite a while,
and it turned out my PC had left the factory with its 
ethernet card set to full duplex.

Unless you are connected directly to a switch, half-duplex
is what you want.

Eddie.

PayPC System Mail Subscriber wrote:
> 
> fred orispaa said in [netatalk-admins] mac to linux file transfer at
> 06/Apr/1999 (Tue) 17:12:23.
> 
> > i also tried setting up the mac as an ftp server, and ftping it from the pc
> > using root, which works, but for some reason transfers are shoddy at best. it
> > connects and starts up transfers, but will transfer about a meg, then pause
> > for
> > a minute or two, transfer another meg, pause, etc, until around 5 megs when
> > it
> > just times out. this is over 10mb ethernet, kernel 2.0.36, and system 7.5.1.
> 
> You didn't say what FTP server you ran on the Macintosh.
> 
> > i just downloaded afpfs and will try that now but judging by what ive read
> > and heard it wont even compile, and even if it did, it wont work on a small
> > lan such as mine.
> > so:
> > 1) how can i allow write permissions on my dos partitions for users other
> > than
> > root?
> 
> Ah!  man mount is your friend.  I'll snip the relevant portion:
> 
> Mount options for fat
>        (Note: fat is not a separate filesystem, but a common part
>        of the msdos, umsdos and vfat filesystems.)
> 
>        uid=value and gid=value
>               Set the owner and group of all files. (Default: the
>               uid and gid of the current process.)
> 
>        umask=value
>               Set the umask (the bitmask of the permissions  that
>               are  not  present). The default is the umask of the
>               current process.  The value is given in octal.
> 
> So, you can setup gid=100 (or whatever your users group # is), and the
> umask=770, and voila!
> You now have write access!
> 
> > 2) why does ftp choke like this on transfers and how can i fix it?
> 
> This sounds like a Macintosh-side problem.  If you're having mega-lags every
> 1MB, that's suspiciously like a Disk Cache size interval... maybe your drive
> is mega-fragmented on the Mac-side....  You say it persists for a minute or
> so?  Unless your hard drive is hella-slow, and mega-fragged, it shouldn't
> take that long to write 1MB.
> 
> Do a disk check, run a new Disk First Aid (the 1.6.x or newer) and repair the
> volumes in question, etc, etc.
> 
> Failing that, it could be a network setup problem.
> 
> Myself, to/from my PowerMac 8500/120 with FTP [Fetch, set to 32k buffers] to
> a Linux 2.0.36 machine equipped with a 3Com Vortex/Boomerang [PCI] netcard
> (we have only 10BT alas), I get the ethernet theoretical limit of xfer rates
> [until my Disk Cache on the Macintosh dumps - and even then, I'll sustain
> nearly 1MB/sec for a 100MB file, say].
> 
> Whatever the net chip Apple used starting with the PCI Powermacs is
> definitely a decent one.  The ones in the Nubus PowerMacs are just OK.
> 
> =R=

Reply via email to