If the server to which you are connecting requires PAP or CHAP
authentication, you have a little bit more work.
Microsoft Windows NT RAS can be set up to use a variation on CHAP
(Challenge/Handshake Authentication Protocol). In your PPP sources tar
ball, you will find a file called README.MSCHAP80 that discusses this.
You can determine if the server is requesting authentication using this
protocol by enabling debugging for pppd. If the server is requesting MS
CHAP authentication, you will see lines like:-
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap 80> <magic 0x46a3>] |
The critical information here is auth chap 80.
In order to use MS CHAP, you will need to recompile pppd to support
this. Please see the instructions in the README.MSCHAP80 file in the PPP
source file for instructions on how to compile and use this variation.
You should note that at present this code supports only Linux PPP
clients connecting to an MS Windows NT server. It does NOT support
setting up a Linux PPP server to use MSCHAP80 authentication from clients.