Miscellaneous Procedures > Configuring Dial-Out > Configuring the /etc/ppp/peers File

Configuring the /etc/ppp/peers File
The default file in /etc/ppp/peers is called wireless. The wireless file reads a chat script from the /etc/chatscripts/wireless file.
The following figure shows an example /etc/ppp/peers/wireless file.
user claro
Example /etc/ppp/peers/wireless File
The example /etc/ppp/peers/wireless file shown in Example /etc/ppp/peers/wireless File makes the following definitions:
Defines /dev/ttyM1 as the port
Tells connect to initiate the connection using /usr/local/sbin/chat with the parameters:
-v executes the script in verbose mode
-t3 sets the timeout to 3 seconds
-f /etc/chatscripts/wireless, tells the application to read the chat script from the specified file.
If the administrator chooses to create another chat file in /etc/chatscripts, the administrator must change the filename specified after the -f option to the new filename and specify the new filename in the outPort.pppcall definition in the /etc/generic-dial.conf file.
To Configure the /etc/ppp/peers/wireless File
This procedure configures the device name for the port, the user name, and other optional values in the peers file in /etc/ppp/peers using the default filename wireless.
1.
Open the /etc/ppp/peers/wireless file for editing.
2.
The following screen example shows /dev/ttyM1 entered as the device name for PCMCIA card slot 1.
[root@OnSite root]# vi /etc/ppp/peers/wireless
3.
4.
5.
6.

Miscellaneous Procedures > Configuring Dial-Out > Configuring the /etc/ppp/peers File