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

Re: [SOLVED] Re: how to find out pppd's exit status?

On Sun, Sep 08, 2002 at 01:53:11AM +0200, martin f krafft wrote:
> How do you detect pppd's failure to connect because of a busy signal
> with /etc/ppp/ip-up.d ????????
Take a look, here:
> > > > as I'd find out about pppd's status: if it got a busy-signal or
> > > > anything else, no information would be written to the file. Can I do
What I wanted was a reliable way to write the time when the
connection was established and when it was terminated. If the number
is busy, no connection is established, which is kind of logical,
thus no information gets written to the file -- I've tested it with
dialling my own number. :) 
Of course, you cannot know that you've tried to establish a
connection or why it has failed; but that's not what I wanted. The
solution fits my needs perfectly.


echo ${girl_name} > /etc/dumpdates

Reply to: