NetBSD Problem Report #10277

Received: (qmail 16959 invoked from network); 4 Jun 2000 09:46:39 -0000
Message-Id: <20000604094331.EC3768111@fish-dances.eterna.com.au>
Date: Sun,  4 Jun 2000 19:43:31 +1000 (EST)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: i386 floppies have slip but not ppp support
X-Send-Pr-Version: 3.95

>Number:         10277
>Category:       install
>Synopsis:       i386 floppies have slip but not ppp support
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    install-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 04 09:47:01 +0000 2000
>Closed-Date:    Thu Jan 03 22:52:20 +0000 2013
>Last-Modified:  Thu Jan 03 22:52:20 +0000 2013
>Originator:     matthew green
>Release:        20000604
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:

System: NetBSD fish-dances.eterna.com.au 1.4Y NetBSD 1.4Y (_fish_) #24: Tue May 23 10:37:17 EST 2000 mrg@fish-dances.eterna.com.au:/var/_fish_ i386


>Description:

	the netbsd/i386 install kernel contains both the slip and ppp drivers,
	but the pppd binary is not present.  this means that dial-up options
	are limited to slip, and ppp is not an option (even though it is
	currently wasted space in the kernel).

	this is non-optimal.

>How-To-Repeat:

	attempt to load NetBSD with just a couple of floppies and a modem.
	fail badly.

>Fix:

	i'd suggest adding pppd to the install floppies.  you could remove
	sl driver and slattach, but i don't care either way.  below is a
	patch that does this, but i was unable to make the entirety of
	src/distrib/i386 build with this change, so i pass it on.


Index: ramdisk/Makefile
===================================================================
RCS file: /cvsroot/basesrc/distrib/i386/floppies/ramdisk/Makefile,v
retrieving revision 1.26
diff -p -r1.26 Makefile
*** Makefile	2000/05/05 20:13:32	1.26
--- Makefile	2000/06/04 09:29:18
*************** CRUNCHCONF=	${CBIN}.conf
*** 28,34 ****
  MTREE=		mtree.conf

  RAMDISKSPC=	128
! RAMDISKCYLS=	23
  RAMDISKSIZE!=	expr ${RAMDISKSPC} \* ${RAMDISKCYLS}

  install.sh: install.tmpl
--- 28,34 ----
  MTREE=		mtree.conf

  RAMDISKSPC=	128
! RAMDISKCYLS=	26
  RAMDISKSIZE!=	expr ${RAMDISKSPC} \* ${RAMDISKCYLS}

  install.sh: install.tmpl
Index: ramdisk/list
===================================================================
RCS file: /cvsroot/basesrc/distrib/i386/floppies/ramdisk/list,v
retrieving revision 1.25
diff -p -r1.25 list
*** list	2000/03/15 12:16:36	1.25
--- list	2000/06/04 09:29:18
*************** LINK	ramdiskbin			sbin/route
*** 55,61 ****
  LINK	ramdiskbin			sbin/rrestore
  LINK	ramdiskbin			sbin/rtsol
  LINK	ramdiskbin			sbin/shutdown
- LINK	ramdiskbin			sbin/slattach
  LINK	ramdiskbin			sbin/swapctl
  LINK	ramdiskbin			sbin/umount
  SYMLINK	/bin/cat		usr/bin/chgrp
--- 55,60 ----
*************** SYMLINK	/bin/cat		usr/mdec/installboot
*** 72,77 ****
--- 71,77 ----
  SYMLINK	/bin/cat		usr/sbin/bad144
  SYMLINK	/bin/cat		usr/sbin/chown
  SYMLINK	/bin/cat		usr/sbin/chroot
+ SYMLINK	/bin/cat		usr/sbin/pppd
  SYMLINK	/bin/cat		usr/sbin/wiconfig
  SPECIAL	/bin/rm ramdiskbin

Index: ramdisk/ramdiskbin.conf
===================================================================
RCS file: /cvsroot/basesrc/distrib/i386/floppies/ramdisk/ramdiskbin.conf,v
retrieving revision 1.20
diff -p -r1.20 ramdiskbin.conf
*** ramdiskbin.conf	2000/01/04 08:30:24	1.20
--- ramdiskbin.conf	2000/06/04 09:29:19
*************** progs bad144 cat chmod chown chroot cp d
*** 9,16 ****
  progs fsck fsck_ffs ftp gzip ifconfig wiconfig init installboot less
  progs ln ls mkdir mknod
  progs mount mount_cd9660 mount_ext2fs mount_ffs mount_msdos mount_ntfs
! progs mount_nfs mount_kernfs mt mv newfs ping pwd rcmd reboot restore rm
! progs route sed sh shutdown slattach stty swapctl sync test
  progs tip umount
  progs sysinst pax
  progs fdisk mbrlabel
--- 9,16 ----
  progs fsck fsck_ffs ftp gzip ifconfig wiconfig init installboot less
  progs ln ls mkdir mknod
  progs mount mount_cd9660 mount_ext2fs mount_ffs mount_msdos mount_ntfs
! progs mount_nfs mount_kernfs mt mv newfs ping pppd pwd rcmd reboot restore rm
! progs route sed sh shutdown stty swapctl sync test
  progs tip umount
  progs sysinst pax
  progs fdisk mbrlabel
*************** special route srcdir distrib/utils/x_rou
*** 26,31 ****
--- 26,32 ----
  special sh srcdir distrib/utils/x_sh
  special ping srcdir distrib/utils/x_ping
  special ping6 srcdir distrib/utils/x_ping6
+ special pppd srcdir distrib/utils/x_pppd

  # "special" gzip is actually larger assuming nothing else uses -lz..
  #special gzip srcdir distrib/utils/x_gzip
*************** ln reboot halt
*** 46,49 ****
  ln restore rrestore

  # libhack.o is built by Makefile & included Makefile.inc
! libs libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
--- 47,50 ----
  ln restore rrestore

  # libhack.o is built by Makefile & included Makefile.inc
! libs libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -lpcap
>Release-Note:
>Audit-Trail:

From: Frederick Bruckman <fb@enteract.com>
To: mrg@cygnus.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: install/10277: i386 floppies have slip but not ppp support
Date: Sun, 4 Jun 2000 05:35:44 -0500 (CDT)

 On Sun, 4 Jun 2000 mrg@cygnus.com wrote:

 > 	i'd suggest adding pppd to the install floppies.  you could remove
 > 	sl driver and slattach, but i don't care either way.

 Don't you need "chat", too?


From: matthew green <mrg@cygnus.com>
To: Frederick Bruckman <fb@enteract.com>
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: install/10277: i386 floppies have slip but not ppp support 
Date: Sun, 04 Jun 2000 20:46:09 +1000


    > 	i'd suggest adding pppd to the install floppies.  you could remove
    > 	sl driver and slattach, but i don't care either way.

    Don't you need "chat", too?

 chat is useful, but not necessary... tip is already on the floppy, so
 one can manually dial up.  i wouldn't object to chat being included,
 though...


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 03 Jan 2013 22:52:20 +0000
State-Changed-Why:
It is now 2012, and I think people using ppp links are most likely to
download a full installer image (for cd or usb stick) beforehand than
to try to get the installer to talk to their modem. Or so I'd think,
anyhow. (And people with old hw for which this isn't a decent option
probably have multiple machines and can host the installer images
locally.)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.