Technical article 109438

Configuring Morning Star PPP for "dynamic" CHAP authentication.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

A normal CHAP authentication session entails the service provider prompting the client for a username, the client looking up that username in a table (/usr/lib/mstppp/Auth for Morningstar PPP) and sending an encrypted string back to the server, which the server then confirms or denies.

More commonly, some large service providers have dynamic databases
of usernames.  That is, depending on the time of day, connection
server or modem server port number, local access switch, and so on,
you will be prompted by a different username every time your PPP
connection is made.

We need a way of sending our secret no matter what the username challenge is.

Solution

To configure PPP from Morning Star for dynamic CHAP, simply add an entry in /usr/lib/mstppp/Auth that looks like this:

"*"   secret
where secret is the CHAP password.  For example:
"*"           dK3ig8G8hso8dFH2

Then kill pppd and rerun /usr/lib/mstppp/Autostart. Try the link again.

This only works on PPP from Morning Star Release 2.1.1 or later. To access a free upgrade to version 2.1.1, go to:

http://www2.sco.com
NOTE: For some providers no name is used at all.  For these providers use:
""    secret

From the Xinuos technical article database, record 109438. Reproduced with permission. The original is at www.sco.com/ta/109438, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.