Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 1997 02:21:19 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Brian McGovern <bmcgover@cisco.com>
Cc:        hackers@freebsd.org
Subject:   Re: PPPd oddity when changing baud rate 
Message-ID:  <199705010121.CAA23259@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Wed, 30 Apr 1997 11:40:32 EDT." <199704301540.LAA00303@bmcgover-pc.cisco.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705010121.CAA23259>