This chapter tells you how to use the initialization script pppinit(1m) to configure your Solstice PPP client for the first time.
When you run pppinit, you will need the following information, which you must obtain from your system administrator or Internet provider:
The telephone number used to make calls to the remote server.
Your PPP login id and password.
Depending on the configuration of the remote server, your system administrator or Internet provider may also give you some of the following optional information:
The name used to identify the remote server.
An IP address for your client machine.
A CHAT script, or CHAT script template.
A PAP identifier and password.
A CHAP name and secret.
Running pppinit will overwrite any previous configuration of Solstice PPP that you have on your machine. You should use pppinit to initialize your client the first time you run Solstice PPP.
Login as root, or become superuser.
Start the initialization script pppinit, by typing:
prompt# /usr/bin/pppinit Welcome to the Solstice PPP 3.0 configuration script |
Select the appropriate modem from the list displayed.
Up to ten modems are displayed at one time. Use the + and - keys to scroll up and down the list.
Modem configuration ------------------- Select one modem from your database There are 20 modems available: [0] - Null Modem [1] - BocaModem V.34 DataFax [2] - AT&T DataPort Express [3] - AT&T 14400 bps Data-Fax PCMCIA Modem [4] - Cardinal V.34/V.FC 28.8 data/fax [5] - Cardinal MVP288I 28.8 Kbps V.34 Fax Modem [6] - SupraFaxModem 288 [7] - Hayes Accura 144B [8] - Hayes Accura 288V.FC [9] - Practical 14400 V32bis [10] - USRobotics Sporter 14400 Modem type (+/- to scroll the list): |
Enter the name of the serial port to which your modem is connected.
The script displays a list of the devices it detects in your system. The onboard serial interfaces in a SPARC workstation or server have device names of the form /dev/ttyn.
List of unix devices available: [ ttya ttyb ] Unix device used for this modem [ttya]: ttyb |
Enter the name of the remote server.
This name is only used to identify the server as it appears in ppptool and your local configuration files. If your system administrator or Internet provider did not give you a name for your server, you can enter any character string in response to this question.
Name of the remote server: server1 |
Enter the phone number used to call this remote server.
Solstice PPP will accept both digits and characters, including special characters such as # and *. Remember to include any digits or characters required to pass outside your local private branch exchange, if necessary. Commas are used to insert a pause. The letter P is used to invoke pulse dialing. For example, P0,,123456789.
Phone number for this server: P0,,123456789 |
Enter the name of the CHAT script to be used for this remote server.
This script will be executed automatically each time you connect to this server.
Filename of the chat script [miles-ppp.scr]: |
If the remote server is running a Solaris operating environment, pppinit can create a simple CHAT script to handle the UNIX login phase for your client.
Enter your PPP login id and password.
This script can create a template file, with default parameters for connecting to Unix systems. Do you want to do this now? [y] y Login id sent to miles-ppp: ppp2 Password sent to miles-ppp as ppp2: Password: Re-enter Password: |
Enter the IP addresses for your client and for this server.
If your system administrator or Internet provider did not give you any IP addresses, press Return to accept the default value none. The server will assign IP addresses for the PPP link when you make the connection.
You can enter IP addresses in dot notation, or represented by a host name. If you enter a host name, it must be associated with an IP address in the local file /etc/hosts.
Enter your IP address [none]? 129.xxx.xxx.117 Enter the Server IP address: 129.xxx.xxx.101 |
Enter the IP netmask:
If your system administrator or Internet provider did not give you an IP netmask, press Return to accept the default value.
IP netmask for this interface [255.255.255.0]: |
Enter the PAP id and password for this server.
If your system administrator or Internet provider did not give you any PAP parameters, press Return to accept the default value none. This feature is not enabled on the remote server.
Enter your PAP Id [none]? angel505 Enter the PAP Password: Re-enter Password: |
Enter the CHAP name and secret for this server.
If your system administrator or Internet provider did not give you any CHAP parameters, press Return to accept the default value none. This feature is not enabled on the remote server
Enter your CHAP Name [none]? papyrus*ok Enter the CHAP Secret: Re-enter Secret: |
This sets the amount of time that an idle connection will remain open before it is closed automatically. The default value is sufficient under most circumstances.
Inactivity timeout [120]: |
You have now configured your Solstice PPP client so that it can connect to a remote server. To specify another remote server, repeat steps 5 through 12.
Do you want to add an access to another server? [n] y |
When you have finished, you can either save your configuration to file, or exit the script without saving.
[1] - Asynchronous client (done). [W] - Exit Without saving [E] - Exit and Save |
The information you save to file is used to configure Solstice PPP each time it is started on your machine, and to initialize your modem each time you initiate a call to a server.
Your new configuration is invoked the next time you start Solstice PPP on your machine. Solstice PPP is started automatically each time your machine boots.
To start Solstice PPP manually, become root and type:
prompt# /etc/init.d/ppp start |
To stop Solstice PPP manually, become root and type:
prompt# /etc/init.d/ppp stop |