Go to main content

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

Exit Print View

Updated: October 2017
 
 

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.3.

  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: "example.com"
    svc:/network/dns/client> setprop config/nameserver = net_address: "198.51.100.15"
    svc:/network/dns/client> addpropval config/nameserver "198.51.100.8"
    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
    /dev/cua/a
    57600
    noipdefault
    defaultroute
    idle 120
    noauth
    connect "chat -U 'mypassword' -T 1-123-555-1213 -f /etc/ppp/mychat"
    /dev/cua/a

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

    57600

    Defines the speed of the link.

    noipdefault

    Specifies that for transactions with peer myserver, the dial-out machine initially has an IP address of 0.0.0.0. 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.

    noauth

    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.