[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About boot scripts and pppoe [was Dydns service]



On 5/10/05, H. S. <greatexcalibur@yahoo.com> wrote:
> Apparently, _Deboo ^_, on 05/10/2005 01:06 PM,typed:
> 
> >
> > 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
> >
> >
> 
> Shot in the dark:
> I haven't really looked at this, but isn't there a method of listing
> ppp0 in /etc/network/interfaces? I keep getting this message at bootup
> that this is the newer method but I could be completely wrong. Now, if
> that is possible, you could just put
> "up ddclient ...." or whatever the command you want to give
> so that it is executed after ppp0 comes up (I assume ppp0 has an IP by
> the time is comes up else it doesn't come up at all).


No, ppp0 comes up even without an IP and later gets an IP.


Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Reply to: