Go to main content

Managing Serial Networks Using UUCP and PPP in Oracle® Solaris 11.4

Exit Print View

Updated: February 2022
 
 

How to Add PAP Support to the PPP Configuration Files on a Dial-In Server


Note - PPP was removed in the Oracle Solaris 11.4 SRU 24 release.

The procedure uses as examples the PPP configuration files that were introduced in How to Define Communications Over the Serial Line on a Dial-In Server.

  1. Become an administrator on the dial-in server.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Add authentication options to the /etc/ppp/options file.

    For example, you would add the options in bold to an existing /etc/ppp/options file to implement PAP authentication:

    lock
    auth
    login
    nodefaultroute
    proxyarp
    ms-dns 198.51.100.1
    idle 120

      Where:

    • auth specifies that the server must authenticate callers before establishing the link.

    • login specifies that the remote caller be authenticated by using the standard UNIX user authentication services.

    • nodefaultroute indicates that no pppd session on the local system can establish a default route without root privileges.

    • proxyarp adds an entry to the system's Address Resolution Protocol (ARP) table that specifies the IP address of the peer and the Ethernet address of the system. With this option the peer appears to be on the local Ethernet to other systems.

    • ms-dns 198.51.100.1 enables pppd to supply a Domain Name Server (DNS) address, 198.51.100.1, for the client.

    • idle 120 specifies that idle users are disconnected after two minutes.

  3. In the /etc/ppp/options.cua.a file, add the following address for the cua/a user.
    :198.51.100.2
  4. In the /etc/ppp/options.cua.b file, add the following address for the cua/b user.
    :198.51.100.3
  5. In the /etc/ppp/pap-secrets file, add the following entry.
    *     *     	""     *

    Note - The login option, as described in the preceding text, supplies the necessary user authentication. This entry in the /etc/ppp/pap-secrets file is the standard way of enabling PAP with the login option.

See Also

To configure PAP authentication credentials for trusted callers of the dial-in server, refer to Configuring PAP Authentication on Dial-Out Systems for Trusted Callers.