NSA-310 TDC firmware

Marvell Kirkwood based
Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: NSA-310 TDC firmware

Post by Mijzelf » Wed Apr 18, 2012 6:42 pm

You're welcome.

A list of compatibility checks:
  • Do the leds work as they should?
  • The button(s)?
  • The fan?
  • Do the temperature and fan values in the webinterface show reasonable values?
  • Do the USB ports work?
BTW, strange that your firmware is now (AFN0). So it seems that this is imposed by the board, and not by the firmware. Then why does ZyXEL always put it in the firmware name?

s053012
Posts: 10
Joined: Tue Apr 17, 2012 11:07 am

Re: NSA-310 TDC firmware

Post by s053012 » Thu Apr 19, 2012 6:42 am

It seems I've caused some confusion:
s053012 wrote:The flashed firmware version is 4.40(AFN0)C0, although this is listed as 'undefined' in the 'FW Upgrade' section of the web GUI.
Mijzelf wrote:BTW, strange that your firmware is now (AFN0). So it seems that this is imposed by the board, and not by the firmware. Then why does ZyXEL always put it in the firmware name?
I was wrong in the first place. The firmware version that I flashed was the standard 4.40(AFK0)C0 which is also what the web GUI reports now. Have a look at the screen shot below:

Image

The compatibility checks:
  • Leds work
  • Power and copy buttons work
  • The fan spins
  • Temperature and fan rpm data is updated in the web GUI with what appears to be correct values
  • Both USB ports work
And the ZyXEL NAS Starter Utility works flawlessly together with the NSA310 now. Thanks again for your help!

Secret6
Posts: 2
Joined: Thu Mar 08, 2012 9:20 am

Re: NSA-310 TDC firmware

Post by Secret6 » Fri Apr 27, 2012 5:26 am

Sounds really cool!!! Could you please make a easy guide?

DrDice
Posts: 12
Joined: Wed Apr 13, 2011 2:20 pm

Re: NSA-310 TDC firmware

Post by DrDice » Sun Apr 29, 2012 7:25 am

indeed.

a small guide would be very nice :D

s053012
Posts: 10
Joined: Tue Apr 17, 2012 11:07 am

Re: NSA-310 TDC firmware

Post by s053012 » Fri May 04, 2012 10:32 am

Posting a guide for this kind of hack would be against the forum rules, but all the information you need to do what I did should be in the thread.

whocares
Posts: 1
Joined: Tue Jun 05, 2012 1:10 pm

Re: NSA-310 TDC firmware

Post by whocares » Tue Jun 05, 2012 1:20 pm

i followed what Mijzelf and s053012 (DTU ?) wrote on this page, but now i can't go any further without help.

I extracted the files from the img file as Mijzelf describer [Posted: Wed Apr 18, 2012 9:27 am]
But now i cannot get the gui to work anymore, but i dont understand what s053012 men with his post [Posted: Wed Apr 18, 2012 11:27 am] to solve the problem, by reloading the modified sysdisk.img - if its the 440AFK0C0 file being linked to, i cannot mount it, and therefore not open it in a hex editor :(

Anyone here who could help me?

Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Wed Jun 13, 2012 5:08 am

Hi..

I was reading your discussion here and tried to make my unit to work, but there is no way for me to make a new "Upgrade_C0" file.
Is there someone here kind enough to make me a md5 hash of my usb_key_func.sh so I can try to get my unit to work? Maybe s053012??

Thanx :)

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: NSA-310 TDC firmware

Post by Mijzelf » Thu Jun 14, 2012 3:57 pm

I have 'written' an 'universal' usb_key_func.sh, you can find it here. Extract it to the root of your stick, and it will call a script usb_key_func.sh.2. In this script you can put whatever you want.
Let me know if it works for you.

Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Thu Jun 14, 2012 4:25 pm

Mijzelf wrote:I have 'written' an 'universal' usb_key_func.sh, you can find it here. Extract it to the root of your stick, and it will call a script usb_key_func.sh.2. In this script you can put whatever you want.
Let me know if it works for you.
I tried it and it is not working for me. I moved the original usb_key_func from nsa310_fw to root and added .2 to file extension. To the file I added a line for logging and one to bypass version checking. I think that the script still is checking for a valid md5 hash, but I don't know how to remove that checking..
I have TDC HomeDisk (NSA310) and I am trying to install the original Zyxel firmware with USB flash.

Is it neccesery to delete the harddisk, make changes and add some of your files? I do not have the ttl cable :(

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: NSA-310 TDC firmware

Post by Mijzelf » Thu Jun 14, 2012 6:00 pm

The idea is that you keep the original usb_key_func.sh in it's own subdirectory and write an own usb_key_func.sh.2:

Code: Select all

#/bin/sh
/mnt/parnerkey/nsa310_fw/usb_key_func.sh
exit 1
Make sure the file has unix lineendings. For Windows, PsPad can do so.

BTW, did you read the README in the zip?

Pokeras
Posts: 7
Joined: Wed Jun 13, 2012 5:01 am

Re: NSA-310 TDC firmware

Post by Pokeras » Thu Jun 14, 2012 6:05 pm

Yup! I did read the README and changed the file name etc.
I wasn't aware that I had to make a new sh.2 file :)

But I just tried the original USB upgade files and somehow, they do NOT work anymore :roll:
The system LED just keeps flashing.. The others are like normal..

enerdk
Posts: 11
Joined: Sat Jun 16, 2012 5:53 pm

Re: NSA-310 TDC firmware

Post by enerdk » Sun Jun 17, 2012 6:17 pm

Hi all,

I am trying to make the same 'upgrade' as s053012, and ive gotten so far viewtopic.php?f=249&t=4843&start=30#p24581..
But then it seems that im running in to some problems :?

I cannot get access the webmanagement on <ip of NAS>/zyxel/loginwrap.html even after physically pressing the reset button.
But the welcome screen is zyxels page with nsa320 login. (tried username: admin, nsa310, nsa320 and ZyXEL. passwd: 1234)

I cannot get my usb stick to work, there no logfile after reboot.. the only things there seems to be happening is that the nsa310 copies the usb_key_func.sh from nsa310_fw to root of usb.

I have downloaded the firmware (440AFK0C0.bin) from zyxel page and im making the usb stick with the tools from build_NSA310.tar.gz

I cant find anything about creating a Upgrade_C0 file.. is it because i need to rename the checksum file to Upgrade_C0 after making it.. as it is descriped in http://zyxel.nas-central.org/wiki/Usb_k ... _to_use_it

the script for usb_key_func.sh http://wass-heilesen.dk/rene/tdc-homedi ... 10-script/


Best regards.

EnerDK

enerdk
Posts: 11
Joined: Sat Jun 16, 2012 5:53 pm

Re: NSA-310 TDC firmware

Post by enerdk » Tue Jun 19, 2012 7:00 pm

No one?? is this topic dead??..

I have made a serialport cable from this link http://3.bp.blogspot.com/_JE4GMReEeGU/S ... 2320kf.jpg and it works pefect and i can now see the error from boot..

sda
sdb
checking sda
Trying to mount /dev/sda1
checking sdb
Trying to mount /dev/sdb1
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
md5sum: WARNING: 1 of 1 computed checksum did NOT match
md5 check error
Press ENTER to continue...

Starting zylogd...
zylog starts.
Starting uamd...
Starting ZySH daemon and client...
Start NSA-220 system daemon....
Start ZySH daemon
zyshd: version 2.0.0 (build: 11:39:50 Aug 19 2010)

I will try to rename checksum file to Upgrade_C0 and see if it does the trick :?:

/enerDK

enerdk
Posts: 11
Joined: Sat Jun 16, 2012 5:53 pm

Re: NSA-310 TDC firmware

Post by enerdk » Tue Jun 19, 2012 7:36 pm

The result of renaming the checksum did something but not all:

Boot from disk
Checksum of sysdisk.img : 8682c74b2362b2b2d3a5cdd80f2b49cd
Checksum from INFO : 8e0520891b591e24f49b863064402a9d
Checksum pass!
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
\0x1b[033mMount system disk image ...\0x1b[0m
cp: /ram_bin/bin/*: No such file or directory
yaffs: dev is 32505860 name is "mtdblock4"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
yaffs_read_super: isCheckpointed 0
/etc/zyxel/conf exist..
/etc/zyxel is already a 320 conf
Start rcS2 of ZyXEL style
\0x1b[031m*** Stage 3: Start services on HDD ***\0x1b[0m
NTFS driver 2.1.28 [Flags: R/O MODULE].
tntfs: module license 'Commercial' taints kernel.
Tuxera NTFS driver 3010.6.16 [Flags: R/W MODULE].

Besides I still dont have root acces / webinterface access, wrong username or password :cry:

/enerDK

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: NSA-310 TDC firmware

Post by Mijzelf » Wed Jun 20, 2012 6:03 pm

If that is the complete bootlog, your serial cable doesn't work as good as it should.

Your first log shows that the checksum file on the stick is wrong, but the second one doesn't show an attempt to mount the usb stick at all.

Post Reply