Problem
The connection server or terminal server I am connecting to doesn't
require usernames and passwords to log in. Instead, PAP or CHAP
authentication is used to validate the account information. How
do I set this up using Morning Star PPP? Cause
When configuring an outgoing link using the Internet Manager, you are forced to enter the "chat script" information, even if you aren't using a chat script.
Solution
Using the Internet Manager, configure the outgoing PPP link as you normally would, using any values for the account name and password.
Then, manually edit the following files in /usr/lib/mstppp:
In the Autostart file, along with the standard link options, include
"name accountname" (where accountname is the name you are logging
in as). This refers the PAP or CHAP negotiation to the appropriate
entry in the Auth file.In the Auth file, include the accountname and secret (password)
for this outgoing link. An sample entry would be something like:neil trustme8In this example, you are logging in as user "neil" with the password "trustme8", using PAP or CHAP to authenticate the username.
Finally, in the Systems file, remove any data from the original
chat script. So, immediately after configuring the link through
the Internet Manager, you would see a Systems file something like
this:172.16.25.25 Any;5 ACU 9600 5551212 "" "" in:--in: \dneil word: \qtrustme8
Change this entry so that everything after the first "" is
removed. The entry would then look like this:172.16.25.25 Any;5 ACU 9600 5551212 ""You should then either reboot or manually stop and restart pppd,
and test the connection. See other articles in this database for
troubleshooting tips. See also
ppp.Systems(MST_PPP), ppp.Auth(MST_PPP), other articles in this
database