Koozali.org: home of the SME Server

ddclient client in SME 5.6

Robbie

ddclient client in SME 5.6
« on: March 07, 2003, 06:08:11 AM »
I am having trouble getting the ddclient version 3.6.2 to run automatically in SME 5.6 and was hopping someone could give me some pointers. The following is an outline of everything that I have tried. Just as a side note, I have the same ddclient 3.6.2 running perfectly in SME 5.5 before I formatted the box and upgraded to SME 5.6.

I can run the client the "ddclient -daemon=0 -debug -verbose -noquiet" and it updates dyndns.org perfectly.

If I manually start the daemon with the "/etc/rc.d/init.d/ddclient start" command, it appears to work perfectly.

If I run chkconfig I see that the ddclient is set to run in all run levels except 7, which of course is the SME default run level.

I have also tried modifying the "/etc/e-smith/templates/etc/ppp/ip-up.local/" templates to run ddclient when there is a ip-up event. I am not sure what I am doing wrong here, but I have been up able to get this to work either.

If anyone has installed the ddclient in SME 5.6 could you please give me some pointer on what I might be doing wrong?

Kelvin

Re: ddclient client in SME 5.6
« Reply #1 on: March 07, 2003, 01:15:05 PM »
I think I read before somewhere that chkconfig does not support runlevel 7 ??

In any case, have a look in /etc/rc7.d

You should have something like a S70ddclient which will start ddclient in runlevel 7. If not, copy one in from the other rc directories.

Kelvin

Robbie

Re: ddclient client in SME 5.6
« Reply #2 on: March 07, 2003, 06:14:03 PM »
I have tried that, and it show that ddclient is running when I do a "ps axf", but it does not appear to update Dyndns.org.

Is there something else that might be wrong?

Kelvin

Re: ddclient client in SME 5.6
« Reply #3 on: March 08, 2003, 06:21:27 AM »
Is there a failure message in your messages log ?

I really did not have to do very much to get it to work. As long as ddclient.conf is setup correctly (ie. with correct username / password) it just works. Remember that ddclient does not use SME's configuration database info and everything is contained within ddclient.conf.

What does ddclient say when you just issue the ddclient command at the command prompt (without any additional command line parameters) ?

Kelvin

Robbie

Re: ddclient client in SME 5.6
« Reply #4 on: March 08, 2003, 06:50:51 AM »
No, there is not any failure messages.

As I had stated previously, ddclient runs perfectly and updates my ip address correctly if I run it from the command prompt. The only problem is that ddclient does run automatically from runlevel 7 and/or from the "ip-up.local" script.

Please keep any suggestions coming. I am sure it is just something I am forgetting.

Kelvin

Re: ddclient client in SME 5.6
« Reply #5 on: March 08, 2003, 06:58:07 AM »
Actually, your original post shows you used command line parameters when entering your ddclient command.

As mentioned in my previous post, what I want to know is what you get when you entered ddclient WITHOUT any command line parameters.

Additionally, what is your connection setup like ?

Are you connected via ADSL, cable, dialup ???

Is there a router between you and the Modem or is the modem an integrated rounter-modem ?

Etc.


Kelvin

Robbie

Re: ddclient client in SME 5.6
« Reply #6 on: March 08, 2003, 07:06:38 AM »
Kelvin,

I just figured it out.

Your first suggestion was correct. I was creating a symbolic link from K70ddclient in /etc/rc7.d . When I changed the symbolic link to S70ddclient with the command "ln -s ../init.d/ddclient S70ddclient" and restarted the SME machine the ddclient ran perfectly. I had forgotten that it needed to be and S instead of a K for runlevel 7.

Thanks for your help.