From owner-freebsd-questions Tue Mar 19 0:58:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from two.zutom.sk (two.zutom.sk [212.89.230.2]) by hub.freebsd.org (Postfix) with ESMTP id 76E1D37B404 for ; Tue, 19 Mar 2002 00:58:28 -0800 (PST) Received: from roman2 (roman.zutomxx [10.0.0.2]) by two.zutom.sk (8.11.6/8.11.1) with SMTP id g2J93qo81946 for ; Tue, 19 Mar 2002 10:03:52 +0100 (CET) (envelope-from roman@zutom.sk) Message-ID: <001601c1cf24$3bdb13b0$0200000a@zutomxx> From: "Roman Mikus" To: Subject: strange ppp state Date: Tue, 19 Mar 2002 09:58:27 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I have 2 FreeBSD machines running ppp on leased line with analog modems. Modems are configured with &l1 options for leased lines and my ppp.conf looks like: default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa0 set speed 38400 set ifaddr 10.0.0.213 10.0.0.214 255.255.255.252 add! 10.0.0.212/30 HISADDR I'm running ppp with ppp -dedicated command. After restarting of both machines ppp connects without problems and I can ping another side. But after some time (few hours), ppp disconects for some reason and hangs up in the state you can see from my ppp.log file. Modems are connecting without any problems. This state can be repaired only with restarting of ppp on both machines. I have installed FreeBSD-4.5-STABLE and FreeBSD 4.4-p3-RELEASE on these machines. Can anyone tell me where is a problem? Is it ppp or modem related? Thank you for any advice. Roman ppp.log: Mar 18 19:11:01 wog ppp[39327]: Phase: Using interface: tun0 Mar 18 19:11:01 wog ppp[39327]: Phase: deflink: Created in closed state Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: set device /dev/cuaa0 Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: set speed 38400 Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: set ifaddr 10.0.0.213 10.0.0.214 255.255.255.252 Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: add! 10.0.0.212/30 HISADDR Mar 18 19:11:01 wog ppp[39327]: tun0: Phase: PPP Started (interactive mode). Mar 18 19:11:18 wog ppp[39327]: tun0: Command: /dev/tty: term Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: bundle: Establish Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: deflink: closed -> opening Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: deflink: Connected! Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: deflink: opening -> carrier Mar 18 19:11:19 wog ppp[39327]: tun0: Phase: deflink: /dev/cuaa0: CD detected Mar 18 19:11:19 wog ppp[39327]: tun0: Phase: deflink: carrier -> ready Mar 18 19:11:25 wog ppp[39327]: tun0: Phase: deflink: ready -> carrier Mar 18 19:11:25 wog ppp[39327]: tun0: Phase: deflink: carrier -> lcp Mar 18 19:11:25 wog ppp[39327]: tun0: LCP: FSM: Using "deflink" as a transport Mar 18 19:11:25 wog ppp[39327]: tun0: LCP: deflink: State change Initial --> Closed Mar 18 19:11:25 wog ppp[39327]: tun0: LCP: deflink: State change Closed --> Stopped Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: LayerStart Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: ACFCOMP[2] Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: PROTOCOMP[2] Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: MRU[4] 1500 Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: MAGICNUM[6] 0x7b6bc115 Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: State change Stopped --> Req-Sent Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: RecvConfigAck(1) state = Req-Sent Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message