From owner-freebsd-questions Wed Sep 17 21:10:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA04070 for questions-outgoing; Wed, 17 Sep 1997 21:10:56 -0700 (PDT) Received: from curly.GlobalEyes.net ([209.60.64.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA04065 for ; Wed, 17 Sep 1997 21:10:50 -0700 (PDT) Received: from parrothd.globaleys.net ([209.60.64.59]) by curly.GlobalEyes.net (Netscape Mail Server v2.02) with SMTP id AAA134; Wed, 17 Sep 1997 23:16:42 -0500 Message-Id: <3.0.3.32.19970917230723.006ac348@midwest.net> X-Sender: parrothd@midwest.net X-Mailer: QUALCOMM Windows Eudora Pro Demo Version 3.0.3 (32) Date: Wed, 17 Sep 1997 23:07:23 -0500 To: Allen Louden , questions@FreeBSD.ORG From: "Jonathan E. Lyons" Subject: Re: In-Reply-To: <3.0.32.19970917214944.006ccd28@access.mountain.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Here, check out my script(well stolen from someone else :)), you'll need to enable chap and disable pap, and fill-in your IP information, and username and password, and phone number.... Later ####################################################### # PPP Configuration file ('/etc/ppp/ppp.conf') # # Default settings; These are always executed when PPP # is invoked and apply to all system configurations. ####################################################### default: set device /dev/cuaa0 set speed 57600 set log CHAT CONNECT PHASE disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK \\dATD5551234\\T TIMEOUT 30 CONNECT" set ifaddr 0 0 ###################################################### # # For interactive mode use this configuration: # # Invoke with 'ppp -alias global' # ###################################################### glabal: # accept pap accept chap deny pap # deny chap set authname Name set authkey Passwod set reconnect set openmode active set ifaddr 20.60.64.1/0 20.60.64.9/0 255.255.255.0 add 0 0 20.60.64.9 At 09:49 PM 9/17/97 -0400, you wrote: >Hello All, > >I have been informed by my ISP that I need to use chap to log in and I >should "look into newsgroups and online sources..." for information on how >to do so. >Again, I am unsure of what to do. Is a specific file required to be placed >in /etc/ppp (i.e chap-secrets)? > >The script will need to expect; > >name: >word: >(Now here is the part that I am unsure of how to script? This is the next >line in the login process) >Auto-Protocol detect-Begin protocol or enter 4 returns for interactive mode: >(Do I just need the 4 carriage returns? If so, how are they denoted in >script?) > >(Next is;) >Enter number of selection or use arrow keys. (I am then presented with 5 >choices and after selection, carriage return) > >Any help will be appreciated, >Thanks, >Allen > > >At 09:49 PM 9/17/97 -0400, Allen Louden wrote: >Hello All, > >I have been informed by my ISP that I need to use chap to log in and I >should "look into newsgroups and online sources..." for information on how >to do so. >Again, I am unsure of what to do. Is a specific file required to be placed >in /etc/ppp (i.e chap-secrets)? > >The script will need to expect; > >name: >word: >(Now here is the part that I am unsure of how to script? This is the next >line in the login process) >Auto-Protocol detect-Begin protocol or enter 4 returns for interactive mode: >(Do I just need the 4 carriage returns? If so, how are they denoted in >script?) > >(Next is;) >Enter number of selection or use arrow keys. (I am then presented with 5 >choices and after selection, carriage return) > >Any help will be appreciated, >Thanks, >Allen > > >