Linux PPP protocol development
 help / color / mirror / Atom feed
From: tony.chamberlain@lemko.com
To: linux-ppp@vger.kernel.org
Subject: disconnect
Date: Thu, 03 Jul 2008 17:45:01 +0000	[thread overview]
Message-ID: <W6009161227901215107101@webmail35> (raw)

A member of this group helped me set up a pppd server that will reconnect
when disconnected.  It is more elaborate than this but basically

while :
do
   pppd call .......
   sleep 30 # pause before retry
done


then I killed the pptp process and watched it start up again.
The one problem is, the owner of the VPN said it didn't disconnect
correctly so I soon used up all the IP addresses in the IP pool.

Is there a way if a pppd or pptp process dies, to send a normal
exit or disconnect so this won't happen?



             reply	other threads:[~2008-07-03 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 17:45 tony.chamberlain [this message]
2008-07-07 11:18 ` disconnect James Carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=W6009161227901215107101@webmail35 \
    --to=tony.chamberlain@lemko.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox