A new way to install 3th party zypkgs, like FFP, Dropbear, .

Marvell Kirkwood based
Post Reply
nickster
Posts: 40
Joined: Mon Oct 27, 2014 2:33 pm

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by nickster » Fri Oct 31, 2014 9:20 pm

nickster wrote:
The status file says the following:
Package: MetaRepository
Version: 20140529zypkg010
Status: install ok installed
Architecture: arm

Package: MuninLite
Version: 1.0.4zypkg003
Depends: MetaRepository
Status: install ok installed
Architecture: arm

Package: Pulse
Version: 0.10.2zypkg001
Status: install ok installed
Architecture: arm

Package: btsync
Version: 1.3.105zypkg005
Status: install ok installed
Architecture: arm
Installed-Time: 1414180686

Package: ffp
Version: 0.7zypkg004
Status: install ok installed
Architecture: arm
How can I remove / uninstall these packages?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by Mijzelf » Sat Nov 01, 2014 11:51 am

Merge the ZYPKGS file from ZyXEL with the file from http://downloads.zyxel.nas-central.org/ ... ypkg-repo/, add a file NO_UPDATE or bring down your internet connection, and press 'Retrieve new packages'. They should show up, and then you can uninstall them.

Another option is to disable the packages manually:

Code: Select all

/usr/local/zy-pkgs/etc/init.d/<startscript> disable
then remove their startscripts from /usr/local/zy-pkgs/etc/init.d, and delete that status file. The package will still be there, but that won't hurt.

canislupusan
Posts: 51
Joined: Mon Mar 31, 2014 9:35 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by canislupusan » Mon Nov 10, 2014 8:35 pm

Thanks for the new versions of btsync and pulse 8-)

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by Mijzelf » Mon Nov 10, 2014 9:40 pm

You're welcome.

adrhc
Posts: 291
Joined: Sun Jul 14, 2013 1:42 pm
Contact:

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by adrhc » Tue Nov 25, 2014 2:41 pm

Ok, somehow I managed to install MetaRepository this way:

cd /i-data/md0/admin/zy-pkgs
wget http://downloads.zyxel.nas-central.org/ ... m_010.zpkg
cd ~/temp
wget http://downloads.zyxel.nas-central.org/ ... epo/ZYPKGS
#copy MetaRepository from ~/temp/ZYPKGS within /i-data/md0/admin/zy-pkgs/ZYPKGS
#web_prefix: insert as first line "http://downloads.zyxel.nas-central.org/ ... .70/zypkg/"
cd /usr/local/zy-pkgs/zypkg_conf
touch status
touch /i-data/md0/admin/zy-pkgs/ZYPKGS
touch /i-data/md0/admin/zy-pkgs/web_prefix
#go to Firmware/Packages (only press Package tab, don't Retrieve List From Internet)
#install & start MetaRepository
#notice the new page:
#http://192.168.1.31:82/pkg/MetaRepository/pkgcgi.cgi
#wait 5s
#press Retrieve List From Internet button

Just for the record, I have a httpd running on port 80 and the firmware-httpd running behind it on port 82.
I see the page: http://192.168.1.31:82/pkg/MetaRepository/pkgcgi.cgi.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by Mijzelf » Tue Nov 25, 2014 3:18 pm

Mm, nice. But why?

adrhc
Posts: 291
Joined: Sun Jul 14, 2013 1:42 pm
Contact:

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by adrhc » Tue Nov 25, 2014 3:59 pm

I use apache worker mpm so I have to build my own version.
I configured firmware-httpd to use the least possible memory and now I have the flexibility to use any version of httpd (with any version of php and python) with any patch and module.

MisterXY
Posts: 64
Joined: Sat Mar 09, 2013 11:47 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by MisterXY » Fri Dec 26, 2014 3:46 pm

@Mijzelf
is it possible to integrate the tool tree in tweaks?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by Mijzelf » Fri Dec 26, 2014 4:17 pm

What? And turn the lean 80kB package in a 170MB monster? Why?

MisterXY
Posts: 64
Joined: Sat Mar 09, 2013 11:47 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by MisterXY » Fri Dec 26, 2014 4:35 pm

Or can i download tree via ffp?

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by Mijzelf » Fri Dec 26, 2014 4:52 pm

You can download it any way you like. It can be found here. But to use it you need shell access on your nas as root, and use the provided chroot script.

tzok
Posts: 6
Joined: Thu Jan 22, 2015 9:40 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by tzok » Thu Jan 22, 2015 9:47 am

Hello everyone!
I've got a problem with a mc installed from this repository. I'm using PuTTY as my Telnet client. When I start mc it shows up, but I can't control it. Using cursor keypad results in typing letters in the terminal. I'm running original firmware V4.70(AFK.1), without FFP. Same situation when using AnyTerm.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by Mijzelf » Fri Jan 23, 2015 8:25 pm

Telnet often gives problems. You can either install dropbear and use ssh, or install RandomTools, which among others also installs terminal definitions. Or install both.

tzok
Posts: 6
Joined: Thu Jan 22, 2015 9:40 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by tzok » Fri Jan 23, 2015 9:05 pm

Ok, thanks, Dropbear solved my problem.

canislupusan
Posts: 51
Joined: Mon Mar 31, 2014 9:35 am

Re: A new way to install 3th party zypkgs, like FFP, Dropbea

Post by canislupusan » Wed Jun 03, 2015 2:13 pm

Hey Mijzelf, are there any plans for upgrading the Pulse (syncthing) package?

EDIT: A follow up message in case anyone has my dillema in which sync application to use (syncthing or btsync). I found afterall that BtSync works way better (resource-wise) than syncthing (was using it way back but decided to switch to synchthing because it's open source). The differece in memory usage is very significant (7.7% for btsync, 14-15% for syncthing). I don't know if this has been fixed in newer version but it seems unlikely. I am syncing between my NSA and a windows 7 (old) laptop and on the laptop side of things the old 1.3.109 version of btsync is better for me (newer version 2 is buggy and doesn't work with 1.4 version of the nsa).

Post Reply