Installation of wget on fun_plug 0.5 for CH3SNAS, CH3MNAS, DNS-323 and many more

wget for fun_plug 0.5

This tutorial is deprecated and should only be used with fonz fun_plug 0.5!
Please check the tutorial page for updated tutorials on this topic!

What is wget?

Wikipedia says the following about wget:

GNU Wget is a simple and powerful computer program that retrieves content from web servers, and is part of the GNU Project. Its name is derived from World Wide Web and get, connotative of its primary function. It currently supports downloading via HTTP, HTTPS, and FTP protocols, the most popular TCP/IP-based protocols used for web browsing.

Its features include recursive download, conversion of links for offline viewing of local HTML, support for proxies, and much more. It appeared in 1996, coinciding with the boom of popularity of the Web, causing its wide use among Unix users and distribution with most major Linux distributions.

Why replace the existing wget?

You may already have a version of wget installed because that was included in busybox , which was installed with fun_plug. But the standard GNU version, however, has a few features which the smaller busybox version doesn’t (such as support for HTTPS or user credentials). This package allows you to use all the features of the standard version.

Installation

In this tutorial we assume that the fun_plug 0.5 is already installed on the NAS and that you synchronized Uli’s repository:

ls -al /ffp/bin/wget
funpkg -i /ffp/pkg/additional/net-misc/wget*.tgz
ls -al /ffp/bin/wget

Note that the first ls command will show the original symbolic link from wget to busybox. After installation of the package, ls will show a normal executable program:

-rwxr-xr-x 1 root root 207172 Oct 14 23:46 /ffp/bin/wget

Available commands

Documentation for wget is available at the GNU-Website.

12 thoughts on “Installation of wget on fun_plug 0.5 for CH3SNAS, CH3MNAS, DNS-323 and many more”

  1. hi all
    I want to use wget insted of Busybox wget(v1.16.1).
    In my application I want to use wget -nc option in order to resume download and prevent it from redownloading the file which are previously downloaded. My current busybox version doesnt support to this option.

    Actually I am using ubuntu 10.10 and my embedded device has debian linux on it.
    and my partation structure is as follows

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 13 104391 b Win95 FAT32
    /dev/hda2 14 136 987997+ 83 Linux
    /dev/hda3 137 684 4401810 b Win95 FAT32
    /dev/hda4 685 972 2313360 5 Extended
    /dev/hda5 685 807 987966 b Win95 FAT32
    /dev/hda6 808 814 56196 83 Linux
    /dev/hda7 815 972 1269103+ b Win95 FAT32

    hda2 is my root partation.
    So what I did is, I have downloaded wget sourse code and as you suggested that i have placed in /usr/bin and from there I tried to compile it. But as there is no gcc install I unable to do so. I downloaded gcc but Now I dont hv sufficient space.

    Can you please tell me how can I get suitable execuatable wget or how to resolve the issue.

    Thanks in advanced.

    1. Hello Pravinkumar Chavan,

      this has probably nothing to do with the content above. Please install wget using:
      apt-getinstall wget. Please familiarize yourself with the Debian-Commands to install packages. This website has currently nothing to do with Debian 😉

      Cheers,
      Uli

  2. Hi everybody.

    Well, i´m trying to shedule downloads from a external ftp. My problem is that the external ftp has activated PASV mode, and i can´t download anything. The conection test is ok, but download anything is imposible.

    ¿What could i do?

    Firmware installed 1.05b5

    Thanks in advance.

  3. This method is deprecated in 03/2011…
    I installed wget from this post and i had problems with pasv and symbol ‘clock_getres’ (with ipkg) :
    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages

    wget: can’t resolve symbol ‘clock_getres’
    An error ocurred, return value: 1.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget –passive-ftp -q -P /opt/ipkg-U97dYU http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages

    I removed with :
    # funplug -r wget
    # rm /ffp/bin/wget
    # ln -s /ffp/bin/busybox /ffp/bin/wget

    It’s came back to the normal. Fonz had resolved that bug already.

    # ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages
    Updated list of available packages in /opt/lib/ipkg/lists/cs08q1armel
    Successfully terminated.

    1. Indeed Fonz has already solved that. You need to update uclibc to a Version newer or equals uclibc-0.9.29-7 and do not have to uninstall wget 😉

  4. Hi again.

    I have been using wget to download from ftps. It works perfect, but it is an inconvenience write “wget -r –user=**** –password=***** ftp://******/file_to_download” for each archive or directory.

    I would like to know if its possible install a ftp client on ch3snas.

    Thanks in advance.

Leave a Reply to capetito Cancel reply

Your email address will not be published. Required fields are marked *

Exit mobile version