Frequently Asked Questions for FreeBSD 2.X : Networking : I can't make ppp work. What am I doing wrong ?
Previous: Does FreeBSD support NAT or Masquerading
Next: Ppp just hangs when I run it

10.7. I can't make ppp work. What am I doing wrong ?

You should first read the ppp man page and the ppp section of the handbook. Enable logging with the command

        set log Phase Chat Connect Carrier lcp ipcp ccp command
      

This command may be typed at the ppp command prompt or it may be entered in the /etc/ppp/ppp.conf configuration file (the start of the default section is the best place to put it). Make sure that /etc/syslog.conf contains the lines

        !ppp
        *.*              /var/log/ppp.log
      

and that the file /var/log/ppp.log exists. You can now find out a lot about what's going on from the log file. Don't worry if it doesn't all make sense. If you need to get help from someone, it may make sense to them.

If your version of ppp doesn't understand the "set log" command, you should download the latest version. It will build on FreeBSD version 2.1.5 and higher.

10.7.1. Ppp just hangs when I run it

10.7.2. Ppp won't dial in -auto mode

10.7.3. What does "No route to host" mean

10.7.4. My connection drops after about 3 minutes

10.7.5. My connection drops under heavy load

10.7.6. My connection drops after a random amount of time

10.7.7. My connection hangs after a random amount of time

10.7.7.1. The remote end isn't responding
10.7.7.2. Ppp is hung

10.7.8. Nothing happens after the Login OK! message

10.7.9. I keep seeing errors about magic being the same

10.7.10. LCP negotiations continue 'till the connection is closed

10.7.11. Ppp locks up shortly after connecting

10.7.12. Ppp locks up when I shell out to test it

10.7.13. Ppp over a null-modem cable never exits

10.7.14. Why does ppp dial for no reason in -auto mode

10.7.15. What do these CCP errors mean

10.7.16. Ppp locks up during file transfers with IO errors

10.7.17. Why doesn't ppp log my connection speed?

10.7.18. Ppp ignores the `\' character in my chat script

10.7.19. Ppp gets a seg-fault, but I see no ppp.core file

10.7.20. The process that forces a dial in auto mode never connects

10.7.21. Why don't most games work with the -alias switch

10.7.22. What are FCS errors ?

10.7.23. None of this helps - I'm desperate !


Frequently Asked Questions for FreeBSD 2.X : Networking : I can't make ppp work. What am I doing wrong ?
Previous: Does FreeBSD support NAT or Masquerading
Next: Ppp just hangs when I run it