General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Sep 24, 2017 1:25 am

All times are UTC




Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
PostPosted: Sat Jun 21, 2014 12:47 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
I think you should use uwsiteloader to add picard's repo to slacker.

Or install Tweaks.


Top
 Profile  
 
PostPosted: Sun Jul 13, 2014 9:35 am 
Offline

Joined: Sun Jul 13, 2014 9:28 am
Posts: 2
Thank you very much for this tool

Would it be posible to add the NUT package for UPS management ?
it is indicated in the ffp directory http://downloads.zyxel.nas-central.org/ ... KAGES.html

or else please explain how to configure the UPS function of the NSA-325 v2
I plugged my eaton ellipse UPS with the serial to USB cable to the leftmost usbp port, and the maintenance screen continues to display
º This feature will not work now because there is no UPS control cable connected.

thanks

Edit/

I have access the ffp package at /pkg/ffp/
using root access, I have done:
slacker -U
slacker -i
to install nut, libtools and libusb but i have an error with libusb

======
Installed: libusb-1.0.9-arm-1
fetch: found /ffp/funpkg/cache/mz/libusb-1.0.9-arm-1.txz
/ffp/funpkg/cache/mz/libusb-1.0.9-arm-1.txz: OK

/ffp/bin/funpkg -I /ffp/funpkg/cache/mz/libusb-1.0.9-arm-1.txz

Scanning /ffp/funpkg/cache/mz/libusb-1.0.9-arm-1.txz ...
# libusb is a C library that gives applications easy access to USB devices
# on many different operating systems.
#
Reinstalling libusb-1.0.9-arm-1
Removing libusb-1.0.9-arm-1,reinstalled,20140713_104833

Searching for *.new files: /ffp/etc /ffp/start
Done.
root@N:~# nut-scanner
Cannot load USB library (libusb) : file not found. USB search disabled.
No start IP, skipping SNMP
No start IP, skipping NUT bus (old connect method)
Segmentation fault (core dumped)


Top
 Profile  
 
PostPosted: Fri Aug 15, 2014 7:26 am 
Offline

Joined: Thu Aug 14, 2014 9:36 pm
Posts: 3
Hello all,
I have new NSA320S with latest FW(4.70). I tried to install metarepository , but unsucessfull. I have created web_prefix file with URL but still without success. I still can not see the metarepository package in package list.
Can anyone help me sort this issue as I want to install serviio to be able to watch on my Phillips TV films with subtitles via DLNA.
Maybe is problem that ftp structure has zypkg/ instead of zypkgs/ folder?
Thanks for your help!


Top
 Profile  
 
PostPosted: Sat Aug 16, 2014 7:58 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
gavornik wrote:
Maybe is problem that ftp structure has zypkg/ instead of zypkgs/ folder?
Don't think so. If you look at the 'official' repository ftp://ftp2.zyxel.com, you see the same directory structure.

Does the firmware package store work? Can you open a shell, and ping to nas-central.org?


Top
 Profile  
 
PostPosted: Sat Aug 16, 2014 10:53 am 
Offline

Joined: Sat Aug 16, 2014 10:35 am
Posts: 7
Hello

How can I create my own zpkg?
I succesfuly make packages for slacker, but now I want to try with this.
I know that these packages are gzip files, and inside are two other (control.tar.gz data.tar.gz), etc.
Which tool I should use? Or maybe I must do that all manually? Any tips?

I will be grateful for any help ;)


add:
Oww.... Think I found...
http://zyxel.nas-central.org/wiki/Package_management
My bad... :roll:


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 7:39 am 
Offline

Joined: Thu Aug 14, 2014 9:36 pm
Posts: 3
Mijzelf wrote:
Don't think so. If you look at the 'official' repository ftp://ftp2.zyxel.com, you see the same directory structure.

Does the firmware package store work? Can you open a shell, and ping to nas-central.org?[/quote]

Hello, I tried to ping nas-central.org from my pc - same lan segment and I am able to ping it. Web_PREFIX file created with link http://downloads.zyxel.nas-central.org/ ... ypkg-repo/. I am able to install any package directly from zyxel store(default repository) but still not able to install or even see other packages :(


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 8:55 am 
Offline

Joined: Thu Aug 14, 2014 9:36 pm
Posts: 3
gavornik wrote:

Hello, I tried to ping nas-central.org from my pc - same lan segment and I am able to ping it. Web_PREFIX file created with link http://downloads.zyxel.nas-central.org/ ... ypkg-repo/. I am able to install any package directly from zyxel store(default repository) but still not able to install or even see other packages :(


Hello - problem solved :) In case that this willhappen to someone else, just delete everything from \admin\zypkgs\, then create web_prefix file and it will work. seems, that NSA have some setting cached and neets to retrieve new configuration.

Nest step - install ffp & serviio :)
Thanks to all


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 11:39 am 
Offline

Joined: Sat Aug 16, 2014 10:35 am
Posts: 7
Is there any way to manual remove MetaRepository?
Today I saw that my package list is empty, so I tried 'Retreive List From Internet', and nothing happen. Progress bar is 0% all the time.
When I restarted zyxel, than web interface is not starting until I login through ssh and execute
Code:
/etc/init.d/httpd.sh restart

How can I fix it? Or remove MetaRepository?


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 1:45 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
Did you already create your own package? Actually I don't think MetaRepository is causing this.

But yes, of course you can remove it manually. Run
Code:
/usr/local/zy-pkgs/etc/init.d/MetaRepository shutdown
/usr/local/zy-pkgs/etc/init.d/MetaRepository disable


Then have a look at /usr/local/zy-pkgs/zypkg_conf/info/MetaRepository.list. It contains a list of all files which should be deleted. Then delete /usr/local/zy-pkgs/zypkg_conf/info/MetaRepository*. And finally edit /usr/local/zy-pkgs/zypkg_conf/status to remove the MP entry.


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 2:05 pm 
Offline

Joined: Sat Aug 16, 2014 10:35 am
Posts: 7
@Mijzelf, not yet.

I did it, reboot, but webif still don't work :(
Is there any log file from system init? Or I need use debug port?
Even after
Code:
/etc/init.d/httpd.sh restart

package list is empty, and don't want to update
Crap...


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 6:29 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
Do you have a web_prefix active? If not, have a look in /usr/local/zy-pkgs/tmp/. There should be a logfile (ridiculous big). Throw it away, and try to update the package list. Maybe the log contains a clear error.


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 7:42 pm 
Offline

Joined: Sat Aug 16, 2014 10:35 am
Posts: 7
No, without web_prefix
Nothing happen. Still the same :roll:

This is how looks /usr/local/zy-pkgs/tmp/zypkg.log
Quote:
2014-08-17 19:36:59 [7]: [zypkg_query_pkgs][521] strCmd: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp list
2014-08-17 20:35:33 [7]: [zypkg_query_pkgs][521] strCmd: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp list_builtin
2014-08-17 20:35:33 [7]: [zypkg_query_pkgs][521] strCmd: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp list_builtin
2014-08-17 20:35:35 [7]: [zypkg_query_pkgs][521] strCmd: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp newver
2014-08-17 20:35:36 [7]: [zypkg_query_pkgs][521] strCmd: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp list
2014-08-17 20:35:37 [7]: [zysh_zypkgs_updatelist_start][1261] strCmd: echo "0" > /tmp/zypkglist_download.progress
2014-08-17 20:35:37 [7]: [zysh_zypkgs_updatelist_start][1266] strCmd: touch /tmp/zypkglist_download.ongoing
2014-08-17 20:35:37 [7]: !!! [zypkg_get_server_path_from_model][318] NSA310a -> NSA310
2014-08-17 20:35:37 [7]: [zypkg_set_web_site][433] web site: "ftp://ftp2.zyxel.com/NSA310/4.70/zypkg"
2014-08-17 20:35:37 [7]: [zypkg_download_files][631] fork a download process.
2014-08-17 20:35:37 [7]: [zypkg_download_files][651] execute program "/usr/bin/ipkg-cl".
2014-08-17 20:35:37 [7]: - with args "-f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp download ftp://ftp2.zyxel.com/NSA310/4.70/zypkg ZYPKG_INFO.tgz "
2014-08-17 20:35:39 [7]: [zysh_zypkgs_updatelist_showProgress][1301] "/tmp/zypkglist_download.ongoing" exists now.
2014-08-17 20:35:40 [7]: [zysh_zypkgs_updatelist_showProgress][1301] "/tmp/zypkglist_download.ongoing" exists now.
2014-08-17 20:35:41 [7]: [zysh_zypkgs_updatelist_showProgress][1301] "/tmp/zypkglist_download.ongoing" exists now.


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 7:44 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
Can you manually download ftp://ftp2.zyxel.com/NSA310/4.70/zypkg/ZYPKG_INFO.tgz on your NAS?


Top
 Profile  
 
PostPosted: Sun Aug 17, 2014 9:00 pm 
Offline

Joined: Sat Aug 16, 2014 10:35 am
Posts: 7
Hmmmm.. I can't.
Quote:
wget ftp://ftp2.zyxel.com/NSA310/4.70/zypkg/ZYPKG_INFO.tgz
--22:59:02-- ftp://ftp2.zyxel.com/NSA310/4.70/zypkg/ZYPKG_INFO.tgz
=> `ZYPKG_INFO.tgz'
Resolving ftp2.zyxel.com... 66.171.116.27
Connecting to ftp2.zyxel.com[66.171.116.27]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /NSA310/4.70/zypkg ... done.
==> PORT ...
Invalid PORT.
Retrying.

--22:59:04-- ftp://ftp2.zyxel.com/NSA310/4.70/zypkg/ZYPKG_INFO.tgz
(try: 2) => `ZYPKG_INFO.tgz'
Connecting to ftp2.zyxel.com[66.171.116.27]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /NSA310/4.70/zypkg ... done.
==> PORT ...
Invalid PORT.
Retrying.

No idea why...


Top
 Profile  
 
PostPosted: Mon Aug 18, 2014 9:15 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
Well, at least it connects, and you get answer, so DNS and gateway are allright. About the actual transfer, I guess it will work if you add the --no-passive-ftp flag.

Can you check your /etc/zyxel/zy-pkg.conf, /usr/local/zy-pkgs/tmp, /i-data/md0/admin and /i-data/md0/admin/zypkgs directories for restrictive access flags?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Yahoo [Bot] and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group