From owner-freebsd-hackers Wed Sep 3 15:01:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA10836 for hackers-outgoing; Wed, 3 Sep 1997 15:01:20 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA10828 for ; Wed, 3 Sep 1997 15:01:16 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 3 Sep 1997 18:00:12 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA11540; Wed, 3 Sep 97 18:00:10 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA23398; Wed, 3 Sep 1997 17:57:00 -0400 Message-Id: <19970903175659.34947@ct.picker.com> Date: Wed, 3 Sep 1997 17:56:59 -0400 From: Randall Hopper To: Jaye Mathisen Cc: hackers@FreeBSD.ORG Subject: Re: Anyway to get connect speed with usermode ppp/tun0 device? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: ; from Jaye Mathisen on Tue, Sep 02, 1997 at 09:11:58PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jaye Mathisen: |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. If you're using chat for dialup before turning control over to PPP try something like: if chat -t 90 -r /opt/log/dialup \ REPORT CONNECT \ ABORT "NO CARRIER" ABORT BUSY ABORT "NO DIAL TONE" \ "" "$INITSTRING" \ "OK" "AT$DIALSTRING" \ "Password:" "$SERVER_PASSWORD" \ ... then # Do ppp here else # Process chat error here fi CONNECT lines will be appended to /opt/log/dialup. Didn't grok the argument about this not being useful. If one's paying their ISP for 28.8 or 56K access, it's prudent to make sure that one's getting the service they're paying for and not just tossing money into the breeze. Randall Hopper