#!/bin/sh
# RUN THIS SCRIPT *BEFORE* FLASHING RC4.1
if ! grep -q DNS-320 /tmp/board; then echo "This is not for you, you don't have a DNS-320/320L box." exit 1fi
# find and remove fix filesaufs.sh -nfor i in /sbin/poweroff /usr/sbin/sysctrl /usr/sbin/dns320l-daemon \ $(awk '/\+\+\+/{print $2}' /usr/share/fixes/*.fix 2>/dev/null | \ sort -u); do if test -f /Alt-F/$i; then rm -f /Alt-F/$i fidoneaufs.sh -r
# deactivate the "boot user script"sed -i '/^USER_SCRIPT=/d' /etc/misc.conf
# save current settings to flash memoryloadsave_settings -sf
You can find RC4.1 for the DNS-320L-rev-A1/A2/A3 and the DNS-320-rev-B2 here
Please report any issue and Enjoy
After flashing and rebooting, the DNS-320-rev-Bx box will be reported as being a DNS-320L-A1. This is harmless.
I just flashed the firmware on my DNS302L-Rev A1 and everything seems to be ok, will report back if i encounter any problems.
Thanks for producing the RC4.1 build, sorry about delay in testing it.
On Wednesday, 10 December 2014 19:54:14 UTC, João Cardoso wrote:You can find RC4.1 for the DNS-320L-rev-A1/A2/A3 and the DNS-320-rev-B2 herePlease report any issue and Enjoy
Attempting to flash DNS-320-rev-B2 version using Alt-F web ui fails with error message:-
This firmware file has signature "08c1" and does not seems to be compatible with supported firmware.
Only firmware for the D-Link DNS-320-A1/A2, DNS-320L-A1, D-Link DNS-321-A1/A2, D-Link DNS-323-A1/B1/C1, D-Link DNS-325-A1/A2, Conceptronic CH3SNAS, Fujitsu-Siemens DUO 35-LR is supported.
Attempting to flash DNS-320 rev B stock firmware using Alt-F web ui fails with same error message.
I think this is because the DNS-320 rev B2 box has already been flashed with RC4 for DNS-320L-A1/A2/A3
(split/remerged using dns323-fw-box-arm), so the installed Alt-F firmware will only accept more DNS-320L A1/A2/A3 firmware
and rejects DNS-320 rev B firmware whether Alt-F or stock.
Attempt to flash DNS-320L-rev-A1/A2/A3 version using Alt-F web ui works.
After reboot to RC4.1 still get same error messages when trying to flash DNS-320 rev B firmware.After flashing and rebooting, the DNS-320-rev-Bx box will be reported as being a DNS-320L-A1. This is harmless.Not harmless, box thinks it is DNS-320L-A1/2/3 so cannot reload stock firmware for DNS-320 rev B.
Reload stock firmware should be possible after split/remerge using dns323-fw-box-arm.
Only differnce between the two RC4.1 versions is in the header, not in the flashed firmware:-
cmp -l Alt-F-0.1RC4.1-DNS-320L-rev-A1A2A3.bin Alt-F-0.1RC4.1-DNS-320-rev-B2.bin
57 114 102
63 13 14
If the two versions are kept the same then it must accept flashing both DNS-320L rev A1/A2/A3 and DNS-320 rev B1/B2 firmware, or two different versions are needed which only accept reflashing with firmware for same box.
Not sure which I prefer and do not know how many bits of code/scripts are dependent on the board type. But it would be nicer for most users if the box identifies itself as the user would expect from the label,
then no need to keep explaining why it is different.
My DNS-320 rev B2 box now running RC4.1 (flashed from DNS-320L rev A1/A2/A3 file), so far seems fairly good.
Status Page: temp/fan-speed working, hard disk correctly identified as in right slot.
Telnet working. Samba working. Blue leds seem ok, but seems strange to see orange leds on for empty usb and left-hdd.
I will fix that. Just to allow and user to flash back the D-Link 320-rev-B fw.But he might as well flash the D-Link 320L-rev-A fw (and have an upgraded box -- don't know if there is any difference in the software that D-Link ships with both boxes)
Hi Joao,I want to install RC4.1 in my DNS320L-A3.Before i do this i run the script of the first post, but i'm not sure if it runs correctly, how can i check sh runs ok?, no output its shown.
I installed RC4.1.1 in my NAS DNS320L-A3.I followed the initial wizard, all ok.Shared my smb folders, i can see these in my Windows 8.1But after some use, it gets me in any option i try this error:ReadResponse() failed: The server did not return a response for this request.I only can see the Status page and About.
I'm using Chrome, the connection with putty works, but i can't do anything with my box
A RC4.1.1 update:-This firmware is for the D-Link DNS-320L-rev-A1/A2/A3 and for the DNS-320-rev-B2.The firmware for the DNS-320L-rev-A1/A2/A3 has been tested and is safe to use.The firmware for the DNS-320-rev-B2 has been user tested and needs more positive reports.-this firmware fixes a compatibility issue with D-Link disk setup regarding swap over RAID1 and RAID plus JBOD, making it possible to use your existing disks and data without further tweaking.It also contains fixes for a few known issues found in RC4.-If you have flashed the previous RC4.1 for the DNS-320-rev-B2, this new firmware will not be accepted by the firmware upgrade webUI, you have to flash the firmware for the DNS-320L-rev-A1/A2/A3, and that will be accepted. This issue is fixed by this new firmware.The circuit boards for the DNS-320L-rev-Ax and DNS-320-rev-Bx are identical apart from a smaller amount of memory in the DNS-320-rev-Bx.-If you have already flashed Alt-F-0.1RC4 on your box, you must execute the following scriptbefore flashing this firmware:...please read the first post and the README-Experimental.txt file
Please read this Update
The README:
-This firmware is for the D-Link DNS-320L-rev-A1/A2/A3 and for the DNS-320-rev-B2.
The fw for the DNS-320L-rev-A1/A2/A3 has been tested and is safe to use, the DNS-320-rev-B2 fw has not been tested, please report back.
If you have already flashed Alt-F-0.1RC4 on your box, you must execute the following scriptbefore flashing this firmware:
#!/bin/sh# RUN THIS SCRIPT *BEFORE* FLASHING RC4.1if ! grep -q DNS-320 /tmp/board; thenecho "This is not for you, you don't have a DNS-320/320L box."exit 1fi# find and remove fix filesaufs.sh -nfor i in /sbin/poweroff /usr/sbin/sysctrl /usr/sbin/dns320l-daemon \$(awk '/\+\+\+/{print $2}' /usr/share/fixes/*.fix 2>/dev/null | \sort -u); doif test -f /Alt-F/$i; thenrm -f /Alt-F/$ifidoneaufs.sh -r# deactivate the "boot user script"sed -i '/^USER_SCRIPT=/d' /etc/misc.conf# save current settings to flash memoryloadsave_settings -sf
After flashing and rebooting, the DNS-320-rev-Bx box will be reported as being a DNS-320L-A1. This is harmless.
hi, I read this post only after the flash the firmware on my 320 rel. B, and so I do not run the script that was recommended instead. Now I find myself with a 320 that is just an ornament cute. In practice, I see it as a network device but there are no shares, the GUI is the same as the previous one, but does not accept any combination user login password but I still can not connect via telnet and ssh after reset even if do not know the password root.Volevo ask if it was possible to solve the problem in some way.
thank you in advance for your help and I apologize for the poor command of the language.
hi, I read this post only after the flash the firmware on my 320 rel. B, and so I do not run the script that was recommended instead. Now I find myself with a 320 that is just an ornament cute. In practice, I see it as a network device but there are no shares, the GUI is the same as the previous one, but does not accept any combination user login password but I still can not connect via telnet and ssh after reset even if do not know the password root.Volevo ask if it was possible to solve the problem in some way.
thank you in advance for your help and I apologize for the poor command of the language.
hi, the version of the nas is b2, the previous firmware was the latest available at d-link, the nas responds to pings. I tried to connect via putty ssh, but at the command prompt I could not come with any combination of username and password, I was able to reset the Log me effettando 320 and then linking up with putty telnet.
After 20 hours the format finished fine. I then went to create a filesystem but the web interface wouldnt work
- selected the action
and submitted but nothing happened.
I then ssh'd in and formatted md0 with fsck.ext4 then tuned it to have only 1% free blocks.
After that I was able to carry on.
The other thing was I couldnt workout how to create a directory in the web interface
so used mkdir to create one in /mnt/md0 then samba could see it and I mounted it there ok.
I have a second new Version A3 NAS - so this time I will try and document my efforts a little more
ok, the new install worked flawlessly as per the 'First time setup' (pdf of screenshots uploaded but nothing to report out of the ordinary) This was a mirrored pair of 500gb drives.
> use for house security! Dont know yet though! Hi