How to install a VPN server on NSA325-v2

12346»

All Replies

  • Mijzelf
    Mijzelf Posts: 2,906  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    First install MetaRepository, then you can install Entware-ng using the package manager.

  • Tomalamix
    Tomalamix Posts: 69  Ally Member
    First Comment Friend Collector Third Anniversary

    I cant install the Metarepository..

    It has moved, probably some time ago, to another URL and I cant install it. I access the NAS by FTP, place the file "web_prefix" inside this folder here because I cant find any other folder as described in the installation procedure:

    /i-data/910115eb/admin/zy-pkgs/ - Here I put the "web_prefix" (no suffix, lower case and all that)

    After I go retrieve packages but nothing, But I can go to the URL where the web_prefix points to and there is stuff there but the NAS doesnt retrieve the list.

    When I access by FTP i dont have a folder called NSA325, I have tmp, etc, bin, lib and all that sort of Linux typical folders, the only place where I can access something with the structure "NSAxx\admin\zy-pkgs\" is in that folder I mentioned, maybe is not the right one ?

  • Mijzelf
    Mijzelf Posts: 2,906  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    /i-data/910115eb/admin/zy-pkgs/ sounds alright. Did MR create a directory MetaRepository in it? If yes, there should be a logfile ZYPKG.tgz.log. Post that.

  • Tomalamix
    Tomalamix Posts: 69  Ally Member
    First Comment Friend Collector Third Anniversary

    HandleZYPKG_INFO /NSA325-v2/4.80/zypkg
    FindApp md5sum found /sbin/md5sum
    ReadConfig Repositories
    Start of block
    ftp://ftp2.zyxel.com/+ ZyXEL
    http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ Mijzelf-Old
    /i-data/md0/admin/MyRepo/ Local
    End of block
    8 start: 12:25:00
    9 start: 12:25:00
    7 start: 12:25:00
    8: FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ 8 Mijzelf-Old
    9: FetchZYPKG_INFO ftp://ftp2.zyxel.com/NSA325-v2/4.80/zypkg/ 9 ZyXEL
    7: FetchZYPKG_INFO /i-data/md0/admin/MyRepo/ 7 Local
    8: FindApp curl found /usr/bin/curl
    7: FindApp curl found /usr/bin/curl
    9: FindApp curl found /usr/bin/curl
    7: Fetch /i-data/md0/admin/MyRepo/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/i-data_md0_admin_MyRepo.tmp failed
    7: Fetch /i-data/md0/admin/MyRepo/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/i-data_md0_admin_MyRepo.tmp failed
    8: Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp failed
    7: Failed
    7 stop: 12:25:01
    8: Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp failed
    8: Failed
    8 stop: 12:25:01
    9: Fetch ftp://ftp2.zyxel.com/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/ftp___ftp2.zyxel.com_NSA325-v2_4.80_zypkg_.tmp failed
    9: Fetch ftp://ftp2.zyxel.com/NSA325-v2/4.80/zypkg/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/ftp___ftp2.zyxel.com_NSA325-v2_4.80_zypkg_.tmp failed
    9: Failed
    9 stop: 12:25:03
    Pushlist...
    ReadConfig Pushlist
    Start of block
    End of block
    Blacklist...
    ReadConfig Blacklist
    Start of block
    YouNameIt
    End of block
    /bin/sed -i s/^YouNameIt/#YouNameIt/I /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/List.3291
    Sort...
    Choose packages...
    Choose DEPS...
    Create ZYPKG_INFO.tgz
    TarHeader
    FindApp curl found /usr/bin/curl
    Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz - succeeded

  • Mijzelf
    Mijzelf Posts: 2,906  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    8: Fetch http://zyxel.diskstation.eu/Users/Mijzelf/zypkg-repo/fw4/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp failed

    zyxel.diskstation.eu is no more. You have to change that to zyxel.ddnss.eu in the webinterface of MetaRepository.

  • Tomalamix
    Tomalamix Posts: 69  Ally Member
    First Comment Friend Collector Third Anniversary
    edited February 7

    Ok, it is done, now the list is populated and I installed the Entware.

    I go to the management page but the packages list is empty so I cant select nothing from there to install. Should I retrieve or update the packages list manually somehow?

    I used the "opkg update" as SU to update, it updates but the list remains empty

  • Mijzelf
    Mijzelf Posts: 2,906  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    I had forgotten about the webinterface of the Entware-ng package. As far as I remember it shows the contents of the package server. Don't know why it's empty for you, maybe the URL changed when repo was archived.

    Anyway, it has no direct relation to what is installed on your box. You can install a package with

    su
    opkg install <packagename>
    

    you can list available packages with

    opkg list
    

    There is also an option to see which packages are installed, 'opkg list —installed', maybe, but 'opkg help' can tell.

  • Tomalamix
    Tomalamix Posts: 69  Ally Member
    First Comment Friend Collector Third Anniversary

    A lonnngg list of stuff. Ok, i manage to find it but when I run the install command it replies me that is up to date? so is installed but I cant use it?

    ~ # opkg install entware-opt
    Package entware-opt (222108-5) installed in root is up to date.

  • Mijzelf
    Mijzelf Posts: 2,906  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    Now you lost me. You wanted etherwake, then why install entware-opt?

  • Tomalamix
    Tomalamix Posts: 69  Ally Member
    First Comment Friend Collector Third Anniversary

    lool..you are absolutely right, I dont know why I had entware-opt in my head.

    Now etherwake is installed, now i need to be sure that the PC is ready to receive the WOL packet. THe usage is simple, with MAC address. Thanks for all inputs!

Consumer Product Help Center