Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Doyle Glaze on August 17, 2000, 08:25:53 PM

Title: yi.org
Post by: Doyle Glaze on August 17, 2000, 08:25:53 PM
How often does the e-smith sever send ip address changes to yi.org and can it be changed .

Thanks
Title: RE: yi.org
Post by: Paul Nesbit on August 17, 2000, 09:05:34 PM
Doyle Glaze wrote:

> How often does the e-smith sever send ip address changes to
> yi.org and can it be changed .
>

I believe this is done only whenever your IP changes.  

Paul
Title: RE: yi.org
Post by: Doyle Glaze on August 17, 2000, 09:14:44 PM
It appears that when the ip address is changed it is not sending the info. When I go to the yi.org script and run it by hand the changes go into affect within mins. Does anyone know were the script is to send the ipaddress to yi.org when it changes?

Thanks
Title: RE: yi.org
Post by: Charlie Brady on August 17, 2000, 09:39:13 PM
Doyle Glaze wrote:

>  Does anyone know
> were the script is to send the ipaddress to yi.org when it
> changes?

The script which is run when your IP address changes is:

/sbin/e-smith/dynamic-dns/yi

You could try calling it from a shell prompt - you need to call it thus:

/sbin/e-smith/dynamic-dns/yi x.x.x.x 'yi-userid' 'yi-password'

And you should look in /var/log/messages for any error messages from that script as well.

Regards

Charlie
Title: RE: yi.org
Post by: Doyle Glaze on August 17, 2000, 09:44:18 PM
I have tried calling the script from /sbin/e-smith/dynamic-dns/yi.org and it works. The main question is how does it know when the ip address changes that it needs to send the info to yi.org

Thanks
Title: RE: yi.org
Post by: CraigF on August 18, 2000, 04:56:23 AM
You need to call the yi.org update script at the end of /etc/ppp/ip-up.local
And don't forget to add it to the template (/etc/e-smith/templates/etc/ppp/ip-up.local
/signal-event)