README.syncppp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Some additional information for setting up a syncPPP
  2. connection using network interfaces.
  3. ---------------------------------------------------------------
  4. You need one thing beside the isdn4linux package:
  5. a patched pppd .. (I called it ipppd to show the difference)
  6. Compiling isdn4linux with sync PPP:
  7. -----------------------------------
  8. To compile isdn4linux with the sync PPP part, you have
  9. to answer the appropriate question when doing a "make config"
  10. Don't forget to load the slhc.o
  11. module before the isdn.o module, if VJ-compression support
  12. is not compiled into your kernel. (e.g if you have no PPP or
  13. CSLIP in the kernel)
  14. Using isdn4linux with sync PPP:
  15. -------------------------------
  16. Sync PPP is just another encapsulation for isdn4linux. The
  17. name to enable sync PPP encapsulation is 'syncppp' .. e.g:
  18. /sbin/isdnctrl encap ippp0 syncppp
  19. The name of the interface is here 'ippp0'. You need
  20. one interface with the name 'ippp0' to saturate the
  21. ipppd, which checks the ppp version via this interface.
  22. Currently, all devices must have the name ipppX where
  23. 'X' is a decimal value.
  24. To set up a PPP connection you need the ipppd .. You must start
  25. the ipppd once after installing the modules. The ipppd
  26. communicates with the isdn4linux link-level driver using the
  27. /dev/ippp0 to /dev/ippp15 devices. One ipppd can handle
  28. all devices at once. If you want to use two PPP connections
  29. at the same time, you have to connect the ipppd to two
  30. devices .. and so on.
  31. I've implemented one additional option for the ipppd:
  32. 'useifip' will get (if set to not 0.0.0.0) the IP address
  33. for the negotiation from the attached network-interface.
  34. (also: ipppd will try to negotiate pointopoint IP as remote IP)
  35. You must disable BSD-compression, this implementation can't
  36. handle compressed packets.
  37. Check the etc/rc.isdn.syncppp in the isdn4kernel-util package
  38. for an example setup script.
  39. To use the MPPP stuff, you must configure a slave device
  40. with isdn4linux. Now call the ipppd with the '+mp' option.
  41. To increase the number of links, you must use the
  42. 'addlink' option of the isdnctrl tool. (rc.isdn.syncppp.MPPP is
  43. an example script)
  44. enjoy it,
  45. michael