From owner-freebsd-hackers Sun Jan 11 18:56:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA12334 for hackers-outgoing; Sun, 11 Jan 1998 18:56:23 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns2.cetlink.net (root@ns2.cetlink.net [209.54.54.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA12057 for ; Sun, 11 Jan 1998 18:54:29 -0800 (PST) (envelope-from jak@cetlink.net) Received: from hot1.auctionfever.com (ts1-cltnc-22.cetlink.net [209.54.58.22]) by ns2.cetlink.net (8.8.5/8.8.5) with SMTP id VAA06712; Sun, 11 Jan 1998 21:54:25 -0500 (EST) From: jak@cetlink.net (John Kelly) To: dmaddox@scsn.net Cc: hackers@FreeBSD.ORG Subject: PAP login Date: Mon, 12 Jan 1998 03:53:51 GMT Message-ID: <34c78c65.11922734@mail.cetlink.net> References: <19980111150619.48677@scsn.net> <34b95e60.140553@mail.cetlink.net> <34B957B6.AEC4CDAF@scsn.net> <34bf6bef.3609890@mail.cetlink.net> <19980111194120.34679@scsn.net> <34c17b19.7493033@mail.cetlink.net> <19980111203118.15860@scsn.net> <34c48361.9613962@mail.cetlink.net> <19980111211328.42326@scsn.net> In-Reply-To: <19980111211328.42326@scsn.net> X-Mailer: Forte Agent 1.01/16.397 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id SAA12058 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk On Sun, 11 Jan 1998 21:13:28 -0500, dmaddox@scsn.net (Donald J. Maddox) wrote: >If I use PPP (which _does_ support channel bonding, and >which works great under W95 dial-up networking), the modem connects fine, >but instead of a login prompt, I just get garbage characters from the >modem. I know the problem is something simple that I am just not quite >grasping Yep! :) Those garbage characters you see are the PPP handshake from the ISP. You simply need to do a PAP authentication directly without any login script. In my /etc/ppp directory is a file called pap-secrets containing three items of information: name remotename password ---- ---------- -------- John BigTimeISP toomanybozos My call to pppd looks like: pppd /dev/cuaa3 57600 defaultroute crtscts -bsdcomp \ asyncmap 00000000 connect /root/pppk/cetchat \ name John remotename BigTimeISP The last line tells pppd to use the password "toomanybozos" from the pap-secrets file. The "name" must match your user name at your ISP, likewise for the "password," but the "remotename" can be anything you choose. The "connect /root/pppk/cetchat" is my chat script which contains some AT commands to initialize the ISDN device, dial the number, and wait for a CONNECT string, but nothing for logging in to a terminal prompt. As soon as the chat script gets the CONNECT string, it passes control back to pppd which starts the PAP authentication. John