Next Prev Table of Contents

# The kppp Handbook

Version
Last updated: Version 1.6.2, February 5, 1999

### Bernd Johannes Wuebben

wuebben@kde.org

This Handbook describes kppp Version 1.6.2

KPPP Internet Dialer

Table of Contents
1. Introduction
  1.1. About kppp
  1.2. Authors
  1.3. License and warranty
2. Installation
  2.1. How to obtain kppp
  2.2. Requirements
  2.3. Compilation and installation
  2.4. Preparing Your Linux System for a PPP Connection
  2.5. More about ppp/pppd
3. Setting up kppp
  3.1. Accounts
  3.2. Device
  3.3. Modem
  3.4. PPP
4. Configuring an Account
  4.1. Dial
  4.2. IP
  4.3. DNS
  4.4. Gateway
  4.5. Login Script
    4.5.1. Example scripts
  4.6. Accounting
  4.7. Volume accounting
    4.7.1. What is volume accounting?
    4.7.2. Why should I use volume accounting?
    4.7.3. What type of volume accounting should I select?
    4.7.4. Drawbacks
5. Modem Tricks & Hints
  5.1. Modem Sessions
  5.2. Modem Profiles
  5.3. Getting the modem to hang up
    5.3.1. DTR (AT&Dn) method
    5.3.2. Command Method
  5.4. Make Tone Dialling Faster
6. PAP and CHAP
  6.1. PAP with kppp
    6.1.1. Client side authentication
    6.1.2. Two way authentication
    6.1.3. Preparing kppp for PAP
  6.2. PAP and CHAP with kppp (alternate method)
7. Questions and answers
  7.1. Frequently Asked Questions
    7.1.1. I can't get kppp to work. kppp tells me that pppd has died or that a timeout has expired!
    7.1.2. kppp tells me ``Sorry, can't open the modem''.
    7.1.3. kppp tells me it can't create a modem lock file.
    7.1.4. Why is kppp installed with the SETUID bit on?
    7.1.5. kppp just sits there and waits: Expecting OK
    7.1.6. The connection works fine but I canīt start any applications.
    7.1.7. kppp reports a successful connection, but Netscape just says "The server does not have a DNS entry"
    7.1.8. How do I make kppp send a \n or a \r?
    7.1.9. kppp complains: "Can't create lock file"
    7.1.10. My modem makes much noise when dialling!
    7.1.11. I turned the modem volume "off" and verified the modem commands, but I still hear that noise when dialling!
    7.1.12. kppp reports an unusual modem speed like 115200, 57600 or similar
    7.1.13. kppp reports "Unknown speed"
    7.1.14. Slow connection speed
    7.1.15. REALLY slow connection speed
    7.1.16. My phone line needs pulse dialling instead of tone dialling (or vice-versa)
    7.1.17. kppp makes really strange things (whatever)
    7.1.18. How do I write a telephone cost rules file?
    7.1.19. I have written a telephone cost rules file for my region. Where can I submit it so that others can make use of it?
    7.1.20. Can my phone cost rulefile contain fractional time units, e.g. "(0.17, 45.5)"?
    7.1.21. My country observes a moving holiday different from easter.
  7.2. How to interpret the system's log
    7.2.1. Serial line is looped back
    7.2.2. Signal 15
    7.2.3. Receive serial link is not 8-bit clean
    7.2.4. can't locate module ppp-compress
8. kppp and Security Issues
  8.1. Restricting access to kppp
    8.1.1. With group permissions
    8.1.2. kpppīs way
  8.2. kppp has the SUID bit on. What about security?
9. Configuring kppp for callback
  9.1. Unix (Linux) callback server
    9.1.1. Introduction in callback
    9.1.2. The kppp setup
    9.1.3. Troubleshooting
    9.1.4. Internet Resources for server software
  9.2. Windows NT RAS callback
10. Appendix
  10.1. The Hayes Modem Command Set
  10.2. kppp related files
  10.3. Reporting problems with kppp
11. The GNU General Public License

Next Prev Table of Contents