General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Dec 12, 2017 6:43 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: error using wget in ffp
PostPosted: Sat Jul 23, 2016 2:50 pm 
Offline

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 10
Hi All!

I installed ffp but every time I try to use wget command get the following error:

Code:
root@NAS540:~# slacker -U
Updating package lists...
fetch: rsync -q 'rsync://ffp.inreto.de/ffp/0.7/arm/packages/CHECKSUMS.md5' '/ffp/funpkg/cache/s'
fetch: (cd '/ffp/funpkg/cache/mz'; wget -Nnv 'http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/arm/CHECKSUMS.md5')
wget: invalid option -- 'N'
BusyBox v1.19.4 (2016-06-14 10:55:13 CST) multi-call binary.

Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
        [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
        [--no-check-certificate] [-U|--user-agent AGENT] [-T SEC] URL...


What is the problem and what can I do for fix it?


Top
 Profile  
 
PostPosted: Sat Jul 23, 2016 4:54 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6086
The problem is the PATH, and the strange setup of the firmware. The PATH contains /usr/sbin:/ffp/bin in this sequence. The firmware has wget in /usr/sbin/. Which means the firmware /usr/sbin/wget is used instead of /ffp/bin/wget, and that is not fully compatible.

The remedy is simple. Login as admin, and su to root.


Top
 Profile  
 
PostPosted: Sun Jul 24, 2016 9:17 am 
Offline

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 10
Mijzelf wrote:
The problem is the PATH, and the strange setup of the firmware. The PATH contains /usr/sbin:/ffp/bin in this sequence. The firmware has wget in /usr/sbin/. Which means the firmware /usr/sbin/wget is used instead of /ffp/bin/wget, and that is not fully compatible.

The remedy is simple. Login as admin, and su to root.


Yes, thank you your help! It is working now!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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