From owner-freebsd-questions Wed Aug 4 4:46:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id E501F14D21 for ; Wed, 4 Aug 1999 04:46:12 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id OAA01285; Wed, 4 Aug 1999 14:45:06 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <37A827BE.DC09D451@prime.net.ua> Date: Wed, 04 Aug 1999 14:45:04 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en, ru, uk MIME-Version: 1.0 To: "Dragon Knight ][" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user ppp problem. References: <000c01beddd5$53c14460$0201a8c0@dragonknight.yi.org> <001d01bede20$107b7a40$0201a8c0@dragonknight.yi.org> <37A7EFE7.42965D8D@prime.net.ua> <000d01bede51$d29a5700$0201a8c0@dragonknight.yi.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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