Subject: install/10277: i386 floppies have slip but not ppp support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@cygnus.com>
List: netbsd-bugs
Date: 06/04/2000 02:46:22
>Number: 10277
>Category: install
>Synopsis: i386 floppies have slip but not ppp support
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: install-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Jun 04 02:47:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: matthew green
>Release: <NetBSD-current source date>today
>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:
>Unformatted: