Re: Ethernet data corruption?

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Mon Jan 28 2002 - 14:58:45 EST


On 28 Jan 2002, Kevin Breit wrote:

> Hi,
> The other night, my friend was sending me a video over the internet.
> We tried http, ftp, and other protocols, using different download
> applications. It seemed to be corrupt, the same way, everytime. It
> wouldn't work, and had a different md5sum than the "good" version on my
> friend's computer. Eventually we got it working.
> The same issue came up again today. I uploaded my Java project on my
> professor's server and it gives me an error. However, if I load the
> html file with the Java applet in my web browser from this hard disk
> (instead of from the prof's), it works.
> I am wondering if there is some sort of corruption going on here. I am
> using Red Hat's 2.4.9-21 kernel.
>
> Thanks
>
> Kevin Breit
>

Every TCP/IP data packet is check-summed. Every Ethernet packet has
a CRC. If you have data corruption it is caused either by a memory
error or, most likely, you did not set the ftp data-transfer mode
to binary `set bin` when you have the 'ftp>' prompt.

Also, text-files (Java Script) on DOS-based stuff (like windows) use
both a '\r' and a '\n' at the end of each line. Unix/Linux uses '\n'
only. I am pretty sure this is not a kernel issue.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (797.90 BogoMips).

    I was going to compile a list of innovations that could be
    attributed to Microsoft. Once I realized that Ctrl-Alt-Del
    was handled in the BIOS, I found that there aren't any.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:52 EST