For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# 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: "10.10.111.15" svc:/network/dns/client> addpropval config/nameserver "10.10.130.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
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"
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 0.0.0.0. myserver assigns an IP address to the dial-out machine for every dial-up session.
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.
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.
To configure another dial-out machine, see How to Configure the Modem and Serial Port (Dial-out Machine).
To test modem connectivity by dialing out to another computer, see cu(1C) and tip(1) man pages. These utilities can help you test if your modem is properly configured. Also, use these utilities to test if you can establish a connection with another machine.
To learn more about the configuration files and options, see Using PPP Options in Files and on the Command Line.
To configure a dial-in server, see Configuring Devices on the Dial-in Server.