From owner-freebsd-questions Thu Jul 31 16:30:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA10870 for questions-outgoing; Thu, 31 Jul 1997 16:30:47 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA10865 for ; Thu, 31 Jul 1997 16:30:44 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) with ESMTP id JAA00277; Fri, 1 Aug 1997 09:00:40 +0930 (CST) From: Greg Lehey Received: (grog@localhost) by freebie.lemis.com (8.8.6/8.6.12) id JAA07741; Fri, 1 Aug 1997 09:00:39 +0930 (CST) Message-Id: <199707312330.JAA07741@freebie.lemis.com> Subject: Re: Don't know how to configure ppp for my ISP In-Reply-To: <19970731123417169.AAA251@richardc> from Richard Collins at "Jul 31, 97 07:31:07 am" To: rcollins@datastar.net (Richard Collins) Date: Fri, 1 Aug 1997 09:00:39 +0930 (CST) Cc: freebsd-questions@FreeBSD.ORG Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Richard Collins writes: > Hi, > I have called my ISP about this and the only thing they can tell me is that > they removed the login prompts. They sound like real professionals. > All this is because no one there can setup a script file so that > Windows 95 and Windows NT will login without having the user type in > there username and there password. Do I need to use PAP and/or Chap? This is really a question your ISP should answer. I suspect the answer is 'yes'. > If so can someone show me an example that would use no prompts. Here's the example from /etc/ppp/ppp.conf.sample: # If the peer requires to use CHAP, don't forget to supply authname # and authkey. # # If you'd like to use CHAP to authenticate with the peer, comment out # the line ``enable chap'' below. You also need to prepare /etc/ppp.secret. # # If the remote system sends its system name within the CHAP packet and it # is found in /etc/ppp.secret, then the secret key is taken from that file # and value of authkey specified here is ignored. # chapsite: set phone 12345678 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" deny pap accept chap # enable chap set authname MySystemName set authkey OurSecretKey If you're not using login prompts (the normal case), just remove the 'set login' line: chapsite: set phone 12345678 deny pap accept chap # enable chap set authname MySystemName set authkey OurSecretKey You'll note that 'enable chap' has been commented out. That's the normal way: the ISP authenticates you, but you don't authenticate the ISP. Greg