Does anyone have any idea how to use PAP with chat or pppd?
From Bill Studenmund (wrstuden@loki.stanford.edu): chat does nothing w/ PAP. pppd can use it, and you don’t need special scripts to do it. To make PAP work, see the man pages on pppd. The basic idea is you make a file /etc/ppp/pap-secrets which contains the secrets for authentication. Each line has a server & client field (who’s authenticating to whom) and a secret. The only possable changes needed to use PAP are (AFAIK) you must have the chat script end right where the PAP authentication will happen (as pppd does it, not chat). And your options must not disalow it. pppd will allow autentication if requested by default, so when the other side asks, it will receive. Here are suggestions for how to change the ppp.setup scripts. As I’ve not used PAP, I’m depending on the list to correct anything I get wrong. 🙂 1) Delete everything in the chat script after the “CONNECT” line. Once chat sees CONNECT, it’s done. Leave the “” at the end of the line. Thus all the login ID and password stuff