From owner-freebsd-questions Wed May 31 19:43:51 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA25780 for questions-outgoing; Wed, 31 May 1995 19:43:51 -0700 Received: from gw.seaman.quaestus.com (gw.seaman.quaestus.com [156.46.24.193]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA25772 for ; Wed, 31 May 1995 19:43:46 -0700 Received: from spro.seaman.quaestus.com (spro.seaman.quaestus.com [156.46.24.194]) by gw.seaman.quaestus.com (8.6.11/8.6.11) with SMTP id VAA03300; Wed, 31 May 1995 21:43:25 -0500 Message-Id: <199506010243.VAA03300@gw.seaman.quaestus.com> Date: Wed, 31 May 95 21:43:19 CDT From: lists@Seaman.Chenequa.WI.US (Richard Seaman, Jr) Reply-To: lists@Seaman.Chenequa.WI.US (Richard Seaman, Jr) To: pvinci@ix.netcom.com (Paul Vinciguerra), faulkner@mpd.tandem.com Cc: questions@FreeBSD.org X-Mailer: Richard Seaman's PMMail v1.1 Subject: Re: ppp w/ chap authentication. Sender: questions-owner@FreeBSD.org Precedence: bulk On Wed, 31 May 1995 15:18:26 -0500 (CDT) you wrote: >> >> Hi, >> >> Well, I thought I got a good deal with an isp so that I could finally >> connect my FreeBSD system to the net. I found out that this ISP only >> provides PPP with CHAP. >> >> Is there any way to connect my 2.0R to this isp? they're no help at >> all. >> >> >> thanks, >> >> Paul >> > >pppd supports chap, doesn't it? I connect to a remote Livingston Portmaster via PPP/chap/pap using the following (accross an ISDN link using an Adtran ISU Express async TA): invoke pppd as follows: /usr/sbin/pppd /dev/modem 115200 in /etc/ppp I have the following files: -rw------- 1 root wheel 41 May 23 22:15 chap-secrets -rw-r--r-- 1 root wheel 181 May 23 23:27 options -rw------- 1 root wheel 41 May 23 22:15 pap-secrets -rwx------ 1 root wheel 194 May 1 10:51 ppp-call -----------chap-secrets looks like-------------- username_on_remote remote_system_name password ------------------------------------------------ -----------pap-secrets looks like--------------- username_on_remote remote_system_name password ------------------------------------------------ -----------options looks like------------------- crtscts # enable hardware flow control modem # modem control line connect /etc/ppp/ppp-call # logon script using chat asyncmap 0 netmask 0xffffffc0 # we have a small subnet of a class C here passive defaultroute # adds remote ppp site as default route user username_on_remote name username_on_remote ------------------------------------------------ -----------ppp-call looks like------------------- #!/bin/sh # # ppp-call # chat -v ABORT "NO CARRIER" ABORT BUSY ABORT ERROR ABORT "NO ANSWER" ABORT "NO DIAL TONE" \ "" ATZ\\d\\d OK "AT&C2&D2" OK ATDT5551212 \ CONNECT >/dev/modem /dev/cuaa0 You could just as easily use /dev/cuaaX instead of /dev/modem in the scripts above. If you want the line monitoring script, let me know. Dick Richard Seaman, Jr. Dick@Seaman.Chenequa.WI.US 5182 North Maple Lane voice: 414-367-5450 Chenequa, WI 53058 fax: 414-367-5852