(Gelöst) Problem mit ddclient...

Status
Für weitere Antworten geschlossen.

dor557

New Member
So nun mal die Fehlerquelle wo anders angepackt !

Ich habe eine DSL-Verbindung zu T-Online.
Jedenfalls habe ich das gefühl das er die /etc/ppp/ip-up nicht ordnungsgemäss auisgeführt wird. bekomme aber in der Log Datei vom smpppd daemon die meldung das die /etc/ppp/ip-up korrekt beendet wurde Siehe unten !

Ich habe die /etc/ppp/ip-up.local datei und sie sieht folgendermassen aus :


Code:
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 an 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
in der /etc/ppp/ip-up ist ein eintrag dr Folgender massen aussieht :

Code:
	# call ip-up.local if it exists and is executable:
	if test -x /etc/ppp/ip-up.local ; then
	    /etc/ppp/ip-up.local "$@" | logger -p security.notice -t ip-up.local > /dev/null &
	fi
ich habe abder das Dumfe gefühl das der diese ip-up.local nicht ausführt. Ich habe zumindest nirgends eine meldung gesehen.

hier mal meine /var/log/smpppd/ifcfg-dsl0.log :

Code:
SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on dor557.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin capiplugin.so loaded.
pppd[0]: capiplugin: $Revision: 1.36 $
pppd[0]: capiconn:  1.13 
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: capiplugin: phase serialconn.
pppd[0]: controller 1: listen_change_state state=1 event=1 ????
pppd[0]: controller 1: listen_change_state state=1 event=1 ????
pppd[0]: capiplugin: leased line (adslpppoe)
pppd[0]: controller 1: listen_change_state state=0 event=3 ????
pppd[0]: controller 1: listen_change_state state=0 event=3 ????
pppd[0]: capiplugin: connected: "" -> "" outgoing
pppd[0]: capiplugin: using /dev/capi/0: "" -> "" outgoing
pppd[0]: Renamed interface ppp0 to dsl0
pppd[0]: Using interface dsl0
Status is: connecting
pppd[0]: Connect: dsl0 <--> /dev/capi/0
pppd[0]: capiplugin: phase establish (was serialconn).
pppd[0]: capiplugin: phase authenticate (was establish).
pppd[0]: PAP authentication succeeded
pppd[0]: capiplugin: phase network (was authenticate).
pppd[0]: local  IP address 84.173.83.2
pppd[0]: remote IP address 217.0.116.38
pppd[0]: primary   DNS address 217.237.149.225
pppd[0]: secondary DNS address 217.237.150.188
pppd[0]: capiplugin: phase running (was network).
pppd[0]: Script /etc/ppp/ip-up finished (pid 26422), status = 0x0
Status is: connected
Hat da evtl. jemand eine Lösung ?? Mein system Sieht man unten ! SuSE 10.0 mit eigenem Kernel !
 

dor557

New Member
ddclient zu ipcheck gewechselt.

So habe den ddclient gelöscht ! musste feststellen das der DDclient die ip bei dyndns.org nicht updated !

Habe das ipcheck.py script in /usr/sbin kopiert und in ipcheck umbenannt. und dann die ip-up.local entwprechend angepasst.

habe jetzt folgende ip-up.local :

Code:
PATH=/usr/sbin:${PATH}
IP=${IP:-$4}

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

logger -t  ipcheck $0 $*
case "$IP" in
10.*)		;;
172.1[6-9].* | 172.2[0-9].* | 172.3[0-1].*)	;;
192.168.*)	;;
"")		logger -t ipcheck No local IP given so cannot update
		;;
*)		(
			sleep 5
			ipcheck -w -r checkip.dyndns.org:8245 username passwort dor557.ath.cx
		) &
		;;
esac
und nun gehts ;)

Gruss Sascha
 
Status
Für weitere Antworten geschlossen.
Oben