NetBSD Problem Report #8344

Received: (qmail 163 invoked from network); 8 Sep 1999 20:33:47 -0000
Message-Id: <199909082033.OAA05550@biology.nmsu.edu>
Date: Wed, 8 Sep 1999 14:33:33 -0600 (MDT)
From: Brook Milligan <brook@biology.nmsu.edu>
Reply-To: brook@biology.nmsu.edu
To: gnats-bugs@gnats.netbsd.org
Subject: Simplify sysinst installation via SLIP
X-Send-Pr-Version: 3.95

>Number:         8344
>Category:       install
>Synopsis:       Simplify sysinst installation via SLIP
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 09 11:35:01 +0000 1999
>Closed-Date:    Tue Jul 22 09:19:22 +0000 2003
>Last-Modified:  Tue Jul 22 09:19:22 +0000 2003
>Originator:     Brook Milligan
>Release:        1.4
>Organization:
Brook G. Milligan                      Internet:  brook@nmsu.edu
Department of Biology
New Mexico State University            Telephone:  (505) 646-7980
Las Cruces, New Mexico  88003  U.S.A.  FAX:        (505) 646-5665
>Environment:

System: NetBSD biology.nmsu.edu 1.4 NetBSD 1.4 (BIOLOGY) #0: Fri Jun 4 10:09:57 MDT 1999 root@rosa.nmsu.edu:/usr/src/sys/arch/i386/compile/BIOLOGY i386


>Description:
	It is currently (at least at 1.4) difficult to use sysinst to
	install via SLIP because no network interfaces other than
	"real" ones are reported.  Specifically,
	/usr/src/distrib/utils/sysinst/net.c:155 removes all
	interfaces after lo0 from the list of possible devices.  This
	includes ppp? and sl?, so it is difficult to use SLIP within
	the context of sysinst.

>How-To-Repeat:
	Run sysinst, select utils/configure net and note that ppp? and
	sl? devices (among others) are not reported as possible
	interfaces. 
>Fix:
	Apply following patch in /usr/src/distrib/utils/sysinst.

	After that, one can (for example) run sysinst, escape to the
	shell, dial a SLIP server via tip, escape tip, run slattach,
	kill tip, reenter sysinst, and proceed with normal
	installation.  Not exactly easy, but at least possible. :)

--- msg.mi.eng.orig	Sun May  2 15:45:44 1999
+++ msg.mi.eng	Mon Aug 23 08:05:23 1999
@@ -441,11 +441,23 @@

 message asknetdev
 {I have found the following network interfaces: %s
+\nNote that interfaces listed from lo0 onwards are special network
+devices that need special configuration.  If you choose to use one
+of them, you must configure it outside this program. For example,
+before selecting one of the special interfaces, you can suspend this
+program by typing ^Z, configure the interface, then return here by
+typing fg %%1.
 \nWhich device shall I use? }

 message badnet
 {You did not choose one of the listed network devices.  Please try again.
 The following network devices are available: %s
+\nNote that interfaces listed from lo0 onwards are special network
+devices that need special configuration.  If you choose to use one
+of them, you must configure it outside this program. For example,
+before selecting one of the special interfaces, you can suspend this
+program by typing ^Z, configure the interface, then return here by
+typing fg %%1.
 \nWhich device shall I use? }

 message netinfo
--- msg.mi.fr.orig	Mon Apr 19 09:19:27 1999
+++ msg.mi.fr	Wed Sep  8 13:53:16 1999
@@ -450,12 +450,26 @@

 message asknetdev
 {J'ai trouvé les interfaces réseau suivantes : %s
-\nLa quelle dois je utiliser ?}
+\nRemarquez que les interfaces listées à partir de lo0 sont
+des périphériques spéciaux qui demandent une configuration
+particulière. Si vous choisissez d'utiliser l'une d'elles, vous
+devez la configurer à l'extérieur de ce programme. Par exemple,
+avant de sélectionner l'une des interfaces spéciales, vous pouvez
+suspendre ce programme en tapant ^Z, configurer l'interface, puis
+revenir ici en tapant fg %%1.
+\nLaquelle dois-je utiliser ?}

 message badnet
-{Vous n'avez pas choisi une interface réseau dans la liste. SVP réessayez.
-Les interface réseau suivantes sont disponibles : %s
-\nLa quelle dois je utiliser ?}
+{Vous n'avez pas choisi une interface réseau dans la liste. Réessayez SVP.
+Les interfaces réseau suivantes sont disponibles : %s
+\nRemarquez que les interfaces listées à partir de lo0 sont
+des périphériques spéciaux qui demandent une configuration
+particulière. Si vous choisissez d'utiliser l'une d'elles, vous
+devez la configurer à l'extérieur de ce programme. Par exemple,
+avant de sélectionner l'une des interfaces spéciales, vous pouvez
+suspendre ce programme en tapant ^Z, configurer l'interface, puis
+revenir ici en tapant fg %%1.
+\nLaquelle dois-je utiliser ?}


 message netinfo
--- net.c.orig	Mon Apr 19 09:19:28 1999
+++ net.c	Sun Aug 22 10:36:50 1999
@@ -139,7 +139,6 @@
 {
 	char *textbuf;
 	int   textsize;
-	char *t;

 	/* Get ifconfig information */

@@ -154,11 +153,6 @@
 	strncpy(net_devices, textbuf, textsize<STRSIZE ? textsize : STRSIZE);
 	net_devices[STRSIZE] = 0;
 	free(textbuf);
-
-	/* Remove lo0 and anything after ... */
-	t = strstr(net_devices, "lo0");
-	if (t != NULL)
-		*t = 0;
 }

 /* Fill in defaults network values for the selected interface */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dsl 
State-Changed-When: Tue Jul 22 09:17:31 UTC 2003 
State-Changed-Why:  
Sysinst will now look to see if any interfaces (other than lo0) are 'UP'. 
If any are, it asks if they connect to the relevant server, if you say 'yes' 
it skips the rest of the network config stuff. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.