• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

ddclient will nicht mehr!

evilyves

Newbie
Hi,
ich habe einen DNS bei dyndns.org. Weiterhin habe ich einen ddlcient 3.6.3 installiert.
Lief auch alles mal, musste ihn aber neu aufsetzen und jetzt will ddclient nicht mehr!! :-:)twisted:

tail -f /var/log/messages:

linux ddclient: /etc/init.d/rc5.d/S20ip-up.loc start
linux ddclient: No local IP given so cannot update

Ich habe keinen Router. Ich habe 2 Netzwerkkarten in meinem Linuxserver und gehe über PPP mit Adsl ins www.

Hier meine Configs.
/etc/ddclient.conf

Code:
######################################################################
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
#
#use=ip, ip=127.0.0.1 # via static IP's
#use=if, if=eth0 # via interfaces
#use=web # via web
#
#protocol=dyndns2 # default protocol
#proxy=fasthttp.sympatico.ca:80 # default proxy
#server=members.dyndns.org # default server
#server=members.dyndns.org:8245 # default server (bypassing proxies)

login=powerlogin # default login
password=mussdarin # default password
#mx=mx.for.your.host # default MX
#backupmx=yes|no # host is primary MX?
#wildcard=yes|no # add wildcard CNAME?

##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
##
server=members.dyndns.org, \
protocol=dyndns2 \
mein.superserver.net

#######################################################################

Hatte auch diesen hier ausprobiert :-(
Code:
use=if if=ppp0


etc/ppp/ip-up.loc:

Code:

#!/bin/sh
######################################################################
## $Header: /home/paul/src/ddclient/RCS/sample-etc_ppp_ip-up.local,v 3.6 2002/11/03 20:20:16 root Exp $
######################################################################
##
## On my host, pppd invokes this script with args:
## /etc/ppp/ip-up.local ppp0 /dev/pts/1 115200 192.168.2.1 192.168.2.3
##
## From the manual page for my pppd, these aguments are:
## scriptname interface-name tty-device speed local-IP-address remote-IP-address ipparam
##
## Some people have reported that their pppd returns their
## local-IP-address as $3. If that's also the case for you,
## you may need to change the $4 below to $3. This may not
## be necessary if you pppd also passes the local-ip-address
## in the environment as either PPP_LOCAL or IPLOCAL.
##
######################################################################
PATH=/usr/sbin:${PATH}
IP=
IP=${IP:-$PPP_LOCAL}
IP=${IP:-$IPLOCAL}
IP=${IP:-$4}

## update the DNS server unless the IP address is a private address
## that may be used as a internal LAN address (or PPtP tunnel).

logger -t ddclient $0 $*
case "$IP" in
10.*) ;;
172.1[6-9].* | 172.2[0-9].* | 172.3[0-1].*) ;;
192.168.*) ;;
"") logger -t ddclient No local IP given so cannot update
;;
*) (
sleep 5
ddclient -daemon=0 -syslog -use=if -if=$1 >/dev/null 2>&1
) &
;;
esac
################################################################################



Kann mir vieleicht jemand weiterhelfen ???

Danke! ;-)
 

torbla

Member
Hallo ich benutze es so und es funzt

daemon=300 # Der Daemon überprüft alle 300 Sekunden,
# ob sich die IP-Adresse geändert hat ...
syslog=yes # ... und schreibt einen Logeintrag ins Syslog
# (normalerweise /var/log/messages).
# mail=root # Sende eine E-Mail bei Änderung der
# IP-Adresse (nicht aktiviert)
pid=/var/run/ddclient.pid # Speichere die Prozess-ID des Daemons in
# /var/run/ddclient.pid

# use=ip, ip=127.0.0.1 # Statische IP übermitteln (nicht aktiviert)
# use=if, if=ppp0 # Lies IP aus einem Interface aus (nicht aktiviert)
use=web # Ermittle IP-Nummer über Web-Zugriff

protocol=dyndns2 # Standardprotokoll
server=members.dyndns.org # Standardserver
login=linuxusertest # Standard-Login für den DynDNS-Account
password=blablabl # Standard-Passwort

server=members.dyndns.org, protocol=dyndns2, meinhostname.dyndns.org

# Zusätzlicher Eintrag für zoneedit. Da dieser Dienst andere Zugangsdaten als
# DynDNS verwendet, enthält die Zeile neue protocol-, login- und
# password-Angaben.
server=www.zoneedit.com, protocol=zoneedit1, login=zoneeditlogin, password=zoneeditpasswort, meinhostname.meine.domain
 
OP
evilyves

evilyves

Newbie
linux ddclient: ./ip-up.loc
linux ddclient: No local IP given so cannot update


:evil: :evil: :evil: :evil: :evil: :evil: :evil:

Hat nichts genutzt!!!
alles und jeder kann ins I-net nur das blöde Ding will net!

trotzdem danke ! :wink:
 
OP
evilyves

evilyves

Newbie
Habs aufgegeben las ihn jetzt einfach im daemon-mode laufen!

Dank bis zum nächsten mal! :wink:
 
Oben