From owner-freebsd-hackers Wed Apr 30 19:37:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA29633 for hackers-outgoing; Wed, 30 Apr 1997 19:37:24 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA29608 for ; Wed, 30 Apr 1997 19:37:20 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id TAA09345 for ; Wed, 30 Apr 1997 19:01:59 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA23259; Thu, 1 May 1997 02:21:19 +0100 (BST) Message-Id: <199705010121.CAA23259@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Brian McGovern cc: hackers@freebsd.org Subject: Re: PPPd oddity when changing baud rate In-reply-to: Your message of "Wed, 30 Apr 1997 11:40:32 EDT." <199704301540.LAA00303@bmcgover-pc.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 May 1997 02:21:19 +0100 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Ok. Heres a weird one for you. I'm hoping someone can shed some light on > my rapidly diminishing sanity. > > I'm working on a serial driver, and things are looking good in > character mode via kermit, and PPP at the default baud rate (9600). What > I'm seeing, however, is that if I change the baud rate for the link, > pppd doesn't get around to setting the new baud rate until just after > it gets an LCP:timout sending Config-Requests (or so says debugging with GDB), > and it breaks down the call. I'm also seeing numerous reads and writes to > the device before the baud-rate call is made, so I'm fairly confident > that its not just the timing of the debugger tripping the LCP timeout. Is pppd supposed to change its bit rate dynamically ? This doesn't make sense to me. Surely, the DT speed should stay constant (I have mine set to 115200 for everything). How is it supposed to notice that the speed has changed - by trying different speeds 'till it recognises something ? I think not. Yep. I must be missing what you're saying. > -Brian -- Brian , Don't _EVER_ lose your sense of humour....