Become superuser on the dial-out machine.
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.
For complete details on DNS implementation, refer to “DNS Administration (Reference)” in System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).
Edit the /etc/nsswitch.conf file to have the DNS database searched first for host information.
hosts: dns [NOTFOUND=return] files |
Create the /etc/ppp/peers directory, and then add a file for the peer.
For example, you would create the following file to define the dial-in server myserver:
# cd /etc/ppp # mkdir peers # cd peers # vi 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.
Task |
For Instructions |
---|---|
Configure another dial-out machine |
How to Configure the Modem and Serial Port (Dial-out Machine). |
Test modem connectivity by dialing out to another computer |
cu(1C) and tip(1) man pages. These utilities can help you test if your modem is properly configured. Also, use these utitlities to test if you can establish a connection with another machine. |
Get detailed information about the PPP configuration files | |
Begin configuring the dial-in server |