Flashed router causes hash to change on downloaded files

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Sat Jan 28, 2017 19:08    Post subject: Flashed router causes hash to change on downloaded files Reply with quote
I recently flashed my D-Link DIR810L revA with v24-sp2 as specified in the supported versions listing. Everything seems to be working great. I have a server running ESXi with a few VMs running CentOS 7. After flashing the router, I tried to do some updates to the systems. Immediately, I get errors about the metadata hashes not matching. After doing further testing, I found this was happening a lot. For instance, I downloaded the CentOS 7 iso using a different internet connection and also with my internet connection using the DD-WRT router. I used a utility to calculate the hashes on the files and compared them to the expected hashes on the FTP site from which I downloaded them. The ISO that was downloaded on a separate connection matched perfectly but the ISO that I downloaded via the DD-WRT router did not match. I have searched the settings on the router and I have searched the forums and the googles (extensively) and I have come up with nothing that seems similar to this. Does this sound like a bug in the code? Is anyone else having a similar issue?
Sponsor
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Sun Jan 29, 2017 3:38    Post subject: Beta Build Reply with quote
Please update to the newest beta build. ftp://ftp.dd-wrt.com/betas/ If you still have a problem create a ticket on the SVN timeline: http://svn.dd-wrt.com/

Also, read the relevant build threads here on the forums.

As for the actual issue, I have no experience with hash numbers.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sun Jan 29, 2017 7:58    Post subject: Reply with quote
Do a binary file compare of the 2 .iso files to see if that gives any clue of what happened.

I have downloaded the same .iso through an Asus RT-AC66U running dd-wrt and I get the correct SHA256 hash
(27bd866242ee058b7......)

Are you wifi or cable connected to the DIR-810?

_________________
Kernel panic: Aiee, killing interrupt handler!
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Sun Jan 29, 2017 15:19    Post subject: Reply with quote
Ian - I dowloaded the latest beta from the link you provided but it appears to be the same version. The build number even stayed the same. I am still getting a different hash on the iso. The only reason I use the hash as an example is because I am not sure of any other way to explain what is happening. I am unable to download some files. Some games that automatically download content are failing (Modded Minecraft using the Curse Launcher).

LOM - That hash is what I got externally, but not downloading internally. After doing a binary comparison, it appears they are very different but I believe that may be spacing or something. I attached the results.
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Sun Jan 29, 2017 15:56    Post subject: Reply with quote
The initial problem I noticed was when attempting to update my CentOS servers. Attached is my attempt to update this morning.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Jan 30, 2017 1:02    Post subject: Reply with quote
Which is your dd-wrt build number?

How is your computer connected to the router, via wifi or via ethernet cable?

_________________
Kernel panic: Aiee, killing interrupt handler!
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Mon Jan 30, 2017 1:17    Post subject: Reply with quote
Build is 25815. I am connected via hardwire but the issue appears via wireless as well.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Jan 30, 2017 1:58    Post subject: Reply with quote
lima3 wrote:
Build is 25815. I am connected via hardwire but the issue appears via wireless as well.


Check (test with another one) DIR-810 WAN cable.

Update your old build:
ftp://ftp.dd-wrt.com/betas/2016/12-15-2016-r30949/dlink-dir810l-a1/

_________________
Kernel panic: Aiee, killing interrupt handler!
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Mon Jan 30, 2017 2:39    Post subject: Reply with quote
I have downloaded the bin files located at that location a day they do not upgrade the system even though it reports successful. I have tried multiple cables on the router tk ensure its not an issue with that
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Jan 30, 2017 3:10    Post subject: Reply with quote
ISP problem?
You used another internet connection when getting the file dl correct.

Do you have another router to swap for the DIR-810 to see if the problem persists?

For dd-wrt firmware upgrade use D-Link emergency room (google it and its usage).
Use factory-to-ddwrt file when flashing in the emergency room .

_________________
Kernel panic: Aiee, killing interrupt handler!
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Mon Jan 30, 2017 4:06    Post subject: Reply with quote
I actually downloaded the bin using my phoneson data connection disconnected from WiFi in order to ensure it wasn't the ISP. It didn't seem to change the download. I will try the emergency room you mentioned and let you know own what happens
lima3
DD-WRT Novice


Joined: 28 Jan 2017
Posts: 7

PostPosted: Fri Feb 10, 2017 2:12    Post subject: Reply with quote
Sorry that it took so long to reply. Flashing the device using the emergency flashing procedures does not appear to work. After flashing, I get alternating orange power light and green internet light. From what I've seen, this appears to indicate a problem with the firmware.

I tried a few things and after waiting a few days, I noticed that new versions had been released. I was able to re-flash using version DD-WRT v3.0-r31277 std (02/07/17) and it all appears to be working now. Downloaded the CentOS 7 iso as before and ran through the hash program. It matches the good versions of the hash.

In the end, all appears to be fixed. Thanks for all of your help!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum