Date: Wed, 17 Sep 1997 23:07:23 -0500 From: "Jonathan E. Lyons" <parrothd@midwest.net> To: Allen Louden <alouden@access.mountain.net>, questions@FreeBSD.ORG Subject: Re: Message-ID: <3.0.3.32.19970917230723.006ac348@midwest.net> In-Reply-To: <3.0.32.19970917214944.006ccd28@access.mountain.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19970917230723.006ac348>