I am trying to understand more about PAP/CHAP authentication and was
wandering if somebody could explain a couple of things, in particular,
the order and timing with which things occur.
Most ISPs I have come across provide two dial-in options - under Windows
these correspond to the `show terminal screen' setting. You can either
enable a terminal screen which allows you to go through the prompts, or
disable it so that PAP authentication occurs in place.
The question I have is whether PAP authentication is performed at the
lower ppp levels and is a part of the handshaking protocol, so that as
soon as the dial-in machine is talking ppp it is asking to authenticate
using the contents of the secrets file; or whether the terminal screen
must run its course and only when it is pausing to read from the dial-in
machine that it will accept a PAP request.
Using the following chat script as an example (formatted and snipped for
clarity):
"" "ATDT1234567"
CONNECT "\c"
Should the last line instead read something like:
CONNECT "\d\d\d\d\d\d\d\d\d\c"
in order to wait for all the in-coming text to spit out and only then to
drop to ppp for PAP authentication?
I hope the question makes sense, and thank you in advance for any
replies.
Kindest regards,
jk
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]