Become superuser on the dial-out machine or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Update DNS databases by creating the following /etc/resolv.conf file:
domain bigcompany.com nameserver 10.10.111.15 nameserver 10.10.130.8 |
Specifies that the peer's DNS domain is bigcompany.com.
Lists the IP addresses of name servers at bigcompany.com.
Edit the /etc/nsswitch.conf file to have the DNS database searched first for host information.
hosts: dns [NOTFOUND=return] files |
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" |
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.
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.