* disconnect
@ 2008-07-03 17:45 tony.chamberlain
2008-07-07 11:18 ` disconnect James Carlson
0 siblings, 1 reply; 2+ messages in thread
From: tony.chamberlain @ 2008-07-03 17:45 UTC (permalink / raw)
To: linux-ppp
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: disconnect
2008-07-03 17:45 disconnect tony.chamberlain
@ 2008-07-07 11:18 ` James Carlson
0 siblings, 0 replies; 2+ messages in thread
From: James Carlson @ 2008-07-07 11:18 UTC (permalink / raw)
To: linux-ppp
tony.chamberlain@lemko.com writes:
> 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.
Killing the pppd process with SIGTERM should cause it to send a normal
termination signal to the peer.
--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-07 11:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 17:45 disconnect tony.chamberlain
2008-07-07 11:18 ` disconnect James Carlson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox