Entware-ng on NAS326 (3rd party zypkgs)
alfaalfa
Posts: 6 Freshman Member
I'm newbie here. I wanted to install Entware-ng using Meta Repository. Unfortunately after installation I was not able to use it normally. I have to do manually after each reboot:
#NAS_Feb_2019
PATH=$PATH:/opt/bin:/opt/sbin export PATHThen it seems to work. My question to you guys is: where/how to place a script in order to run these commands on boot. I have tried to put a shell script in /i-data/.system/zy-pkgs, but it seems not to be executed there. In system (e.g /etc/profile) folders its impossible to edit/save files. Probably a script to modify /etc/profile on boot is a better choice, but again, where/how to place it? Thank you in advance for help!
#NAS_Feb_2019
0
Accepted Solution
-
You should install package profile-hook . It should be installed at setup, but maybe the server was not accessible?
0
All Replies
-
You need to check this two files:/opt/etc/init.d/S99ProfileHook/opt/etc/profileIn the /opt/etc/profile file you should have a line:export PATH=/opt/bin:/opt/sbin:$PATH
0 -
You should install package profile-hook . It should be installed at setup, but maybe the server was not accessible?
0 -
Thanks, Mijzelf!!! It turns out I was following an old tutorial and using your old repository. Placing a new repository in web_prefix file and reinstall solved this issue.0
-
I'm also newbie here. I've spent a lot of time searching forum & use Google too but no result. I hope it's most appropriate place for this problem (without start new discussion of course).After installation on NAS326 firmware V5.21(AAZF.4) package urbackup-server 2.3.8 from the newest Entware-ng and command:urbackupsrv -u admin runI can see onlyERROR: Unable to change logfile ownership
ERROR: Cannot get uid and gid of user "admin" -1. Errno: 2but "admin" user exists in the systemcat /etc/passwd | grep "admin"showsadmin:x:501:500:type&admin:/home/shares:/bin/sh
I have got lineARGS="-u admin run --daemon"instead ofARGS="run --daemon"in/opt/etc/init.d/S60urbackup-serverbut result is the same: urbackup start failed.I have no clue what should be changed to make urbackup alive.Thank you in advance for any solution!
0 -
When you install Entware-ng on a firmware 5 device (or actually on an Armv7 device), Entware-ng is at install automatically upgraded to Entware. One of the differences is that Entware uses /opt/etc/passwd and /opt/etc/shadow. (Alternative install vs. standard install)So I think you are done if you create symlinks to /etc/passwd, /etc/shadow and /etc/group in /opt/etc/0
-
Simple, elegant and effective solution (I should developed it on documentation basis but I haven't - the devil’s in the detail).
Thank you for your quick help and all hard work for ZyXEL users community.
Kudos GURU
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