Subject: bin/3548: pppd reports missing kernel support with misleading message
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 04/27/1997 18:04:33
>Number:         3548
>Category:       bin
>Synopsis:       pppd reports missing ppp kernel support misleadingly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 27 09:20:07 1997
>Last-Modified:
>Originator:     Martin Husemann
>Organization:
	
>Release:        current as of Apr 22
>Environment:
	
System: NetBSD rumolt.teuto.de 1.2D NetBSD 1.2D (RUMOLT) #0: Sun Apr 27 19:36:03 MEST 1997 root@hwart.teuto.de:/usr/src/sys-local/arch/i386/compile/RUMOLT i386


>Description:

When running pppd on a system without ppp in the kernel, you get a very
misleading message telling you to follow instructions in README.bsd in
the ppp-2.2 distribution. This doesn't make sense in the NetBSD environment.

>How-To-Repeat:

s.a.

>Fix:

*** src/usr.sbin/pppd/sys-bsd.c.orig	Sun Apr 27 20:07:36 1997
--- src/usr.sbin/pppd/sys-bsd.c	Sun Apr 27 20:09:22 1997
***************
*** 183,188 ****
      no_ppp_msg = "\
  This system lacks kernel support for PPP.  To include PPP support\n\
! in the kernel, please follow the steps detailed in the README.bsd\n\
! file in the ppp-2.2 distribution.\n";
      return ok;
  }
--- 183,191 ----
      no_ppp_msg = "\
  This system lacks kernel support for PPP.  To include PPP support\n\
! in the kernel, please add a line\n\
! \n\
!     pseudo-device ppp 1\n\
! \n\
! to your kernel config file and build a new kernel.\n";
      return ok;
  }

>Audit-Trail:
>Unformatted: