LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-19-2004, 05:03 AM   #1
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15
Question md5sum : 1 out of 4 is wrong!


I used star downloader on a windows system to get the iso image files from my local mirror.
Only 1 of the final images had a good md5 sum.

What went wrong? Surely it cant be a hacker. Is it just a poor adsl line or what? These are the md5 sums of the image files before being burnt to cd...
 
Old 10-25-2004, 03:10 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
If the MD5sum differe then the images are corrupt.
Try downloading with another program.
 
Old 10-25-2004, 05:06 PM   #3
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
the program probaly sucks, plain and simple. Try it with a web browser, also well respected programs like getright are usually good about grabbing verbatim copies.
 
Old 10-26-2004, 08:45 AM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
To retrieve the files using linux you could try the wget command.
 
Old 10-26-2004, 09:04 AM   #5
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 254

Rep: Reputation: 34
You probably just used the browser to download the iso images. You have just learned empiracally that http, the browser protocol is far from exact. When you download iso images or something you want to be exactly right use ftp, wget, rsync as your method of download. Browsers are convenient, but inaccurate. When you look at a web page, it doesn't matter too much. When you download software, accuracy is critical.
 
Old 11-01-2004, 10:05 PM   #6
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
yes, but HTTP is [currently] built on top of TCP (OSI model ), which will assure we receive a verbatim copy of everything. Also, TCP uses a checksum, as does IP just below it. I don't see why ftp would be any different than HTTP. Does it implement yet another hash

Last edited by karlan; 11-01-2004 at 10:06 PM.
 
Old 11-02-2004, 05:03 AM   #7
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
HTTP and FTP both benefit from the error control built into the TCP protocol, in contrast to TFTP that uses UDP.
I would say that even though FTP was designed for files transfer HTTP is better. Why?
FTP rely on two network connections, one for data transfer and the other for commands to and from the server.
FTP support two modes, ASCII and binary. Sending anything other than a plain text file using ASCII will ruin the file without telling you.
 
Old 11-02-2004, 06:18 PM   #8
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
thats retarded, it needs to open two different ports?!!!!
I also think any ASCII transfers should be done client-side, NOT server!

Last edited by karlan; 11-02-2004 at 06:20 PM.
 
Old 11-02-2004, 07:37 PM   #9
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 254

Rep: Reputation: 34
All I can tell you is when I downloaded disks using http, I got very few correct md5sums. When I switched to ftp, wget, rsync or in the case of Debian jigdo-lite, I have never had a failed download. I have just downloaded all 14 sarge disks. All gave the correct md5sum.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3: Media test pass - but MD5SUM is wrong Vikinghat Fedora - Installation 9 10-24-2006 05:58 AM
binutils - wrong md5sum Tuttle Linux From Scratch 3 11-16-2005 07:45 AM
cp changes md5sum kel_en Mandriva 0 07-05-2005 09:44 AM
Different md5sum no. BW~Merlin Linux - Newbie 1 11-24-2004 05:48 AM
Md5sum? Shabadu Linux - General 2 07-22-2003 01:51 PM


All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
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