Új hozzászólás Aktív témák

  • Lacpac

    őstag

    Üdv,

    Reinstall lett a vége.
    Az ip frissítéshez (no-ip) van kliens linuxra is, megy is vele frankón.
    Az a gondom vele, hogy nem tudom rávenni arra hogy az oprendszerrel együtt induljon.
    Itt van a readme idevonatkozó részlete:

    HOW TO START THE CLIENT

    The noip2 executable can be run by typing /usr/local/bin/noip2

    If you want it to run automatically when the machine is booted, then
    place the following script in your startup directory. (/etc/init.d/rcX.d
    or /sbin/init.d/rcX.d or ???)

    #######################################################
    #! /bin/sh
    # . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
    case "$1" in
    start)
    echo "Starting noip2."
    /usr/local/bin/noip2
    ;;
    stop)
    echo -n "Shutting down noip2."
    killproc -TERM /usr/local/bin/noip2
    ;;
    *)
    echo "Usage: $0 {start|stop}"
    exit 1
    esac
    exit 0
    #######################################################

    Where the 'X' in rcX.d is the value obtained by running the
    following command
    grep initdefault /etc/inittab | awk -F: '{print $2}'

    Killproc can be downloaded from ftp://ftp.suse.com/pub/projects/init
    Alternatively, you can uncomment the line after #! /bin/sh

    If you have a recent RedHat version, you may want to use the startup script
    supplied by another user. It's in this package called redhat.noip.sh
    It may need some modification for your system.

    There is a startup script for Debian called debian.noip2.sh.
    It also has been supplied by another user and is rumored to fail in some
    situations.

    Another user has supplied a proceedure to follow for MAc OS X auto startup.
    It's called mac.osx.startup. Mac users may wish to read that file.

    Here is a script which will kill all running copies of noip2.
    #!/bin/sh
    for i in `noip2 -S 2>&1 | grep Process | awk '{print $2}' | tr -d ','`
    do
    noip2 -K $i
    done
    These four lines can replace 'killproc' and 'stop_daemon' in the other scripts.

    If you are behind a firewall, you will need to allow port 8245 (TCP) through
    in both directions.
    (/I)

    létrehoztm az rcX.d-t a /etc/init.d/ -be. chmod775
    Innentől kezdve nem igazán tudom mit kell vele kezdeni.

    Valaki tudna ebben segíteni?

    [ Szerkesztve ]

Új hozzászólás Aktív témák