Fixing Common Problems (Tasks)
This chapter contains information for diagnosing and troubleshooting common problems that occur with Solaris PPP 4.0. The following topics are covered:
The sources PPP Design, Implementation, and Debugging by James Carlson and the Australian National University's web site also have detailed advice for PPP troubleshooting. For more information, see "Professional Reference Books About PPP" and "Web Sites About PPP".
Solving PPP Problems (Task Map)
Use the following task map to quickly access advice and solutions for common PPP problems.
Table 35-1 Task Map for Troubleshooting PPP
Task | Definition | For Instructions |
---|---|---|
Obtain diagnostic information about the PPP link | Use PPP diagnostic tools to get output for troubleshooting | |
Obtain debugging information for the PPP link | Use the pppd debug command to generate output for troubleshooting | |
Troubleshoot general problems with the network layer | Identify and fix PPP problems that are network-related by using a series of checks | |
Troubleshoot general communications problems | Identify and fix communications problems that affect the PPP link | |
Troubleshoot configuration problems | Identify and fix problems in the PPP configuration files | |
Troubleshoot modem-related problems | Identify and fix modem problems | |
Troubleshoot chat script-related problems | Identify and fix chat script problems on a dial-out machine | |
Troubleshoot serial line speed problems | Identify and fix line speed problems on a dial-in server | |
Troubleshoot common problems for leased lines | Identify and fix performance problems on a leased line | |
Troubleshoot problems related to authentication | Identify and fix problems related to the authentication databases | |
Troubleshoot problem areas for PPPoE | Use PPP diagnostic tools to obtain output for identifying and fixing PPPoE problems |
Tools for Troubleshooting PPP
PPP links generally have three major areas of failure:
Failure of the link to be established
Poor performance of the link as it is used
Problems that can be traced to the networks on either side of the link
This section explains how to obtain diagnostic information from pppd and its associated log files. The remaining sections in this chapter describe common problems with PPP that you can discover and fix with the aid of the PPP troubleshooting tools.
How to Obtain Diagnostic Information From pppd
The next procedure shows how to view the current operation of a link on the local machine.
Become superuser on the local machine.
Run pppd with the serial device configured for PPP as the argument:
The next examples show the resulting displays for a dial-up link and a leased-line link when pppd runs in the foreground. If you run pppd debug in the background, the output produced is sent to the /etc/ppp/connect-errors file.# pppd /dev/ttyname debug updetach
Example 35-1 Output From a Properly Operating Dial-up Link
Example 35-2 Output From a Properly Operating Leased-Line Link