*BSD News Article 41844


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!pipex!uunet!zib-berlin.de!cs.tu-berlin.de!news
From: nickel@prz.tu-berlin.de (Juergen Nickelsen)
Newsgroups: comp.os.386bsd.questions
Subject: Re: pppd problem on FreeBSD
Date: 30 Jan 1995 23:35:39 GMT
Organization: Technical University of Berlin, Germany.
Lines: 43
Message-ID: <3gjssm$r5v@news.cs.tu-berlin.de>
References: <shinobu.791385155@sol>
Reply-To: nickel@cs.tu-berlin.de
NNTP-Posting-Host: toftum.prz.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In-reply-to: shinobu@sol.acs.unt.edu's message of 29 Jan 95 13:12:35 GMT

In article <shinobu.791385155@sol> shinobu@sol.acs.unt.edu (Shinobu
Tanaka) writes:

> The pppd on my FreeBSD system always gives me the error message like
> "PPP is not available on this system".

In order to use PPP, it must be configured into the kernel. To do this
with a FreeBSD 2.0 system, do the following:

1. Become root and cd to /usr/src/sys/i386/conf. Yes, you have to have
   the kernel sources installed to configure the kernel.

2. Copy the file GENERIC to a name that suits you, e.g. "Mykernel".

3. To this file add a line like the following, perferrably among the
   other "pseudo-device" entries:

      pseudo-device   ppp     1

   This is for one PPP connection; if you need more simultaneous
   connections, adjust the number appropriately.

4. Invoke "config Mykernel".

5. cd to ../../compile/Mykernel.

6. Invoke "make depend ; make install". This should build a new
   kernel, rename the old one to /kernel.old and install the new one
   as /kernel.

7. Reboot.

No warranty! I've done this fairly often now, but the details may be
wrong here; this is all from memory. On a 1.1.x system the procedure
is very similar, if not the same, except that the name of the kernel
file is "386bsd" and GENERIC is GENERICAHA or the other generic
kernel, depending on your type of disk controller.

I once saw a document describing the kernel options and kernel
configuration in greater detail, but I can't find it at the moment.

-- 
Juergen Nickelsen