Date: Wed, 04 Aug 1999 14:45:04 +0300 From: "Andy V. Oleynik" <andyo@prime.net.ua> To: "Dragon Knight ][" <dragonk@mato.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user ppp problem. Message-ID: <37A827BE.DC09D451@prime.net.ua> References: <000c01beddd5$53c14460$0201a8c0@dragonknight.yi.org> <001d01bede20$107b7a40$0201a8c0@dragonknight.yi.org> <37A7EFE7.42965D8D@prime.net.ua> <000d01bede51$d29a5700$0201a8c0@dragonknight.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Dragon Knight ][" wrote: > > > 10:02:58 dragonknight ppp[5574]: Phase: Pap Input: SUCCESS > > > (Login Succeeded) > > > Aug 3 10:02:58 dragonknight ppp[5574]: Phase: deflink: lcp > > > -> open > > > Aug 3 10:02:58 dragonknight ppp[5574]: Phase: bundle: > > > Network > > > Aug 3 10:03:59 dragonknight ppp[5574]: Phase: deflink: HDLC > > > errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0 > > > > > > > > 55574 and terminated 73 appears to be different processes. I had the > > same HDLC msg on my mppp link > > on startup but it's running since 1 July w/o any trouble. Do U running a > > couple of ppp instances? > > do "ps ax|grep ppp" after U have this msg. > > > > i'm only running one instance of ppp I dont think. There were obviously 2 ppp pids in ur log. Well write "set log Phase Chat LCP PAP IPCP CCP tun" in ppp.conf. Also I recommend U to run ppp interactively to have more control over the session. I > > > > > Aug 3 10:13:31 dragonknight ppp[73]: Phase: deflink: HDLC > > > errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0 > > > Aug 3 12:13:22 dragonknight ppp[73]: Phase: Signal 15, > > > terminate. > > > > > Sig 15 - is software SIGTERM from explicit kill. Do U interrrupt ppp by > > urself? > > > > yes, i had to.. it wouldn't ever un-hang otherwise... until i added > enable lqr to my ppp.conf. U dont need lqr enabled in ur conf. Let modems check the CD and link quality. > > > > > here's my ppp.conf if it matters. > > > > > > default: > > > set device /dev/cuaa1 > > > set speed 115200 > > > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 60 \"\" > > > ATE1Q0 OK-AT-OK \\dATDT\\TTIMEOUT 40 CONNECT" > > > deny lqr > > > allow users dragonk U dont need allow users command as U are client.. Generally ur ppp.conf looks good and last msg with pid 5574 from log (but the last 2 with pid of 74) said that connection established. Well U may do some checks from ppp.linkup & ppp.linkdown to be sure that everything is Ok. > > > > ISP: > > > set phone ------- > > > set login > > > set authname *** > > > set authkey *** > > > set timeout 300 > > > > > timeout 300 will cause ppp drop the link after 5 min idle. > > > > I know. is there a problem with 300? > > > > > > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > > > delete ALL > > > add default HISADDR thanks much. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 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?37A827BE.DC09D451>