X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=README.bsd;h=b5a961acecee85fbc1eb24fa5e78f55ae459b586;hp=a45abb34ee14b7b887c2e8f8159d100d0a537495;hb=b771dc419780bc703c617ffcd5995aa1ed866705;hpb=61104a18d85e0c167fa38c964eab119a0dd5567e diff --git a/README.bsd b/README.bsd index a45abb3..b5a961a 100644 --- a/README.bsd +++ b/README.bsd @@ -1,9 +1,10 @@ -Installation instructions for installing ppp-2.2.1 on FreeBSD and +Installation instructions for installing ppp-2.3 on FreeBSD and NetBSD systems. -This package supports NetBSD-1.1, NetBSD-1.0, FreeBSD-2.0, and -FreeBSD-1.1.5.1. It should work on later systems. Modloading is not -yet supported. +This package supports NetBSD-current, NetBSD-1.1, NetBSD-1.0, and +FreeBSD-2.0. (The code hasn't been tested under NetBSD-current or +FreeBSD at this stage.) Modloading is not supported. I have code +which may work on earlier systems; contact me if you need it. To install PPP, you need to rebuild your kernel to include the latest version of the PPP driver, as well as compiling and installing the @@ -13,14 +14,14 @@ reboot with the new kernel (you'll have to reboot with the new kernel before you can run them, of course). The following commands should compile and install the user-level -applications (in the ppp-2.2.1 directory): +applications (in the ppp-2.3b1 directory): ./configure make make install (you need to be root for this) The process of updating the kernel source files is now largely -automated. In the ppp-2.2.1 directory, issue the command: +automated. In the ppp-2.3b1 directory, issue the command: make kernel @@ -39,40 +40,50 @@ You need to update several files in the /sys/net directory, and patch some other files under /sys. The details depend on which operating system you're running. -NetBSD-1.1. -=========== -Copy the following files to /sys/net: - - net/ppp-comp.h - netbsd-1.1/if_ppp.c - netbsd-1.1/ppp_tty.c - - -NetBSD-1.0. -=========== +NetBSD. +======= Copy the following files to /sys/net: net/if_ppp.h net/ppp-comp.h net/ppp_defs.h - netbsd-1.0/bsd-comp.c - netbsd-1.0/if_ppp.c - netbsd-1.0/if_pppvar.h - netbsd-1.0/netisr.h - netbsd-1.0/ppp_tty.c - netbsd-1.0/slcompress.c - netbsd-1.0/slcompress.h - -You then need to patch /sys/conf/files and /sys/conf/files.newconf -using the commands: - - patch -p -N -d /sys/conf