Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 1998 22:33:56 +1200
From:      wheely <wheely@thevortex.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP: !bg processes 
Message-ID:  <199806141033.WAA13612@smtp2.ihug.co.nz>
In-Reply-To: <199806140951.KAA06341@awfulhak.org>
References:  <Your message of "Sun, 14 Jun 1998 19:51:37 %2B1200."             <199806140751.TAA31111@smtp2.ihug.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:51 PM 14/06/98 , Brian Somers wrote:
>> I have just upgraded my user PPP that came with 2.2.5-RELEASE to ppp980612
>> and I cannot get the !bg processes to send back their results to the
>> console. How do you do this with the new PPP version? Ideally I would like
>> to define for each process if the results are sent back or not as I want to
>> see what the results of my Dynamic DNS update but not know about sendmail
>> etc starting.
>
>It's not possible.  Ppp puts the process in the background and 
>disowns it so that it doesn't have to muck around with non-blocking 
>wait()s and doesn't leave piles of defunct processes hanging around.

I might as well revert to user-ppp in 2.2.5 as this version supported it.

>Why do you want to know ?  Can't you decide in whatever script or 
>program that you're running on what to do on failure (even use pppctl 
>to tell ppp to do something) ?

I don't really need ppp to do something (haven't looked at that side of
things). If there is an error with the program it dumps a webpage of
details about the error, but all i am really interested in is it telling me
if it ran without errors or if there was one.

Heres the URL to the program. 
http://www.geocities.com/SiliconValley/Heights/6494/mlddc.html

>> Also is it possible to echo on the console part of the login process
>> without using the term? One of my ISP's has a MOTD after I (or the chat
>> script) enter my password.
>
>  set log local +chat

That displays the whole lot, I'm looking for an event like:

Expect "Welcome"
set log local +chat
Expect [ppp gibberish] 
set log local -chat

wheely

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806141033.WAA13612>