Date: Wed, 3 Sep 1997 10:51:13 -0600 (MDT) From: Nate Williams <nate@mt.sri.com> To: Greg Lehey <grog@lemis.com> Cc: Jaye Mathisen <mrcpu@cdsnet.net>, hackers@freebsd.org Subject: Re: Anyway to get connect speed with usermode ppp/tun0 device? Message-ID: <199709031651.KAA27597@rocky.mt.sri.com> In-Reply-To: <19970903142319.54464@lemis.com> References: <Pine.NEB.3.95.970902211058.9029T-100000@mail.cdsnet.net> <19970903142319.54464@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > PPP isn't my cup of tea, I'm thinking that something oughta be able > > to be done inside HdlcDetect(), but perhaps there's a better choice... > > > > Any tips or ideas appreciated. > > # stty -f /dev/cuaa1 -a > speed 38400 baud; 0 rows; 0 columns; This tells you how fast the computer<->modem connection is, but if you hard-code it at a speed, it won't tell you the 'CONNECT XXXXX' speed, which can vary depending on line conditions. Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709031651.KAA27597>