Use the following procedure for obtaining debugging information from chat and suggestions for clearing common problems. For more information, refer to Common Chat Script Problems.
Become superuser on the dial-out machine or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Edit the /etc/ppp/peers/peer-name file for the peer to be called.
Add -v as an argument to the chat command that is specified in connect option.
connect "/usr/bin/chat -v -f /etc/ppp/chat-script-name"
View chat script errors in the file /etc/ppp/connect-errors.
The following is the main error that occurs with chat.
Oct 31 08:57:13 deino chat: [ID 702911 local2.info] expect (CONNECT) Oct 31 08:57:58 deino chat: [ID 702911 local2.info] alarm Oct 31 08:57:58 deino chat: [ID 702911 local2.info] Failed
The example shows timeout while waiting for a (CONNECT)string. When chat fails, you get the following message from pppd:
Connect script failed