From owner-freebsd-questions Sun Jul 9 08:44:43 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA02548 for questions-outgoing; Sun, 9 Jul 1995 08:44:43 -0700 Received: from mpp.minn.net ([204.157.201.242]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA02542 for ; Sun, 9 Jul 1995 08:44:40 -0700 Received: (from mpp@localhost) by mpp.minn.net (8.6.11/8.6.9) id KAA19301; Sun, 9 Jul 1995 10:44:30 -0500 From: Mike Pritchard Message-Id: <199507091544.KAA19301@mpp.minn.net> Subject: Re: pppd NOT AVAILABLE To: jspringr@tribeca.ios.com (Jeffrey Springer) Date: Sun, 9 Jul 1995 10:44:29 -0500 (CDT) Cc: questions@FreeBSD.ORG In-Reply-To: <199507091028.KAA17633@tribeca.ios.com> from "Jeffrey Springer" at Jul 9, 95 10:28:45 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1275 Sender: questions-owner@FreeBSD.ORG Precedence: bulk > I am having problems with dynamic Slip - sometimes it works, othertimes > it doesn't - so I tried ppp. I looked up pppd in the man pages, followed > the directions (connected to my host through cu, suspended cu, typed "pppd") > only to see a message that "pppd is not available on your system." > > If it's in the man pages (and there is a "pppd" file) why is it not > available? How or where can I obtain it? Can I do anything on my system > to get it to work? You need to rebuild a kernel with some ppp interfaces defined. Add the following line to your kernel configuration file: pseudo-device ppp 1 Why don't we change pppd with the following patch to give a better error message? This question seems to come up a lot here and in the newsgroups, and the current error message isn't really very clear as to what the problem is. --- orig/main.c Sun Jul 9 10:35:22 1995 +++ ./main.c Sun Jul 9 10:38:08 1995 @@ -217,7 +217,7 @@ gid = getgid(); if (!ppp_available()) { - fprintf(stderr, "Sorry - PPP is not available on this system\n"); + fprintf(stderr, "There are no PPP interfaces configured on this system\n"); exit(1); } -- Mike Pritchard mpp@legarto.minn.net "Go that way. Really fast. If something gets in your way, turn"