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