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

Exit Print View

Updated: July 2014

How to Define the Connection With an Individual Peer

  1. Become an administrator on the dial-out machine.

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

  2. Update the repository information for the DNS and name service switch services.
    # svccfg
    svc:> select network/dns/client
    svc:/network/dns/client> setprop config/domain = astring: ""
    svc:/network/dns/client> setprop config/nameserver = net_address: ""
    svc:/network/dns/client> addpropval config/nameserver ""
    svc:/network/dns/client> select network/dns/client:default
    svc:/network/dns/client:default > refresh
    svc:/network/dns/client:default > validate
    svc:/network/dns/client:default > select system/name-service/switch
    svc:/system/name-service/switch > setprop config/host = astring: "files dns"
     svc:/system/name-service/switch:default > select system/name-service/switch:default
    svc:/system/name-service/switch:default > refresh
    svc:/system/name-service/switch:default > validate
    # svcadm enable network/dns/client
    # svcadm refresh system/name-service/switch
  3. Create a file for the peer.

    For example, you would create the following file to define the dial-in server myserver:

    # cat /etc/ppp/peers/myserver
    idle 120
    connect "chat -U 'mypassword' -T 1-123-555-1213 -f /etc/ppp/mychat"

    Specifies that the device /dev/cua/a should be used as the serial interface for calls to myserver.


    Defines the speed of the link.


    Specifies that for transactions with peer myserver, the dial-out machine initially has an IP address of myserver assigns an IP address to the dial-out machine for every dial-up session.

    idle 120

    Indicates that the link must time out after an idle period of 120 seconds.


    Specifies that the peer myserver does not need to provide authentication credentials when negotiating the connection with the dial-out machine.

    connect "chat -U 'mypassword' -T 1-123-555-1213 -f /etc/ppp/mychat"

    Specifies the connect option and its arguments, including the phone number of the peer, and the chat script /etc/ppp/mychat with calling instructions.

See also

The following list provides references to related information.