Install SMB V2 on NSA325
Robster
Posts: 6
Hi,
I've seen some posts regarding this natively supporting only SMB V1 so unable to be used in Windows 10 environments without compromising security.
I was hoping somebody could take me through the steps of installing a later version of Samba from say, the Entware Package Repository.
I'm not a Linux guru but know some of the basic stuff but really need a guide on how to make my NSA325 usable for a bit longer.
Thanks,
Rob.
I've seen some posts regarding this natively supporting only SMB V1 so unable to be used in Windows 10 environments without compromising security.
I was hoping somebody could take me through the steps of installing a later version of Samba from say, the Entware Package Repository.
I'm not a Linux guru but know some of the basic stuff but really need a guide on how to make my NSA325 usable for a bit longer.
Thanks,
Rob.
0
All Replies
-
-
Thanks for this - that thread has a lot of good information
I've started down the list and fallen pretty close to the start with opkg.
I get this message .../ # opkg updateFATAL: kernel too oldAborted (core dumped)
Any ideas what I should do to allow this to move on?
Thanks.0 -
This may be helpful (or not) ...# cat /proc/versionLinux version 2.6.31.8 (root@BuildMachine) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #2 Wed Jun 21 16:44:13 CST 20170
-
Entware-ng needs kernel 2.6.32 or newer. Since most kirkwood devices have a 2.6.31.8 kernel that is a problem. I recompiled the Entware-ng libc with support for 2.6.24 and newer. These libraries are automatically installed if you have an 'old' kernel.
If for some reason the stock libc would be reinstalled, nothing works anymore. You only get 'FATAL! Kernel too old' messages. The remedy is to run /opt/sbin/kernel-2.6.24-support.sh (or reboot, then that script will also be executed) that restores the symlinks.
0 -
Mijzelf said:The remedy is to run /opt/sbin/kernel-2.6.24-support.sh (or reboot, then that script will also be executed) that restores the symlinks.
# wget http://pkg.entware.net/binaries/armv5/installer/entware_install.sh
# ./entware_install.sh
It also fails on an error related to the kernel being too old - is there another path I should use for the installation of Entware?
This is my output;Info: Checking for prerequisites and creating folders...Info: Opkg package manager deployment...--18:07:03-- http://pkg.entware.net/binaries/armv5/installer/opkg=> `/opt/bin/opkg'Resolving pkg.entware.net... 104.21.91.83, 172.67.212.134Connecting to pkg.entware.net[104.21.91.83]:80... connected.HTTP request sent, awaiting response... 200 OKLength: 127,636 [application/octet-stream]100%[========================================================================>] 127,636 --.--K/s18:07:03 (1.45 MB/s) - `/opt/bin/opkg' saved [127636/127636]=> `/opt/etc/opkg.conf'Resolving pkg.entware.net... 172.67.212.134, 104.21.91.83Connecting to pkg.entware.net[172.67.212.134]:80... connected.HTTP request sent, awaiting response... 200 OKLength: 142 [application/octet-stream]100%[========================================================================>] 142 --.--K/s18:07:03 (1.35 MB/s) - `/opt/etc/opkg.conf' saved [142/142]=> `/opt/lib/ld-2.23.so'Resolving pkg.entware.net... 172.67.212.134, 104.21.91.83Connecting to pkg.entware.net[172.67.212.134]:80... connected.HTTP request sent, awaiting response... 200 OKLength: 142,748 [application/octet-stream]100%[========================================================================>] 142,748 --.--K/s18:07:04 (1.16 MB/s) - `/opt/lib/ld-2.23.so' saved [142748/142748]=> `/opt/lib/libc-2.23.so'Resolving pkg.entware.net... 172.67.212.134, 104.21.91.83Connecting to pkg.entware.net[172.67.212.134]:80... connected.HTTP request sent, awaiting response... 200 OKLength: 1,256,816 [application/octet-stream]100%[========================================================================>] 1,256,816 3.89M/s18:07:04 (3.88 MB/s) - `/opt/lib/libc-2.23.so' saved [1256816/1256816]=> `/opt/lib/libgcc_s.so.1'Resolving pkg.entware.net... 172.67.212.134, 104.21.91.83Connecting to pkg.entware.net[172.67.212.134]:80... connected.HTTP request sent, awaiting response... 200 OKLength: 44,016 [application/octet-stream]100%[========================================================================>] 44,016 --.--K/s18:07:05 (673.00 KB/s) - `/opt/lib/libgcc_s.so.1' saved [44016/44016]Info: Basic packages installation...FATAL: kernel too oldFATAL: kernel too old/opt/usr/lib/locale/locale-archive: No such file or directoryInfo: Congratulations!Info: If there are no errors above then Entware-ng was successfully initialized.Info: Add /opt/bin & /opt/sbin to your PATH variableInfo: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware-ng services to startInfo: Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues
Any help is greatly appreciated.0 -
Ah, sorry. You need a special script to install Entware-ng on a ZyXEL. The easiest way to install it is to install MetaRepository first. (Scroll down for instructions). After that you have Entware-ng as installable package, and this version supports older kernels.
0 -
Ok, I think I'm getting closer ... I've tried to follow the instructions and get the MetaRepositiory installed but then when I click refresh, it repopulates the package list with the old packages and has overwritten the web_prefix file with this;/i-data/aba96171/admin/zy-pkgs # cat web_prefix
None of the packages look any different from before and none are showing an "update" is available
Thanks for your help.0 -
Actually, I've continued and managed to installed Entware-ng now ... will this now let me install the later Samba SMB V2 package now?0
-
It is supposed to. Why are you asking? Doesn't it work?
0 -
Hello Mijzelf,
A few weeks ago you helped me fix my NSA320S not showing the package list.
After it I successfully installad SMB2, but 2 days ago after 2 power failures the Samba2 failed.
No error message, but the Samba1 started and I've never reinstalled again with the same method.
Now I have exactly the same problem I read in this comments. I have the same kernel version, same error messages, but I'm so sad, that this thread has no success in the end.
Actually I tried to reinstall Entware-ng from scratch several times, but never succeed.
It's a bit strange, that when I update the opkg with 'opkg update' it updates itself too, and copies a version, that incompatible with my kernel.
So I tried to overwrite it with the original, not-updated version after it downloaded and installed the samba replacement package.
It partially worked with your ld-2.22.so and libc-2.22.so libraries, but the SMB2 cannot start:
Stopping Samba daemons: nmbd smbd./opt/sbin/nmbd: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory/opt/sbin/smbd: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory
I see, that libresolv.so.2 is a symlink to libresolv-2.23.so, and I think I need 2.22.so from every library.
Do you have them?
Or - you wrote to Robster: You need a special script to install Entware-ng on a ZyXEL.
Do you have this?
Naturally I tried the Metarepository method several times without success.
Do you have any idea?
Thanks:
Norbi0
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