I wrote:
| Note that a stay packet can bring up the link, [...]
s/stay/stray/
Doh!
--
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/
"Yeh, Buddy..
I've got your COMPUTER!
Right HERE!!"
(computer THIS!)
- Larry Cunningham, [EMAIL PROTECTED]
___
| > Also worth remembering is that ppp has an "on demand" mode. You have
| > ppp in this mode at boot and it doesn't start the modem, just sets
| > routes. When you try to send data over the link it starts the modem.
| > Which means you can pretend it's up and let ppp do the dial-out bit
| > itsel
* Cameron Simpson ([EMAIL PROTECTED]) [010127 19:08]:
> Also worth remembering is that ppp has an "on demand" mode. You have
> ppp in this mode at boot and it doesn't start the modem, just sets
> routes. When you try to send data over the link it starts the modem.
> Which means you can pretend it
another trick is the files in /var/ru.
On Mon, 29 Jan 2001, Thierry ITTY wrote:
> ifconfig tells you whether your ppp connection is active or not. then it's
> up to you to connect conditionnally
>
> # my app
> ifconfig | grep "ppp0" || start_ppp_script
> start app X
>
>
> or something like t
ifconfig tells you whether your ppp connection is active or not. then it's
up to you to connect conditionnally
# my app
ifconfig | grep "ppp0" || start_ppp_script
start app X
or something like that
A 14:11 27/01/2001 -0500, vous avez écrit :
>Howdy folks,
>
>Can someone help to pull the wool
> I cna get the 'not active' part to work, but just can't figure out how
> to detect if ppp0 is up and running.
>
> Any hints/pointers will be most appreciated.
>
> Thanks,
>
> Merell
Hi Merrell, I see you have allready some answers but I use this:
pppisup(){
[ "`/sbin/route -n|/bin/grep -E
On Sat, Jan 27, 2001 at 02:44:44PM -0500, rpjday <[EMAIL PROTECTED]> wrote:
| On Sat, 27 Jan 2001, Merell L. Matlock, Jr. wrote:
| > X needs to run if my dial-up connection is active, but if the dial-up
| > is *not* active, it needs to dialup, run then disconnect.
| > I cna get the 'not active' pa
On Sat, Jan 27, 2001 at 01:27:36PM -0800, Brad Doster <[EMAIL PROTECTED]> wrote:
| Is there a known host address that you can only ping thru the ppp interface?
| If so, you might script a ping test, then let X act based on the result
| code. Something like this might work:
|
| #Wait for 4
Is there a known host address that you can only ping thru the ppp interface?
If so, you might script a ping test, then let X act based on the result
code. Something like this might work:
#Wait for 4 'echo reply's or 10 seconds, whichever is greater
#NOTE: -w does not work under k
On Sat, 27 Jan 2001, Merell L. Matlock, Jr. wrote:
> Howdy folks,
>
> Can someone help to pull the wool out of my eyes?
>
> I need to do a job called 'X'.
>
> X needs to run if my dial-up connection is active, but if the dial-up
> is *not* active, it needs to dialup, run then disconnect.
>
> I cn
Howdy folks,
Can someone help to pull the wool out of my eyes?
I need to do a job called 'X'.
X needs to run if my dial-up connection is active, but if the dial-up
is *not* active, it needs to dialup, run then disconnect.
I cna get the 'not active' part to work, but just can't figure out how
t
11 matches
Mail list logo