Zyxel NSA 320 being able to choose which samba version to use
I have a Zyxel NSA320 working with SMBv2, which I followed the enabling 3rd party repository procedure, install the Entware-ng zyxel-samba-replacement package, opkg update, opkg install zyxel-samba-replacement, etc...
Everything has been working correctly for a long time, and without any problems.
However, I wanted to carry out some tests and needed to get the original version of samba (3.5.6) working, but without changing anything else in the NAS configuration.
I tried deleting the symbolic link:
samba.sh -> /opt/etc/init.d/S09ZyXELSambaReplacement
and I put the file /etc/init.d/samba.replaced.sh as samba.sh
but when I restart it, the same version is running, and the symbolic link is configured again.
So, is it possible (and easy) to get the previous samba version (3.5.6) working again?
The objective was to be able to change between samba versions easily.
Accepted Solution
-
Switching to the 'old' samba should be as simple as
/opt/etc/init.d/S09ZyXELSambaReplacement stop
And reverting back to new samba
/opt/etc/init.d/S09ZyXELSambaReplacement start
If you want to stay in the old samba without removing the SambaReplacement package:
/opt/etc/init.d/S09ZyXELSambaReplacement stop chmod -x /opt/etc/init.d/S09ZyXELSambaReplacement
That way the script is not longer executed on boot.
0
All Replies
-
Switching to the 'old' samba should be as simple as
/opt/etc/init.d/S09ZyXELSambaReplacement stop
And reverting back to new samba
/opt/etc/init.d/S09ZyXELSambaReplacement start
If you want to stay in the old samba without removing the SambaReplacement package:
/opt/etc/init.d/S09ZyXELSambaReplacement stop chmod -x /opt/etc/init.d/S09ZyXELSambaReplacement
That way the script is not longer executed on boot.
0
Categories
- All Categories
- 415 Beta Program
- 2.5K Nebula
- 152 Nebula Ideas
- 101 Nebula Status and Incidents
- 5.8K Security
- 296 USG FLEX H Series
- 281 Security Ideas
- 1.5K Switch
- 77 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 254 Service & License
- 396 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 76 Security Highlight