For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
# 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
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"
Where:
/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 system initially has an IP address of 0.0.0.0. myserver assigns an IP address to the dial-out system 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 system.
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
To configure another dial-out system, see How to Configure the Modem and Serial Port on a Dial-Out System.
To test modem connectivity by dialing out to another computer, see the 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 system.
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.