Using ZyXEL packages (NSA-212)

Using MetaRepository it's possible to install ZyXEL packages on a Medion. However, not all packages work.

Package list
Note: Seems to work means the user interface works, I didn't test the underlying functionality.

URL fix
On a ZyXEL box the package interface url is http:///pkg/. On my Medion it is http:///r36258,/adv,/pkg/. To solve this I added hotpatching to MetaRepository. The startscripts of other packages are hotpatched on start of MetaRepository, and on asking the url of MetaRepository itself. So if a new installed package uses a wrong url, refresh the page, to force the hotpatching.

Disabling malfunctioning packages
I advice to install Dropbear first, and to verify you can login over ssh, even after a reboot. When your webinterface dies, you can't enable the telnet backdoor anymore.

When a package is malfunctioning, and you can't disable it in the webinterface, you can disable it manually. Login over ssh, and execute cd /usr/local/zy-pkgs/etc/init.d/ ls Now you see a list of startscripts. Find the startscript which belongs to your target package, and execute: packagescript shutdown packagescript disable reboot Where you exchange 'packagescript' by the real name of the script.