Announce: Alt-F-1.0.1 bug fix release for the DNR-322L

504 views
Skip to first unread message

João Cardoso

unread,
Nov 14, 2019, 11:08:56 AM11/14/19
to al...@googlegroups.com
Alt-F-1.0.1 is a bug fix release only for the DNR-322L.

Thanks to Viktor and Ronaldo Antoni for their colaboration and work
that made it possible, as I don't have a DNR-322L myself.

Alt-F-1.0.1 is identical to Alt-F-1.0 in all aspects except that:
 -it identifies the box as a DNR-322L and not as a DNS-320,
 -it allows flashing firmware built for the DNR-322L,
  either future Alt-F releases or the D-Link firmware.
 -fixes the flash memory partition layout, recovering the box correct network
  MAC addresses if the Alt-F-1.0 Firmware Upgrade webUI has never been used before.
 
Users that are running the D-Link firmware can flash it directly.

Users that are running Alt-F-1.0 must apply two fixes first:
 Using the menu go to System->Utilities, Fixes, hit the UpdateList button,
 then under "Select one" select
1.0-003-webUI_support_flashing_DNR_322L_firmware_files.fix
 then hit the Apply button.
 The 1.0-001-support_DNR_322L_firmware_files.fix will also be automatically applied.
 Fixes details are briefly described when hitting the Details button.

Fixes will survive a reboot or power off as they are installed on disk under
the Alt-F folder, and are necessary for flashing new firmware, so disks must
be present at the next step.

You can then go to System->Firmware and upload the Alt-F-1.0.1-DNR-322L-rev-Ax.bin
firmware and the corresponding .sha1 download verification files.
After uploading, the message

Everything looks OK.
Your box is a DNR-322L-Ax and this firmware is for the DNR-322L-Ax.

should be displayed and the FlashIt button be hit.
If that message is not displayed, please review your steps and report it in the forum

 Enjoy,
 Joao Cardoso

Viktor Solis

unread,
Nov 15, 2019, 3:45:56 PM11/15/19
to al...@googlegroups.com
Hi João,

I tried the fix, but it did not work for me. From Alt-F 1.0.0, with both fixes applied, the web UI was throwing the same error 1821, even after a reboot. This is with an ext3 formatted hard drive in one of the bays.

Flashing from D-Link firmware to Alt-F 1.0.1 worked without a problem. I will try again to debug this when I get home.


On Thu., Nov. 14, 2019, 11:08 João Cardoso, <whoami...@gmail.com> wrote:
Alt-F-1.0.1 is a bug fix release only for the DNR-322L.

Thanks to Viktor and Ronaldo Antoni for their colaboration and work
that made it possible, as I don't have a DNR-322L myself.

Alt-F-1.0.1 is identical to Alt-F-1.0 in all aspects except that:
 -it identifies the box as a DNR-322L and not as a DNS-320,
 -it allows flashing firmware built for the DNR-322L,
  either future Alt-F releases or the D-Link firmware.
 -fixes the flash memory partition layout, recovering the box correct network
  MAC addresses if the Alt-F-1.0 Firmware Upgrade webUI has never been used before.
 
Users that are running the D-Link firmware can flash it directly.

Users that are running Alt-F-1.0 must apply two fixes first:
 Using the menu go to System->Utilities, Fixes, hit the UpdateList button,
 then under "Select one" select
1.0-002-webUI_support_flashing_DNR_322L_firmware_files.fix
 then hit the Apply button.
 The 1.0-001-support_DNR_322L_firmware_files.fix will also be automatically applied.
 Fixes details are briefly described when hitting the Details button.

Fixes will survive a reboot or power off as they are installed on disk under
the Alt-F folder, and are necessary for flashing new firmware, so disks must
be present at the next step.

You can then go to System->Firmware and upload the Alt-F-1.0.1-DNR-322L-rev-Ax.bin
firmware and the corresponding .sha1 download verification files.
After uploading, the message

Everything looks OK.
Your box is a DNR-322L-Ax and this firmware is for the DNR-322L-Ax.

should be displayed and the FlashIt button be hit.
If that message is not displayed, please review your steps and report it in the forum

 Enjoy,
 Joao Cardoso

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/e021793d-0c06-40d5-9443-3b065c9aeca3%40googlegroups.com.

Joao Cardoso

unread,
Nov 15, 2019, 9:40:30 PM11/15/19
to Alt-F


On Friday, November 15, 2019 at 8:45:56 PM UTC, Viktor wrote:
Hi João,

I tried the fix, but it did not work for me. From Alt-F 1.0.0, with both fixes applied, the web UI was throwing the same error 1821, 

It seems that I have screwed it up (the 002 patch).  I will take a look tomorrow.


Flashing from D-Link firmware to Alt-F 1.0.1 worked without a problem. I will try again to debug this when I get home.


João Cardoso

unread,
Nov 16, 2019, 12:41:49 PM11/16/19
to Alt-F


On Saturday, 16 November 2019 02:40:30 UTC, Joao Cardoso wrote:


On Friday, November 15, 2019 at 8:45:56 PM UTC, Viktor wrote:
Hi João,

I tried the fix, but it did not work for me. From Alt-F 1.0.0, with both fixes applied, the web UI was throwing the same error 1821, 

It seems that I have screwed it up (the 002 patch).  I will take a look tomorrow.

I think that the fix has now been fixed, please try again. 

The 002 fix has been removed from the fixes repository, and when the UpdateList button is hit it will be rolled back if applied; fix 003 takes its place and should be applied.

Something that I can't test is the flashing procedure, and I will appreciate feedback on this, particularly screen shots at the various stages.
 As you know, the box is identified as a DNS-320-revA. The way I found to detect that it is really a DNR-322L is to look at its MAC address, as Ronaldo reported it to be random after each boot.
So, with Alt-F-1.0 running, the command

nanddump -ql 2048 /dev/mtd4 | grep -E '..(:..){5}'

should display nothing, and that is what makes displaying the message "Your box is a DNR-322L-Ax and this firmware is for the DNR-322L" possible (otherwise, the box will be identified as a DNS-320-rev-A).
After 1.0.1 being flashed, and if Alt-F Firmware Updater has never been used to flash anything, the above command will display the box real MAC, as printed in the box bottom or back label. If the Firmware Updater has been used, the MAC has been erases from the flash and another (simple) procedure is needed to recover it. Depending on reports a new topic will be opened.

So, does it works now?

Ronaldo Antoni

unread,
Nov 16, 2019, 12:58:22 PM11/16/19
to al...@googlegroups.com
I have no access to my dnr!  I will inform you about the update soon.

Ronaldo Antoni
(54)999.798.920

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.

Viktor

unread,
Nov 16, 2019, 2:29:47 PM11/16/19
to al...@googlegroups.com
The fix has indeed been fixed. ;-)

Here are screenshots of the flashing procedure:

screen1.PNG

screen2.PNG

screen3.PNG

screen4.PNG


The command nanddump -ql 2048 /dev/mtd4 | grep -'..(:..){5}'
displayed nothing under Alt-F-1.0, while it displayed my box-printed MAC under Alt-F-1.0.1

Apparently, after all the flashing that has been done on my box (D-Link web UI, Alt-F web UI, u-boot serial connection, telnet), my MAC address has not been erased from flash.

Well done, João. Cheers!

João Cardoso

unread,
Nov 17, 2019, 2:55:43 PM11/17/19
to Alt-F


On Saturday, 16 November 2019 19:29:47 UTC, Viktor wrote:
The fix has indeed been fixed. ;-)

hehe...  Baron Munchausen claimed that he reached the moon that way :-)
 

Here are screenshots of the flashing procedure:
...
 
The command nanddump -ql 2048 /dev/mtd4 | grep -'..(:..){5}'
displayed nothing under Alt-F-1.0, while it displayed my box-printed MAC under Alt-F-1.0.1


Thanks Viktor, everything now works as expected on the DNR-322L.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages