In the package Tweaks the startscript contains this snippet:
Code: Select all
[ -f /firmware/mnt/info/modelid ] && TWEAKS_MODEL=$( cat /firmware/mnt/info/modelid )
[ -f /zyxel/mnt/info/modelid ] && TWEAKS_MODEL=$( cat /zyxel/mnt/info/modelid )
The first line is for fw5 devices, and the 2nd one is for fw4, when I'm not mistaken. TWEAKS_MODEL is then used in the pkgs_on_stick plugin, where this database is used:
Code: Select all
D401) # NSA210
D501) # NSA220
DC01) # NSA221
A403)
A803)
AB03) # Medion
B103) # NAS540
B203) # NAS520
B403) # NAS542
B303) # NAS326
DA01) # NSA_310_TDC
A203) # NSA310_ZyXEL
DD01) # NSA320
AA03) # NSA325
AE03) # NSA325v2
AD03) # NSA310s
AF03) # NSA320s
Cannot remember what the story behind A403 and A803 is. According to the source code in that plugin it must be rebranded devices older than the Medion. So if they ever show up it are fw4 devices.
AFAIK the /etc/modelname is not available on all devices. Maybe even alone on the 5xx, to make it easier to share the firmware. Have you tried to change it, and request a webinterface?
I don't know if if actually matters. The packages for the 5xx and the 326 are different, but there is also a difference between the 520 and the 540 packages. When ZyXEL without announcement revoked the NAS520 repository, I have recommended victims to use MR to use the 540 repo instead. AFAIK that never caused problems.
I have tried to install a few 326 packages on my 520, and that worked. But I didn't test them at depth, nor did I test them all. And I can imagine the 5xx packages won't work on a 326, as the CPU of the 5xx has a bit more features. Don't know if the packages were compiled to use these.