ZyXEL NSA325v2 how to install new Samba (Entware-ng) and where to find it

tonytogna
tonytogna Posts: 16 image  Freshman Member
First Comment Friend Collector

Hello, can anybody help me find instructions and packages?

NSA325v2

V4.81(AALS.0)

kernel 2.6.31.8

Many thanks

Accepted Solution

  • Mijzelf
    Mijzelf Posts: 2,980 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    Answer ✓

    Now that is strange. gnuTLS is a TLS library, which provides encryption, and which for instance can be used for https connections. Didn't know wget could use it at all. But in your case it tries to download a file from a http server, so it shouldn't be needed.
    What happens if you download it manually and install it?

    wget http://zyxel.ddnss.eu/Users/Mijzelf/Entware-ng/binaries/armv5/zyxel-samba-replacement_3.6.25_all.ipk

    opkg install zyxel-samba-replacement_3.6.25_all.ipk

«134

All Replies

  • tonytogna
    tonytogna Posts: 16 image  Freshman Member
    First Comment Friend Collector

    Thanks for the quick answer, but I cannot find opkg on my NAS, I am not a linux expert, but I don't see it anyware.

    How can I get it?

    Thanks

    CIAO

  • Mijzelf
    Mijzelf Posts: 2,980 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary

    opkg is the package manager of Entware-ng. So you first have to install Entware-ng. There are several ways to do that, but the easiest is by installing MetaRepository (2nd link). Then it shows up in your installable package list.

  • tonytogna
    tonytogna Posts: 16 image  Freshman Member
    First Comment Friend Collector

    sorry to disturb You again, I installed Metarepository by pointing the web_prefix to

    http://zyxel.ddnss.eu/Users/Mijzelf/zypkg-repo/

    but clicking again on Retrieve list from internet, it does not show any package.

    I tried also with the web_prefix pointed to https, but same results.

    Can You please help me find were I go wrong?

    Thanks

  • Mijzelf
    Mijzelf Posts: 2,980 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary

    You /have/ installed MetaRepository? In that case MR has exchanged web_prefix by it's own version, pointing to localhost. If you can't revert, reboot. MR will create a new one.

    When clicking 'Retreive', there should a logfile be created in \\admin\zy-pkgs\MetaRepository\, ZYPKGS.log, or something like that. That should tell why there are no packages.

  • tonytogna
    tonytogna Posts: 16 image  Freshman Member
    First Comment Friend Collector

    Hello,

    following your suggestion I managed to install Entware from MR, but, sorry I am not an expert, I am not able to find the folder where to run OPKG.

    I checked on /usr/bin and /bin

    but i couldn't find the command OPKG. Please can you help me?

  • tonytogna
    tonytogna Posts: 16 image  Freshman Member
    First Comment Friend Collector

    Hello, I think I found where opkg is, but it gives me an error, probably the installation was not correct?

    root@NASAT :/opt/bin# dir
    opkg
    root@NASAT :/opt/bin# opkg update
    sh: opkg: command not found

    Thanks

  • Mijzelf
    Mijzelf Posts: 2,980 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary

    In Linux an executable is searched in the PATH (and environment variable containing all directories where executables are to be found) unless you specify another directory. In this case you want to specify the current directory. So the command would be ./opkg . You could also execute /opt/bin/opkg .

  • tonytogna
    tonytogna Posts: 16 image  Freshman Member
    First Comment Friend Collector

    Hello, thanks for the explanation about how to run the executables, but now I have an additional problem 😫

    root@NASAT:/opt/bin# ./opkg update

    sh: ./opkg: Input/output error

     

  • tonytogna
    tonytogna Posts: 16 image  Freshman Member
    First Comment Friend Collector

    Hello, I have restarted from the beginning, Metarepository and then Entware, I found the log, and there see some errors, and I have a doubt because it seems it is not downloading data from your folders…

    /usr/local/zy-pkgs/opt/var/log/Entware-ng.log

    Opened logfile at Fri Sep 26 15:19:01 UTC 2025

    Flushing memory buffer

    Starting up

    Flushing done

    [15:19:01] Create symlink /opt -> /usr/local/zy-pkgs/opt

    [15:19:01] /opt/etc/init.d/rc.unslung is not available, start installer

    [15:19:01] Info: Opkg package manager deployment...

    [15:19:01] --15:19:01-- http://pkg.entware.net/binaries/armv5/installer/opkg

    [15:19:01] => `/opt/bin/opkg'

    [15:19:01] Resolving pkg.entware.net... 158.160.45.54

    [15:19:01] Connecting to pkg.entware.net[158.160.45.54]:80... connected.

    [15:19:01] HTTP request sent, awaiting response... 200 OK

    [15:19:01] Length: 127,636 [application/octet-stream]

    [15:19:01]

    [15:19:01] 0K .......... .......... .......... .......... .......... 40% 433.78 KB/s

    [15:19:02] 50K .......... .......... .......... .......... .......... 80% 867.24 KB/s

    [15:19:02] 100K .......... .......... .... 100% 436.96 KB/s

    [15:19:02]

    [15:19:02] 15:19:02 (543.54 KB/s) - `/opt/bin/opkg' saved [127636/127636]

    [15:19:02]

    [15:19:02] --15:19:02-- http://pkg.entware.net/binaries/armv5/installer/opkg.conf

    [15:19:02] => `/opt/etc/opkg.conf'

    [15:19:02] Resolving pkg.entware.net... 158.160.45.54

    [15:19:02] Connecting to pkg.entware.net[158.160.45.54]:80... connected.

    [15:19:02] HTTP request sent, awaiting response... 200 OK

    [15:19:02] Length: 142 [application/octet-stream]

    [15:19:02]

    [15:19:02] 0K 100% 1.35 MB/s

    [15:19:02]

    [15:19:02] 15:19:02 (1.35 MB/s) - `/opt/etc/opkg.conf' saved [142/142]

    [15:19:02]

    [15:19:02] --15:19:02-- http://pkg.entware.net/binaries/armv5/installer/libgcc_s.so.1

    [15:19:02] => `/opt/lib/libgcc_s.so.1'

    [15:19:02] Resolving pkg.entware.net... 158.160.45.54

    [15:19:02] Connecting to pkg.entware.net[158.160.45.54]:80... connected.

    [15:19:02] HTTP request sent, awaiting response... 200 OK

    [15:19:02] Length: 55,220 [application/octet-stream]

    [15:19:02]

    [15:19:02] 0K .......... .......... .......... .......... .......... 92% 404.32 KB/s

    [15:19:02] 50K ... 100% 38.34 MB/s

    [15:19:02]

    [15:19:02] 15:19:02 (436.07 KB/s) - `/opt/lib/libgcc_s.so.1' saved [55220/55220]

    [15:19:02]

    [15:19:02] --15:19:02-- http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv5/installer/ld-2.22.so-2.6.24

    [15:19:02] => `/opt/lib/ld-2.22.so'

    [15:19:02] Resolving downloads.zyxel.nas-central.org... failed: Host not found.

    [15:19:02] --15:19:02-- http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv5/installer/libc-2.22.so-2.6.24

    [15:19:02] => `/opt/lib/libc-2.22.so'

    [15:19:02] Resolving downloads.zyxel.nas-central.org... failed: Host not found.

    [15:19:02] Info: Basic packages installation...

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/bin/opkg: Input/output error

    [15:19:03] /opt/usr/lib/locale/locale-archive: No such file or directory

    [15:19:03] Info: Congratulations!

    [15:19:03] Info: If there are no errors above then Entware-ng was successfully initialized.

    [15:19:03] Info: Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues

    [15:19:03] Execute /opt/etc/init.d/rc.unslung start

    [15:19:03] /usr/local/zy-pkgs/etc/init.d/Entware-ng: line 596: /opt/etc/init.d/rc.unslung: not found

    [15:19:03] Done /opt/etc/init.d/rc.unslung start

    Closed logfile at Fri Sep 26 15:19:03 UTC 2025

Consumer Product Help Center