In your email to me, Luis Francisco Gonzalez, you wrote: > > Hi, > I was wondering if somebody was using PAP and/or CHAP to connect to a ppp > server using debian. I struggled with it for a week to no avail. I finally > installed RedHat's ppp package using alien and it worked as advertised. I > ended > up installing debian's ppp back but substituing pppd for the version in > RedHat. I assume therefore, this has to do with the changes made to pppd by > debian. I noticed the problem arises in the authentication. The +ua option, > which is kept for backward compatibility in pppd is completely disabled. This > happened with the current(i2.2.0f-23) version of the ppp package as well as > for that in Debian-1.2.5 (19, I think but could be mistaken).
This is what we use here to dial into the Cisco TS: # /etc/ppp/options # # $Id: options,v 1.4 1996/05/01 18:57:04 alvar Exp $ # # Originally created by Jim Knoble <[EMAIL PROTECTED]> # Modified for Debian by alvar Bray <[EMAIL PROTECTED]> # Modified for PPP Server setup by Christoph Lameter <[EMAIL PROTECTED]> # # Use the command egrep -v '#|^ *$' /etc/ppp/options to quickly see what # options are active in this file. ## Change the next line to point at the serial port that your modem ## is attached to. Do *not* use the cua ports /dev/ttyS1 ## Default speed. Higher speeds can be obtained by setserial 38400 ## This is the bare connect script. This should work most ## of the time. connect "chat ABORT BUSY \"\" ATDT9999999 CONNECT" ## Make our ppp connection our route to the world defaultroute ## We don't have a address we prefer to use. noipdefault ## THIS IS IMPORTANT!! This must be the name you use for ## authentication for PAP. The password must be contained in ## /etc/ppp/pap-secrets which should be ***mode 600*** ## THIS FILE CONTAINS YOUR CLEAR TEXT PASSWORD ## DO NOT MAKE IT WORLD READABLE!!!! name sailer ## for the above 'name' option to work, you must have a pap-secrets file ## that looks like ## ## sailer * mypassword ## ## asyncmap 0 crtscts lock modem -chap ## Lets turn off vj header compression and bsd compression ## These seem to cause more problems than they are worth ## trying to get ppp working the first time. When you ## get ppp working, try commenting them out to see if you ## can get the slight performance gain they provide. -vj -bsdcomp ## These 2 lines provide a way to check to see if your ## ppp connection is actually still responding. As ## provided below, every 30 secs it will ping the remote end, ## and kill ppps after 4 *consecutive* failures. lcp-echo-interval 30 lcp-echo-failure 4 ## If you want to maintain a constant connection ## uncomment out this line. # persist # With this option, pppd will accept the peer's idea of our local IP # address, even if the local IP address was specified in an option. #ipcp-accept-local # With this option, pppd will accept the peer's idea of its (remote) IP # address, even if the remote IP address was specified in an option. #ipcp-accept-remote Tim -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps "Don't hang on, nothing lasts forever but the earth and sky." Kansas - Dust in the Wind ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.** -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .