Re: RC - Dbootstrap is somewhat broken for non-networked boxes
> In this situation, I don't load any modules. Dbootstrap asks me for a
> host name then the next dialog advises me that no NIC drivers were
> detected and that I could choose the alternate step of 'Install the
> Base System'.
I think dbootstrap does a check to see if you have any network interfaces
activated, and will keep on asking you to configure your network if it
doesn't find one. Try this patch; i'm not sure if it'll work or not. i won't
be able to test this on a real install till this weekend.
Save this as /tmp/dpatch (or whatever)
cd <boot-floppies root>/utilities/dbootstrap
patch < /tmp/dpatch
--- util.c.orig Thu Apr 20 22:10:15 2000
+++ util.c Thu Apr 20 22:10:42 2000
@@ -223,13 +223,14 @@
is_network_up(int all) {
int ret = 0;
char *buf;
+ extern int standalone_setup;
getif_start();
while ((buf = getif(all)) != NULL)
ret++;
getif_end();
- return ret;
+ return (standalone_setup || ret);
}
static FILE *ifs = NULL;
--- netconfig.c.orig Thu Apr 20 22:03:41 2000
+++ netconfig.c Thu Apr 20 22:10:08 2000
@@ -59,6 +59,7 @@
int has_pcmcia = 0;
int use_dhcp = 0;
struct stat nc_statbuf;
+int standalone_setup = 0;
/*
* Function prototypes
@@ -792,6 +793,7 @@
if (!netinterface) {
write_common_network();
+ standalone_setup = 1;
} else {
ret = get_ifconfig();
if (ret == 255) return ret;
randolph
--
Debian Developer <tausq@debian.org>
http://www.TauSq.org/
Reply to: