Date: Wed, 3 Sep 1997 14:23:19 +0930 From: Greg Lehey <grog@lemis.com> To: Jaye Mathisen <mrcpu@cdsnet.net> Cc: hackers@FreeBSD.ORG Subject: Re: Anyway to get connect speed with usermode ppp/tun0 device? Message-ID: <19970903142319.54464@lemis.com> In-Reply-To: <Pine.NEB.3.95.970902211058.9029T-100000@mail.cdsnet.net>; from Jaye Mathisen on Tue, Sep 02, 1997 at 09:11:58PM -0700 References: <Pine.NEB.3.95.970902211058.9029T-100000@mail.cdsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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?19970903142319.54464>