X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=README.linux;h=5a20711dcb268de8d81a12ff312ef40c7625521f;hp=df918cfcf07b6696e0a209fb7d14171716e49f91;hb=32093f70f0c77ab214e743e8279c0f2ee2a9afc3;hpb=3af7b529609dfc5ef233634f3a17d091e2234252 diff --git a/README.linux b/README.linux index df918cf..5a20711 100644 --- a/README.linux +++ b/README.linux @@ -1,7 +1,7 @@ -PPP for Linux Version 2.3.9 +PPP for Linux Version 2.4.0 ============= based on - ppp-2.3.9 - July 1999 + ppp-2.4.0 + April 2000 Paul Mackerras Paul.Mackerras@cs.anu.edu.au Al Longyear longyear@netcom.com @@ -95,28 +95,42 @@ This package supports the new driver, although it doesn't include the source for the new driver. The new driver is divided into two files: ppp_generic.c and -ppp_async.c. The old ppp.c is still present in the kernel sources but -is not used. If you compile PPP as a module, you will get two +ppp_async.c. If you compile PPP as a module, you will get two separate modules, called ppp_generic and ppp_async. +Another module ppp_synctty is used for synchronous tty devices +such as high-speed WAN adapters for leased T1/E1 lines. To talk to the new driver, pppd needs to be able to open /dev/ppp, -character device (108,0). If the special file node /dev/ppp is not -present, pppd will create it. However, if you are running with /dev -on a read-only filesystem, pppd will not be able to create /dev/ppp. -In that instance you should manually create /dev/ppp using the command -`mknod /dev/ppp c 108 0'. +character device (108,0). If you are using devfs, the device +filesystem, the /dev/ppp node will automagically appear when the +ppp_generic module is loaded, or at startup if ppp_generic is compiled +in. + +If you have ppp_generic as a module, and you are using devfsd (the +devfs daemon), you will need to add a line like this to your +/etc/devfsd.conf: + +LOOKUP ppp MODLOAD + +Otherwise you will need to create a /dev/ppp device node with the +commands: + +# mknod /dev/ppp c 108 0 +# chmod 600 /dev/ppp If you use module autoloading and have PPP as a module, you will need -to add the following to /etc/conf.modules: +to add the following to your /etc/modules.conf or /etc/conf.modules: -alias tty-ldisc-3 ppp_async +/dev/ppp ppp_generic alias char-major-108 ppp_generic +alias tty-ldisc-3 ppp_async +alias tty-ldisc-14 ppp_synctty INSTALLATION This version of PPP has been tested on various Linux kernel versions -(most recently 2.2.10). It will not work on kernels before 2.0.0. If +(most recently 2.2.14). It will not work on kernels before 2.2.0. If you have an earlier kernel, please upgrade to the latest 2.2-series kernel. @@ -206,7 +220,7 @@ above). If you are using a kernel earlier than 2.2.8, you can either use the driver in this package or upgrade your kernel to the current 2.2.x -series kernel (2.2.11, as of the release of ppp-2.3.9). If you choose +series kernel (2.2.13, as of the release of ppp-2.3.11). If you choose to use the driver in this package, you will need a copy of the kernel source tree to compile the driver. Issue the command: