*BSD News Article 41225


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!howland.reston.ans.net!news.sprintlink.net!sundog.tiac.net!rick
From: rick@vox.trystero.com (Richard E. Nickle)
Newsgroups: comp.os.386bsd.questions
Subject: Re: pppd says - "Sorry - PPP Not available on this machine" - why?
Date: 20 Jan 1995 04:31:54 GMT
Organization: The Trystero System
Lines: 40
Message-ID: <3fnebq$nms@sundog.tiac.net>
References: <dva.81.0088E44B@syncro.com>
NNTP-Posting-Host: vox.trystero.com

In article <dva.81.0088E44B@syncro.com>,
Syncro Development Corp. <dva@syncro.com> wrote:
>I need to get ppp up to test some client software in my lab.  It seems that 
>ppp looks for ppp0 device to come up.   How can I build this interface?  I 
>have built BSD kernels many times (but not for some years), but I can't find 
>the config files which describe the kernel devices - is this where ppp0 (or 
>pppx) is defined, or is there a simpler way to create this interface?

You'll see all the interfaces possible for the system in:

/usr/src/sys/i386/conf/LINT

>Am I missing something obvious?  

No, you just didn't locate the right place in the kernel
sources and do a 'grep ppp *' :)

>I notice that others are having trouble using PPP - it must not be too bad to 
>get it up!

It's not so hard, you'll end up having to add this line to your
kernel configuration:

pseudo-device   ppp     2

To give you a maximum of two interfaces.

'config'

Then go to the new compile directory (/usr/src/sys/compile/$CONFIGNAME)
and do a make depend, a make, then move the built kernel to the root
directory.





-- 
--
Richard Nickle                      http://www.trystero.com/rick.html