Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started 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
-
I am having the exact same problem.... :cry:
-
not sure about if this file is the problem as it says Ignore domain parameter since yi.org only manages subdomains of yi.org...
#!/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"
-
ok, I got the solution from the owner of yi.org;
Open this file;
/sbin/e-smith/dynamic-dns/yi
change this:
lynx -source -auth="$USERID:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"
to this:
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.
-
Thank you so much. I had been trying to figure this out for about 2 weeks. It worked. Thanks again.
-
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/
-
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.