+ Auf Thema antworten
Zeige Ergebnis 1 bis 9 von 9

Thema: ffp on 4220

  1. #1

    Standard ffp on 4220

    Hi all,

    ffp is an add-on Linux distribution used on D-Link and Zyxel NAS
    boxes. Since the 4220 is also ARM-based, I'd like to find out if ffp
    works on it, too. Because I don't have a 4220, I can't test it myself.

    If you have telnet or ssh root access, it should be fairly simple
    to install. ffp installs to a completely separate directory tree,
    and won't modify the original firmware or flash. Consquently,
    removing it is as simple as removing the ffp directory.

    You can find the current list of ffp packages here: http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html

    Additional contributed packages (like Transmission/Clutch,
    MLDonkey, Firefly or llink) are listed at http://wiki.dns323.info/howto:ffp#he...es_discussions
    or can be found in the DNS-323/CH3SNAS forums at: http://forum.dsmg600.info/f3-DNS-323...iscussion.html

    There's a complete toolchain for ffp that allows you to compile
    additional packages natively, without going through the hassle of
    creating a working cross-toolchain. If you think compiling
    natively is too slow, there's distcc that you can use to set up
    your local compile farm.

    Installation involves only a few simple steps:

    1. Download the fun_plug.tgz tarball from http://www.inreto.de/dns323/fun-plug/0.5/

    2. Open a telnet/ssh root session, and extract the tarball
    to a directory on disk:

    cd /some/where/on/disk
    mkdir ffp
    cd ffp
    tar xzf /path/to/fun_plug.tgz

    3. Create the /ffp link (requires writeable /):

    ln -s /some/where/on/disk/ffp /ffp

    Installation is basically complete now.
    Next, you should start the ffp shell to get the proper PATH:

    /ffp/bin/sh -l

    'echo $PATH' should list /ffp/sbin and /ffp/bin.
    You might want to try one of the included programs, first.
    Examples config files can be found in /ffp/etc/examples. To start
    a server, use the scripts in /ffp/start.
    E.g., to run ntp, the network time protocol daemon, first copy
    the config files:

    cd /ffp/etc
    cp examples/ntp.conf .

    Then, start the server:

    sh /ffp/start/ntpd.sh start

    Check synchronization status with:

    ntpq -pn

    If you download additional package files, you can install them with

    funpkg -i package.tgz

    To see what packages you have installed, look into the
    /ffp/var/packages directory. Remove a package with 'funpkg -r package'

    More examples and information can be found on the howto page at: http://wiki.dns323.info/howto:ffp
    and the nas-tweaks wiki at: http://nas-tweaks.net/CH3SNAS:Tutorials

    It would be great if someone gave it a try, and report back any
    problems (or success).

  2. #2

    Standard

    Hi,

    I have just tried it out, and it works like a charm! I have installed Transmission, it works just fine!
    Awesome!
    In addition, it is just great to have access to additional command, i.e. "find"

    Best regards

  3. #3

    Standard

    Zitat Zitat von hsteinbo Beitrag anzeigen
    it works like a charm!
    That's good news! Thanks for reporting.

    I suspect the /ffp link needs to be recreated on every reboot.

    There might be additional issues. On the DNS-323, we use the /ffp/etc/fun_plug.init script to do various fixups (like mounting /dev/pts, creating missing devs, etc). Some of these might be needed on the 4220, too.

    Finally, if you want to start (enabled) ffp services automatically on boot, run '/ffp/etc/rc' after creating the /ffp link. You might want to have a look at the fun_plug script at http://www.inreto.de/dns323/fun-plug/0.5/ that automates installation and startup of ffp on the DNS-323.

  4. #4

    Standard

    Hi fonz, hi @all.

    I've already installed the fun_plug 0.5 on a DNS-323.

    Now I'm trying to get it run on a IB-NAS4220.

    I'm failing at this point: "I suspect the /ffp link needs to be recreated on every reboot. "

    How can I automate the symlink creation and start of ffp after system start?
    I didn't get it.

    Greets
    jo-freaky

  5. #5

    Standard

    Hi jo-freaky,

    userscript is probably what you are looking for.
    In a nutshell, it always to run your own scripts during startup.
    The description is in german, let me know if that is a problem and I will try to walk you through it.

  6. #6

    Standard Starting Transmission Automatically

    Zitat Zitat von hsteinbo Beitrag anzeigen
    Hi jo-freaky,

    userscript is probably what you are looking for.
    In a nutshell, it always to run your own scripts during startup.
    The description is in german, let me know if that is a problem and I will try to walk you through it.
    Hi all, I've just bought this NAS and have been playing around with it. I've got transmission setup and running but I can't start it everytime the box reboots or without me being logged into the box!

    it seems i need to run the following commands
    /ffp/bin/sh -l
    /ffp/start/transmission.sh start

    I can't seem to figure out a way to run the first line using userscripts, does anybody else know how to do this (I'm really new to linux!!!)

    Thanks
    Dave

  7. #7

    Standard

    Hi dave,

    it might suffice to set the PATH variable to include /ffp/bin before you start transmission.

    So instead of "/ffp/bin/sh -l" try to use a line like this:
    export PATH=/ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/syno/bin:/usr/syno/sbin:/usr/local/bin:/usr/local/sbin
    In addition, make sure the first line of transmission.sh looks like this:
    #!/ffp/bin/sh
    Good luck!

  8. #8

    Lächeln It works

    Zitat Zitat von hsteinbo Beitrag anzeigen
    Hi dave,

    it might suffice to set the PATH variable to include /ffp/bin before you start transmission.

    So instead of "/ffp/bin/sh -l" try to use a line like this:
    In addition, make sure the first line of transmission.sh looks like this:


    Good luck!
    Hi hsteinbo,

    thank you for the info the /ffp/bin path was enough, this is what I ended up doing in my transmission script:

    Code:
     
    #!/bin/sh
    #
    export PATH=$PATH:/ffp/bin
     
    /ffp/start/transmission.sh start
    and now it starts on boot, thanks for the help

  9. #9

    Standard fun_plug on buffslo Terastation Duo works

    Hi,
    i tried to find out if fun_plug works on my TS-Duo. And it works fine.
    I will check it now for the work all day. After that i will report here about problems.

    Thanks...

+ Auf Thema antworten

Ähnliche Themen

  1. ffp: Totalabsturz
    Von Steffen im Forum Conceptronic
    Antworten: 5
    Letzter Beitrag: 13.10.2008, 11:00
  2. Kein Spindown trotz ffp auf USB-Stick
    Von Steffen im Forum Conceptronic
    Antworten: 10
    Letzter Beitrag: 19.09.2008, 15:39
  3. upgrade fun_plug 0.4 --> ffp 0.5
    Von herby68 im Forum Conceptronic
    Antworten: 3
    Letzter Beitrag: 17.07.2008, 19:43

Lesezeichen

Forumregeln

  • Es ist dir nicht erlaubt, neue Themen zu verfassen.
  • Es ist dir nicht erlaubt, auf Beiträge zu antworten.
  • Es ist dir nicht erlaubt, Anhänge hochzuladen.
  • Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.