*BSD News Article 45206


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!tulpi.interconnect.com.au!ahill.mel.interconnect.com.au!root
From: Charlie ROOT <root@ahill.mel.interconnect.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc,list.freebsd-questions
Subject: Re: "PPP Not available on this system" ---- HELP
Date: Sun, 11 Jun 1995 01:45:10 +0000
Organization: Interconnect Australia
Lines: 33
Message-ID: <Pine.BSF.3.91.950611013005.179A-100000@ahill.mel.interconnect.com.au>
References: <3quj1c$45h@imp.demon.co.uk>
NNTP-Posting-Host: ahill.mel.interconnect.com.au
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <3quj1c$45h@imp.demon.co.uk> 



On 5 Jun 1995, Wayne Taylor wrote:

> I'm trying to get FreeBSD 2.0 setup to work with PPP, but when running 
> pppd I just get the message "PPP Not available on this system".
> 
Yes, the FAQ's are sadly defficient in this area, you will need to 
recompile your kernel, and include the  line "pseudo-device	ppp	4"
(I made 4 devices, although I belive normally only one would be required.)

If you have not recompiled a kernel before you should read the exellent 
faqs on this topic.

There is also a one line patch you should add to if_ppp.c before you 
recompile.

 ---------->8-----has-been-cut----------------

 if ((*mp = m) == NULL) {
            m_freem(m0);
            return (ENOBUFS);
        }
        m->m_len=0;                      <---------this is the new line
        if (uio->uio_resid >= MCLBYTES / 2)
            MCLGET(m, M_DONTWAIT);
        len = M_TRAILINGSPACE(m);   

--------->8-----has-been-cut-----------------

I cant tell you what else is needed to get PPP up and running cause I 
dont know what I did - but it is certainly worth the effort - much nicer 
than from DOS !