i´m not that crack and wondering where to put a little script into /var/chroot-pppoe/...../ip-up the automatically refresh my dynamic dns on refreshing ppp0.
not really hacking... installed the pluspack and compiled ez-ipupdate. works fine from shell "run by man" - but now i´m looking for the place where to put the script to execute it automatically on if-up ppp0 after hungup...
hi seb, sorry - not by private email - for sharing information with others.
1. Install ddclient 3.6.2 in /usr/sbin (maybe you will create a chroot later) 2. copy the sample-etc_ddclient.conf to /etc/ddclient.conf 3. check your ppp connection is active 4. enter "ifconfig" to get name of ppp interface (it should be ppp0) 5. edit your ddclient.conf via joe (joe /etc/ddclient.conf) 6. uncomment the "use=if" line and change the if=eth0 value to if=ppp0 7. enter "ddclient -daemon=0 -debug -verbose -noquiet" for testing
this should work !
here is a example conf for dyndns accounts:
daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog mail=root # mail update msgs to root pid=/var/run/ddclient.pid # record PID in file.
I have install ddclient in the usr/sbin directory as stated in the readme and the instructions above. I cannot start the service, i keep getting permission denied.
Command to /etc/sbin/rc.d/init.d ddclient start is the command i am using to start the service. Can someone assist please.
you should install the newest stable release 3.62 as i mentioned above. Please remeber, to use "su root" before installing ddclient und starting it (first time).
Do it just it is mentioned in the README - install it in /usr/sbin. Read my older Post for testing it - this should work.
steve, you need a startup script to start dyndns. in this case just use "named" as template and duplicate it to "ddclient" (cp named ddclient). finally edit ddclient.
Hi Seb. I worked that out after sending the post and with a bit of trial and error I got it to start. should i remove the stop and restart entries from the script or could these be used to stop and restart ddclient?
Because I have a computer on the DMZ zone running, Ftp, Http, etc., and that computer is 24x24 online, I decide to install DDclient rpm on that machine, and configure the use of the asl http proxy on /etc/ddclient.conf. I do that, because I don't like to install anything on the Asl box.