I figured this out (or RTFMed). It was simple: ddclient -use=if ppp0 .
That's all that was needed and I put this in a script that scarts ppp
at bootup (a script under /etc/rc.boot) The only thing now is that
most of the times, pppd hasn't yet got an IP from the router and
ddclient starts up. I have given a sleep time for ddclient as 3 mintes
but even this much is less and it fails when the ppp0 IP takes more
time.
Same thing happens with ipmasq which also is started along with
ddclient. Then lots of ipmasq junk comes on the screen and it's hard
to type a command or even login ( i need to keep pressing Ctrl - L).
Is there a solution to this? Previously it never used to take long to
get the IP address. Is there a way I can make this proicess faster? I
use pppoe.
And is there way I can execute the scripts that I have under
/etc/rc.boot? Like the scripts under /etc/rcx.d hev a number
associated with them and when they get executed?
Regards,
Deboo