Where do I find the source for NAS 542 firmware
dernachtwerker
Posts: 11
I would like to learn how to residently map physical directories (or paths) from the local disk-0 (i-data) into the virtual ram-disk to keep changes and addons after a reboot.
I have fundamental problems to install Entware-ng package because knowledge to understand the boot strategy or procedure and where to put executable scripts and why ........
I did not find the source code to have a look how the did it.
In a post from Mijzelf from September 2019 he wrote
a list or plan of the boot-procedure would be nice too.
I am familiar with opensuse since 25 years. but Zyxel is different.
I have fundamental problems to install Entware-ng package because knowledge to understand the boot strategy or procedure and where to put executable scripts and why ........
I did not find the source code to have a look how the did it.
In a post from Mijzelf from September 2019 he wrote
how to change webserver settings for NAS 540
It is possible to put files in /usr/local/apache/htdocs/desktop,/ , but it's not intended, and so a bit cumbersome.
I know 3 ways.
1) Download the firmware sources, modify them and build your own firmware
and so on - ok- where do I fond the sourcecode ?a list or plan of the boot-procedure would be nice too.
I am familiar with opensuse since 25 years. but Zyxel is different.
0
Accepted Solution
All Replies
-
Thank you. If you may have a look onto my "software help for dummies and experts" pages, you will find a lot of pages regarding NAS stations and their background and more. These pages are well visited from people, asking simple questions - for example: How does a NAS work - What is the difference to a real server and so on.
And I like to add some value onto my 540/542 - I like to add an inhouse webserver with typo3 and mysql.
Furthermore i like to understand the boot procedure of this NAS : when is the hard-disk added to the ram-disk and how do they do this.
My tries to install the metarepository from scratch onto a fully new 540 did fail twice - so I descibe the way I id it and what is broken, to find a generic working solution.
have a look ono
http://software.ipw.net/die-zyxel-nas542-box.html
http://software.ipw.net/samba-auf-zyxel-nas-540.html
help and hints are welccome
if you like to contact me privately - please use the contact page
http://www.fernsehmuseum.info/feedback-form.html
currently the sourcefile is loading - slowly but steadyly
again thank you -
I will report the results
best regards
the nightworker from Wiesbaden Germany - TV-Museum
-
.
0 -
-1
-
I see. Well, your struggles with MetaRepository are unknown to me. Combined with a disappearing rc.unslung I wonder if your disk is faulty? Already looked in dmesg?When MetaRepository is started, it puts a web_prefix file in \\admin\zy-pkgs, containing 'http://localhost:9000' (from the top of my head, it could be something comparable). The NAS regularly checks for updates, and when the file does not exist, it downloads the database directly from ZyXEL, in which case it forgets about all 3th party pkgs. The web_prefix file is removed when MR stops.Maybe here is the problem? Did you disable MR or remove the web_prefix file after MR had done it's job?About mc, I think it creates a symlink in /bin/, pointing to the real binary. It was compiled for an Armv5 processor, and uses interpreter /lib/ld-linux.so.3. By default that is not available on the 5xx, as that runs an Armv7 processor, and has interpreter /lib/ld-linux-armhf.so.3.But MR was also compiled for Armv5 (well, it contains a busybox blob only containing inetd and nc, to do the listening). Because of that MR creates a symlink /lib/ld-linux.so.3 pointing to /lib/ld-linux-armhf.so.3. Mc also relies on that symlink, so without MR mc won't run.(Not completely true, RandomTools will also create that symlink, if it doesn't exist yet)About the startup, most of the work is done in /etc/init.d/rcS. Don't know if you can read that? The startup hook which is used by your Entware-ng install procedure depends on /etc/init.d/zypkg_controller.sh, which is called both on start and shutdown of the box.For the startup search for '# - start to startup packages according to ${USRPKG_DEPS_START}', and the shutdown '# - start to stop packages according to ${USRPKG_DEPS_SHUTDOWN}'.
0 -
I found - surprisingly and unexpected by accident - the current sources for the NAS-542 here : https://github.com/elblindo/NAS542_521ABAG7C0
0 -
thomasneff_1611 said:0
-
dernachtwerker said:I found - surprisingly and unexpected by accident - the current sources for the NAS-542 here : https://github.com/elblindo/NAS542_521ABAG7C00
-
Hallo Kreiszahl,
bitte gehe ins Impressum von fernsehmuseum.info und rufe die dortige Festnetz-Nummer an, Nachmittags ist es besser.
Ich habe die Sourcen noch und dann gibts die Links auf meine Software-Seiten
Grüsse aus Wiesbaden
der nachtwerker
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight