If you are having trouble getting PPP to work, here are a few suggestions for troubleshooting. If the modem doesn't dial:
If the modem dials but fails to establish a connection:
If a connection is made but attempts to access remote hosts by host and/or domain name fail:
If the preceding suggestions do not correct the problem, try turning on logging and then attempt to connect again. Logging can be enabled by adding a line to /etc/ppp/options that reads debug for kernel PPP and by changing the set log line in /etc/ppp/ppp.conf to read All for user PPP. Messages from kernel PPP will be logged to /var/log/messages, and messages from user PPP will be logged to /var/log/ppp.log. You can monitor the messages as they are being sent by typing tail -f /var/log/messages or tail -f /var/log/ppp.log. This will show you the last 10 lines of the file and also update the display each time the file changes. The information logged is fairly technical. You might be able to spot the problem yourself. If you can't, the contents of the log can still be useful to your ISP if you can get them to help track down what's going wrong. If they can't figure it out either, they might be able to call their RAS vendor and let them look at your logs to diagnose the problem. The information presented in this chapter should be enough to get most people up and running with their ISPs. However, both kernel PPP and user PPP are extremely esoteric, and this chapter cannot cover all the options available, especially considering the waning popularity of dial-up Internet access in favor of broadband solutions. If you need to do more advanced PPP configuration, both kernel PPP and user PPP have detailed man pages that describe all the options available. The kernel PPP man page can be accessed with man pppd, and the user PPP man page can be accessed with man ppp. In addition, sample configuration files are located in /usr/share/examples/ppp. |