*BSD News Article 63578


Return to BSD News archive

#! rnews 2644 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!news.sprintlink.net!news.clark.net!hustle.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!olivea!venus.sun.com!ames!lll-winken.llnl.gov!sol.ctr.columbia.edu!piccolo.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ppp-enabled kernel needed
Date: 10 Mar 1996 20:40:02 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 42
Message-ID: <4hven3$puu@sol.ctr.columbia.edu>
References: <4hcv9m$pj7@noc.tor.hookup.net> <4hsbs3$2ht@uriah.heep.sax.de>
NNTP-Posting-Host: piccolo.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, J Wunsch
(j@uriah.heep.sax.de) had the courage to say:

: gschmidt@noc.tor.hookup.net (Greg Schmidt) writes:

: > I want to get ppp running on my system (2.0.5-950622-SNAP GENERIC).  I
: > don't really have the disk space to load all the sources, and I understand
: > that the kernel needs to be modified to support ppp.

: You only need to tweak your kernel for the ``pppd'' version.  If you
: are deciding to use ``IIJPPP'' (/usr/sbin/ppp), all you need is the
: `tun' tunnelling driver.

: You don't need to install all of the sources in order to recompile a
: kernel, only the /usr/src/sys sources.  Together with one set of .o
: files, they take about 17 MB on my machine.  Since only the
: directories /sys/i386/conf/ (for the config file) and
: /sys/compile/<MACHINE> are being written to, you could even trick
: around by creating a shadow source tree from the CD-ROM.

You don't even need to recompile the kernel. Just do this:

# modload -e if_ppp_mod -o /tmp/if_ppp /lkm/ip_ppp_mod.o

This will load the PPP loadable module into your kernel. And allow you
to use pppd.

Note that you will have to do this each time you boot your machine,
so you might want to add this command somewhere in /etc/netstart so
that it will be run each time you reboot.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
License error: The license for this .sig file has expired. You must obtain
a new license key before any more witty phrases will appear in this space.
=============================================================================