Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 1997 22:40:20 -0700 (PDT)
From:      Jaye Mathisen  <mrcpu@cdsnet.net>
To:        Greg Lehey <grog@lemis.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Anyway to get connect speed with usermode ppp/tun0 device?
Message-ID:  <Pine.NEB.3.95.970902223809.9029U-100000@mail.cdsnet.net>
In-Reply-To: <19970903142319.54464@lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help

No, the CONNECT string from when ppp parses up the output of the CHAT
script...  ie, connect 31200, v.34/ARQ, etc.

Not the device speed.

On Wed, 3 Sep 1997, Greg Lehey wrote:

> On Tue, Sep 02, 1997 at 09:11:58PM -0700, Jaye Mathisen wrote:
> > 
> > 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;
> lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
>         -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
>         -nokerninfo -extproc
> iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel ignbrk
>         -brkint -inpck -ignpar -parmrk
> oflags: -opost -onlcr -oxtabs
> cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb crtscts -dsrflow
>         -dtrflow -mdmbuf
> cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
>         eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
>         min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
>         stop = ^S; susp = ^Z; time = 0; werase = ^W;
> 
> The speed is specified as 'baud'; in fact, it's bit per second.
> 
> Greg
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970902223809.9029U-100000>