Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 1995 14:05:19 -0500
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        freebsd-bugs@freefall.FreeBSD.org, jkh@freefall.FreeBSD.org, rivers@dg-rtp.dg.com
Subject:   Here's something to try (possible fix for SL/IP installs.)
Message-ID:  <199512041905.OAA14130@ponds.UUCP>

next in thread | raw e-mail | index | archive | help

As Jordan pointed out, I wasn't looking at the 2.1-RELEASE sources.
After I got a 2.1 system installed, I read through the code in network.c

I think the following small change will get SL/IP installs working
again.  The problem was the ifconfig_sl0 is tested, but ifconfig_cuaaX
is what was defined.   The change will test for ifconfig_cuaaX,
and get those ifconfig values, but still use the "sl0" name for
the interface name (ifname.)

I've started to make my own boot floppy with 
      make boot.flp RELEASEDIR=/usr/tmp/release


it looked like it was going to work, but, it got as far as
making the crunched binary for "route" when it found:

   (cd /usr/src/sbin/route; make route.o ccitt_addr.o)
   cc -O   -DCRUNCHED_BINARY -I.   -c route.c
   route.c:74: keywords.h: No such file or directory

I've since built keywords.h, but I thought I'd report that for next
time...  If I get any more build problems in making the boot floppy,
I'll report them as well....


After I get a new boot.flp; I'll let everyone know my results, regarding
the original install-over-slip problem.

	 - Thanks -
	- Dave Rivers -


------------- diff for /usr/src/release/sysinstall/network.c --------
*** network.c.ori	Sat Nov  4 06:09:14 1995
--- network.c	Mon Dec  4 13:48:23 1995
***************
*** 115,126 ****
      else
  	strcpy(ifname, dev->name);
  
!     snprintf(ifconfig, 255, "%s%s", VAR_IFCONFIG, ifname);
      cp = variable_get(ifconfig);
      if (!cp) {
  	dialog_clear();
  	msgConfirm("The %s device is not configured.  You will need to do so\n"
! 		   "in the Networking configuration menu before proceeding.", ifname);
  	return FALSE;
      }
      msgNotify("Configuring network device %s.", ifname);
--- 115,126 ----
      else
  	strcpy(ifname, dev->name);
  
!     snprintf(ifconfig, 255, "%s%s", VAR_IFCONFIG, dev->name);
      cp = variable_get(ifconfig);
      if (!cp) {
  	dialog_clear();
  	msgConfirm("The %s device is not configured.  You will need to do so\n"
! 		   "in the Networking configuration menu before proceeding.", dev->name);
  	return FALSE;
      }
      msgNotify("Configuring network device %s.", ifname);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512041905.OAA14130>