README.pppoe 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. PPPoE Support
  2. -------------
  3. Michal Ostrowski
  4. 8 August 2001
  5. for ppp-2.4.2
  6. Updated for ppp-2.4.5 by Paul Mackerras, Sep 08
  7. 1. Introduction
  8. ---------------
  9. This document describes the support for PPP over Ethernet (PPPoE)
  10. included with this package. It is assumed that the reader is
  11. familiar with Linux PPP (as it pertains to tty/modem-based
  12. connections). In particular, users of PPP in the Linux 2.2 series
  13. kernels should ensure they are familiar with the changes to the PPP
  14. implementation in the 2.4 series kernels before attempting to use
  15. PPPoE features.
  16. If you are not familiar with PPP, I recommend looking at other
  17. packages which include end-user configuration tools, such as Roaring
  18. Penguin (http://www.roaringpenguin.com/pppoe).
  19. PPPoE is a protocol typically used by *DSL providers to manage IP
  20. addresses and authenticate users. Essentially, PPPoE provides for a
  21. PPP connection to be established not over a physical serial-line or
  22. modem, but over a logical connection between two unique MAC-addresses
  23. on an ethernet network. Once the PPPoE layer discovers the end-points
  24. to be used in the link and negotiates it, frames may be sent to and
  25. received from the PPPoE layer just as if the link was a serial line
  26. (or that is how it's supposed to be).
  27. With this in mind, the goal of the implementation of PPPoE support in
  28. Linux is to allow users to simply specify that the device they intend
  29. to use for the PPP connection is an ethernet device (e.g. "eth0") and
  30. the rest of the system should function as usual.
  31. 2. Using PPPoE
  32. --------------
  33. This section is a quick guide for getting PPPoE working, to allow one
  34. to connect to their ISP who is providing PPPoE based services.
  35. 1. Enable "Prompt for development and/or incomplete code/drivers" and
  36. "PPP over Ethernet" in your kernel configuration. Most distributions
  37. will include the kernel PPPoE module by default.
  38. 2. Compile and install your kernel.
  39. 3. Install the ppp package.
  40. 4. Add the following line to /etc/ppp/options:
  41. plugin rp-pppoe.so
  42. The effect of this line is simply to make "eth0", "eth1",
  43. ....,"ethx" all valid device names for pppd (just like ttyS0,
  44. ttyS1).
  45. 5. Add the necessary authentication options to your pppd
  46. configuration (i.e. PAP/CHAP information). If you wish to
  47. maintain seperate configurations for different devices you may
  48. place configuration options in device-specific configuration
  49. files: /etc/ppp/options.devname (devname=ttyS0, ttyS1, eth0, eth1
  50. or any other valid device name).
  51. 6. Invoke pppd with the appropriate device name: e.g. "pppd eth0"
  52. Do not include any compression or flow control options in your PPPoE
  53. configuration. They will be ignored.
  54. Again, here it is assumed that the reader is familiar with the general
  55. process of configuring PPP. The steps outlined here refer only to the
  56. steps and configuration options which are PPPoE specific, and it is
  57. assumed that the reader will also configure other aspects of the system
  58. (e.g. PAP authentication parameters).
  59. 3. Advanced Functionality
  60. --------------------------
  61. For more advanced functionality (such as providing PPPoE services) and
  62. user configuration tools, look to the Roaring Penguin PPPoE software
  63. package (http://www.roaringpenguin.com/pppoe).
  64. 4. Credits
  65. -----------
  66. The PPPoE plugin included in this package is a component of the
  67. Roaring Penguin PPPoE package, included in this package courtesy of
  68. Roaring Penguin Software. (http://www.roaringpenguin.com).