Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: luisc on September 17, 2004, 05:24:20 AM

Title: Yi.org not changing IP
Post by: luisc on September 17, 2004, 05:24:20 AM
I signed up with yi.org for Domain and Dynamic DNS. I cannot get yi.org to update my IP on SME 6.01-01. I have looked through the Forums and cannot find much info on setting this up. Help Please.

This is the cron message I got:

/etc/cron.weekly/refresh-ddns:

Looking up www.yi.org
www.yi.org
Making HTTP connection to www.yi.org
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Access without authorization denied -- retrying
Retrying with access authorization information.
Looking up www.yi.org
www.yi.org
Making HTTP connection to www.yi.org
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access http://www.yi.org/bin/dyndns.fcgi?ipaddr=68.21.11.166'
Alert!: Unable to access document.

lynx: Can't access startfile
Title: Yi.org not changing IP
Post by: thernes on September 17, 2004, 08:14:42 PM
I am having the exact same problem.... :cry:
Title: Yi.org not changing IP
Post by: thernes on September 17, 2004, 08:31:04 PM
not sure about if this file is the problem as it says Ignore domain parameter since yi.org only manages subdomains of yi.org...

Quote
#!/bin/sh
# Description: www.yi.org (free service)

#------------------------------------------------------------
# Send DNS IP address update to yi.org. Ignore DOMAIN
# parameter since yi.org only manages subdomains of yi.org.
#------------------------------------------------------------

IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN=$4

DATETIME=date
lynx -source -auth="$USERID:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"
Title: Yi.org not changing IP
Post by: thernes on September 17, 2004, 10:07:38 PM
ok, I got the solution from the owner of yi.org;

Open this file;
/sbin/e-smith/dynamic-dns/yi

change this:
Quote
lynx -source -auth="$USERID:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"


to this:
Quote
lynx -source -auth "$DOMAIN:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"


Then you can run /etc/e-smith/events/actions/update-dns with no problems.
Title: Thank you so much
Post by: luisc on September 18, 2004, 03:51:34 AM
Thank you so much. I had been trying to figure this out for about 2 weeks. It worked. Thanks again.
Title: Re: Thank you so much
Post by: CharlieBrady on October 03, 2004, 02:09:39 AM
Quote from: "luisc"
Thank you so much. I had been trying to figure this out for about 2 weeks. It worked. Thanks again.


If only you'd known, you could have grabbed:

RPMS/noarch/e-smith-dynamicdns-yi-1.4.0-02cb.noarch.rpm

from my contribs area, and any e-smith.org mirror site, e.g:

http://ftp.surfnet.nl/ibiblio/distributions/e-smith/contrib/CharlieBrady/
Title: Yi.org not changing IP
Post by: arnoldob on April 24, 2005, 07:59:17 PM
I fussed with this for a while then figured out the all I needed to do was put the domain name in the field for the userid during the setup for the dynamic DNS for yi.org and all was well. It was confusing because the dynamic DNS setup for yi.org asks for the userid.