I have a Dail-up cable modem connection. I use
www.yi.org as dynamic dns provider.
I have edit the file /sbin/e-smith/dynamic-dns/yi into this:
#!/bin/sh
#------------------------------------------------------------
# Send DNS IP address update to yi.org. Ignore DOMAIN
# parameter since yi.org only manages subdomains of yi.org.
#------------------------------------------------------------
IPADDR=netstat -rn | egrep ^0.0.0.0 | sed -e "s,.* ,,g" |
xargs /sbin/ifconfig | grep "inet.addr" | sed -e "s,.*addr:,,"
-e "s, .*,,"
USERID=(yi.org username)
PASSWD==(yi.org password)
DATETIME=date
lynx -source -auth=$USERID:$PASSWD
http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR |
sed -e "s,^,$DATETIME: ," -e "s,<.*?>,,g"
Add the line /sbin/e-smith/dynamic-dns/yi ip-up
in /etc/ppp/ip-up.local
Also add theline in the template located at /etc/e-smith/templates/etc/ppp/ip-up.local/signal-event