From owner-freebsd-stable Thu Apr 20 17:30:11 2000 Delivered-To: freebsd-stable@freebsd.org Received: from awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id D0A3A37B78C for ; Thu, 20 Apr 2000 17:30:06 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id BAA24589; Fri, 21 Apr 2000 01:25:01 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id BAA01394; Fri, 21 Apr 2000 01:25:00 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200004210025.BAA01394@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: William Denton Cc: Brian Somers , stable@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: Serial port problems with 4.0 In-Reply-To: Message from William Denton of "Wed, 19 Apr 2000 22:16:33 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Apr 2000 01:25:00 +0100 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On 19 April 2000, Brian Somers wrote: > > : I suspect on a real tty, this will have problems after ``opening -> > : carrier'' ! Does ``set cd off'' make any difference ? If it does, > : that's a bug. > > Here's a dump of a ppp session: > > bash-2.03# ppp > Working in interactive mode > Using interface: tun0 > ppp ON mrs-hudson> set log local phase > ppp ON mrs-hudson> term > Phase: bundle: Establish > Phase: deflink: closed -> opening > Phase: deflink: Connected! > deflink: Entering terminal mode on /dev/cuaa0 > Type `~?' for help > Phase: deflink: opening -> carrier > Phase: deflink: /dev/cuaa0 doesn't support CD > Phase: deflink: carrier -> ready > atdt3418903 > CONNECT 115200 > I assume you haven't got any ``set openmode passive'' lines in your config. This would certainly cause this. Otherwise, try setting ``debug'' and ``physical'' logging. What does it say then ? > In ppp.log on my other machine (3.4 where it's all fine), I see lines > like, "tun0: Phase: deflink: /dev/cuaa1: CD detected." So what's up with > the carrier detect here, I don't know. There should be no carrier detected. Now that I'm in a position to check what happens, I see that basically you'll always see no carrier at the ``term'' bit (there is no carrier after all), but as carrier is optional by default, that's ok. There's a problem that ppp never checks for carrier - even after it receives its first LCP packet, but I don't think this has anything to do with your problem. To exercise this, try ``set cd 1!'' and then ``term''. It'll never succeed (unless you're already connected). The increased logging mentioned above may tell us more about your problem.... > Bill > -- > William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message