I have installed net/pptpclient (1.0.3).  About 5 times a week, it dies 
and must be restarted.  Does anyone have a script which checks and 
restarts it if it has died?

FWIW: here's my ppp.conf.  From what I can tell, the redial does nothing.

And from what I know, the alias command is deprecated.  Guess I should be 
using -nat.

PONTEOTTAWA:
 set authname myname
 set authkey mypassword
 set timeout 0
 set ifaddr 0 0
 set redial 15 0
 add 10.0.1.0/24 HISADDR
 alias enable yes

And here is how it dies:

May 21 20:55:43 ns1 ppp[74801]: Phase: deflink: lcp -> open
May 21 20:55:43 ns1 ppp[74801]: Phase: bundle: Network
May 23 16:41:59 ns1 ppp[74801]: Phase: Signal 15, terminate.
May 23 16:41:59 ns1 ppp[74801]: Phase: Signal 15, terminate.
May 23 16:41:59 ns1 ppp[74801]: Phase: deflink: read (0): Got zero bytes
May 23 16:41:59 ns1 ppp[74801]: Phase: deflink: open -> lcp
May 23 16:41:59 ns1 ppp[74801]: Phase: bundle: Terminate
May 23 16:41:59 ns1 ppp[74801]: Phase: deflink: Disconnected!
May 23 16:41:59 ns1 ppp[74801]: Phase: deflink: Connect time: 157578 secs: 

5756166 octets in, 123806252 octets out
May 23 16:41:59 ns1 ppp[74801]: Phase: deflink: : 54244 packets in, 88738 
packets out
May 23 16:41:59 ns1 ppp[74801]: Phase:  total 822 bytes/sec, peak 63761 
bytes/sec on Thu May 23 16:41:59 2002
May 23 16:41:59 ns1 ppp[74801]: Phase: deflink: lcp -> closed
May 23 16:41:59 ns1 ppp[74801]: Phase: bundle: Dead
May 23 16:41:59 ns1 ppp[74801]: Phase: PPP Terminated (normal).

-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to