How do I install the Entware repo? (NAS 540)
Enderger
Posts: 3 Freshman Member
Hi all,
I just wanted to ask how to install the Entware (non-ng) repo on a Zyxel 540 NAS, as I am trying to get rsync working to back up my main computer. (I know about the guide on the site, however it is very ambiguous on several things)
Thanks,
-Daniel
I just wanted to ask how to install the Entware (non-ng) repo on a Zyxel 540 NAS, as I am trying to get rsync working to back up my main computer. (I know about the guide on the site, however it is very ambiguous on several things)
Thanks,
-Daniel
0
Accepted Solution
-
You should create a file /i-data/.system/zy-pkgs/USRPKG_DEPS_START containing a line 'entware':touch /i-data/.system/zy-pkgs/USRPKG_DEPS_START
chmod +x /i-data/.system/zy-pkgs/USRPKG_DEPS_START
echo entware > /i-data/.system/zy-pkgs/USRPKG_DEPS_STARTAND create an executable script /i-data/.system/zy-pkgs/entware, which contains the start script.The script /etc/init.d/zypkg_controller.sh is executed on boot, and will execute all scripts listed in USRPKG_DEPS_START, as long as they are located in /i-data/.system/zy-pkgs/, with the argument 'startup'. The same is done at shutdown, for all scripts listed in USRPKG_DEPS_SHUTDOWN, with the argument 'shutdown'.0
All Replies
-
Which guide are you referring to, and how is it ambiguous?
0 -
I am referring to the one in the Entware wiki. It says to create a shell script in the /i-pkgs folder with some bootup content, however it does not specify what it needs to be named (it says to create a file with "entware" in it, but I tried making an executable shell script with that name in the same directory and it did not work).0
-
You should create a file /i-data/.system/zy-pkgs/USRPKG_DEPS_START containing a line 'entware':touch /i-data/.system/zy-pkgs/USRPKG_DEPS_START
chmod +x /i-data/.system/zy-pkgs/USRPKG_DEPS_START
echo entware > /i-data/.system/zy-pkgs/USRPKG_DEPS_STARTAND create an executable script /i-data/.system/zy-pkgs/entware, which contains the start script.The script /etc/init.d/zypkg_controller.sh is executed on boot, and will execute all scripts listed in USRPKG_DEPS_START, as long as they are located in /i-data/.system/zy-pkgs/, with the argument 'startup'. The same is done at shutdown, for all scripts listed in USRPKG_DEPS_SHUTDOWN, with the argument 'shutdown'.0 -
Thanks! I now have it working. It turns out also that you need to change the location opt is stored in to match your system. I'll update the wiki page with those clarifications.0
-
hello
Can u give me detaild info for this ?
0 -
Which details do you need?
0 -
Can u give some detailed information for it please ?
0 -
There was a bug in the wiki, which was resolved 3 years ago. The history of that page shows that (among other things) this was changed:
mkdir -p /i-data/da290f2e/opt > /dev/null 2>&1
to
##Define the ID of your volume
VOL=<YOUR_VOLUME_ID_HERE>
mkdir -p /i-data/$VOL/opt > /dev/null 2>&1So apparently the original writer of the wiki article wasn't aware that the mountpoints are generated dynamically, and are unique for each NAS.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight