Configuring the Dial-in Server
The tasks in this section are for configuring the dial-in server, the peer machine that receives the call over the PPP link from the dial-out machine. The tasks show how to configure the dial-in server myserver that was introduced in Figure 30-1.
Tasks for Configuring the Dial-in Server (Task Map)
Table 31-4 Task Map for Setting Up the Dial-in Server
Task | Description | For Instructions |
---|---|---|
1. Gather preconfiguration information | Gather data that is needed prior to setting up the link, such as peer host names, target phone numbers, and modem speed. | |
2. Configure the modem and serial port | Set up the modem and serial port. | "How to Configure the Modem and Serial Port (Dial-in Server)" |
3. Configure calling peer information | Set up the user environments and PPP options for every dial-out machine that is permitted to call the dial-in server. | |
4. Configure the serial line communication. | Configure the characteristics of the transmission across the serial line. | "How to Define Communications Over the Serial Line (Dial-in Server)" |
Configuring Devices on the Dial-in Server
The following procedure explains how to configure the modem and serial port on the dial-in server.
Before you do the next procedure, you must have completed the following activities on the peer dial-in server:
Installed the Solaris 9 operating environment
Determined the optimum modem speed
Decided which serial port to use
How to Configure the Modem and Serial Port (Dial-in Server)
Program the modem, as instructed in the modem manufacturer's documentation.
For other suggestions, refer to "How to Configure the Modem and Serial Port (Dial-out Machine)".
Attach the modem to the serial port on the dial-in server.
Become superuser on the dial-in server.
Configure the serial port by using admintool, as described in "Setting Up Terminals and Modems" in System Administration Guide: Advanced Administration.
Use admintool to do the following:
How to Set the Modem Speed
The next procedure explains how to set the modem speed for a dial-in server. For suggestions on speeds to use with Sun Microsystems' computers, see "Configuring the Modem Speed".
Log in to the dial-in server.
Use the tip command to reach the modem.
Instructions for using tip to set the modem speed are in the tip(1) man page.
Configure the modem for a fixed DTE rate.
Lock the serial port to that rate, using ttymon or admintool, as discussed in "Setting Up Terminals and Modems" in System Administration Guide: Advanced Administration.
Where to Go From Here
Task | For Instructions |
---|---|
Configure another serial port and modem on the dial-in server | "How to Configure the Modem and Serial Port (Dial-in Server)" |
Configure information about users that call the dial-in server |
Setting Up Users of the Dial-in Server
Part of the process of setting up a dial-in server involves configuring information about each known remote caller.
Before starting the procedures in this section, you must have done the following:
Obtained the UNIX user names for all users who are permitted to log in from remote dial-out machines.
Set up the modem and serial line, as described in "How to Configure the Modem and Serial Port (Dial-in Server)".
Dedicated an IP address to be assigned to incoming calls from remote users. Though optional, a dedicated IP address for all calls is useful when the number of potential callers exceeds the number of modems and serial ports on the dial-in server. For complete information about creating dedicated IP addresses, go to "Creating an IP Addressing Scheme for Callers".
How to Configure Users of the Dial-in Server
Become superuser on the dial-in server.
Create a new account on the dial-in server for each remote PPP user.
You can use admintool or the Solaris Management Console to create a new user. For instructions on creating a new user through Solaris Management Console, see "Setting Up User Accounts (Task Map)" in System Administration Guide: Basic Administration. For instructions on creating a new user through admintool, see admintool(1M).
Note - The remaining steps show how to create an account by using admintool. You can use the same parameters for creating an account with Solaris Management Console.
Use the Add User template to create the new user.
For example, the next table shows how you might fill out PPP-related parameters for an account that is called pppuser for user1 on the dial-out machine myhome.
Template Parameter
Value
Definition
User Name
pppuser
The user account name for the remote user. This account name should correspond to the account name that is given in the login sequence of the chat script. For example, pppuser is the account name that is found in the chat script in "How to Create the Instructions for Calling a Peer".
Login Shell
/usr/bin/pppd
The default login shell for the remote user. The login shell /usr/bin/pppd initially restricts the caller to a dedicated PPP environment.
Create Home Dir Path
/export/home/pppuser
The home directory /export/home/pppuser is set when the caller successfully logs in to the dial-in server.
Create for each caller a $HOME/.ppprc file that contains various options that are specific to the user's PPP session.
For example, you might create the following .ppprc file for pppuser.
# cd /export/home/pppuser # vi .ppprc noccp