my reading of this was that set OPT_NO_PAP to 0 unless you want your server to
not ask for PAP authentication at all. I set that and OPT_NO_CHAP to 1 because
I wanted them to be able to get past PPP negotiations before being challenged
with a password. (I'm using it in conjunction with the password protection in
I assume if you set OPT_REQUIRE_PAP to 1 it will always cause it to ask for a
PAP password, even if you do not have a secrets file set up. But if it can
find a secrets file it will probably ask for PAP regardless of the setting of
OPT_REQUIRE_PAP. Just a guess...
It looked like there is also an option for you to not use a secrets file at all
and use the system passwords (available at all the other login prompts). Don't
know how well this works in practice.
BTW the correct specification for a secrets file name is "/ata0/secrets.dat";
make sure you have the quotes in the right place and that you have the slash at
the beginning. Also don't start PPP until you have mounted your hard drive or
there will be problems.
> If I decide to use the diffrents flags available in vxworks for configuring
> inside configAll.h
> Do i need only to set the PPP_OPT_NO_PAP to 1 or I do need Also to set
> PPP_OPT_REQUIRE_PAP to 0???
> I other words, do theses two options need to be set in order to enable PAP
> in the PPP server ?? if so they must be setto which value respectively (1or
> Thank in advance,...