chackl

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by chackl

  1. Hello dear Community!

    First i hast to excuse my bad enlish and also my bad knowlege of Linux. I'm at the beginning and i'm learning it for the moment.

    I could set up btsync on a Qnap NAS and a Synology NAS both with ARM Arch.

    Now i'm trying to set btsync on an iomega ix2-200 (Cloud Version).

    What i did so far:

    i copied and configed btsync with that structure:

    All files are within /etc/btsync/

    Then there are sub direcorys:

    /etc/btsync/scr/ - Contains the btsync.sh / Start - Stop Skript

    /etc/btsync/bin/ - Contains the btsync file / binary file that is executed with ./btsync

    /etc/btsync/var/ - Contains all the config files

    /etc/btsync/var/btsync.conf

    {
    "device_name": "NAS",
    "listening_port": 0,
    "storage_path": "/etc/btsync/var",
    "pid_file": "/etc/btsync/btsync.pid",
    "check_for_updates": true,
    "use_upnp": true,
    "download_limit": 0,
    "upload_limit": 0,
    "webui": {
    "listen": "0.0.0.0:8888",
    "login": "admin",
    "password": "*****"
    }
    }

    /etc/btsync/scr/btsync.sh (based on a qnap-package)

    #!/bin/bash
    CONFIG=/etc/btsync/var/btsync.conf
    start()
    {
    PID=`pidof btsync`
    if [ $PID ]; then
    echo $"BTSync already running"
    else
    echo $"Starting btsync service"
    /etc/btsync/bin/btsync --config $CONFIG
    fi
    }

    stop()
    {
    PID=`pidof btsync`
    if [ $PID ]; then
    echo $"Stopping btsync service"
    kill -SIGINT ${PID}
    else
    echo $"BTSync isn't running"
    fi
    }
    restart()
    {
    stop
    start
    }
    [ -f $CONFIG ] || exit 0
    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    restart)
    stop
    start
    ;;
    esac

    exit $RETVAL

    Then i did the following commands in Putty (SSH):

    chmod +x /etc/btsync/scr/btsync.sh
    chmod +x /etc/btsync/bin/btsync

    So this was it what i set up - so now (gess what) i want to start it and get an error:

    /etc/btsync/scr/btsync.sh start
    Segmentation fault (core dumped)

    Ok let's try this one:

    cd /etc/btsync/bin/
    ./btsync
    Segmentation fault (core dumped)

    - same problem.

    The NAS has a armv5tel - and a Linux System - So i took the ARM package.

    So i did a hard google research before i'm writing here and i found out that ix2-200 is listed as working. But i definitly could not find any setup manual or any tutorial - just users that may stay with the same problem. So i'm not a linux geek so,

    please, please help me with that. Maybe i just forgott a smal line (ore maybe more) and i'm not getting it working.

    Verry kind Regards,

    C.Hackl