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 claroExample /etc/ppp/peers/wireless FileThe example /etc/ppp/peers/wireless file shown in Example /etc/ppp/peers/wireless File makes the following definitions:
• Defines /dev/ttyM1 as the port
• Defines a user named claro: user claro.
•
• -t3 sets the timeout to 3 seconds
• 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.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. 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. Enter the user name after the user keyword.