From owner-freebsd-questions Sun Feb 28 17:49:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.gte.net (smtp1.gte.net [207.115.153.30]) by hub.freebsd.org (Postfix) with ESMTP id 1525D151A9 for ; Sun, 28 Feb 1999 17:49:13 -0800 (PST) (envelope-from dahlmand@gte.net) Received: from gte.net (1Cust24.tnt9.long-beach.ca.da.uu.net [208.253.193.24]) by smtp1.gte.net with ESMTP id TAA02225; Sun, 28 Feb 1999 19:48:36 -0600 (CST) Message-ID: <36D991CC.61617C7E@gte.net> Date: Sun, 28 Feb 1999 18:58:20 +0000 From: "Donald P. Dahlman" X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions Cc: Greg Lehey Subject: conversion Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG curently using BSDI 3.1 with 16 user lic. want to convert to 2.2.8 Freebsd Have installed 2.2.8 onto a new machine and installed apache, and perl5. Both work so far. now the question...s first the BSDI uses a netstart to set a default route and lots of other items. see below... can this file be used in 2.2.8 or what do i need to do ... # # netstart - configure network daemons, interfaces, and routes # #defroute="206.142.145.137" defroute="" hostname="nebula.nift.net" nis_domain="" primary="ef0" interfaces="ef0" # ef0:: ipaddr_ef0="206.142.145.139" netmask_ef0="255.255.255.248" linkarg_ef0="media 10baseT" additional_ef0= maximflags=YES routedflags=NO timedflags=NO rwhod=YES rstatd=YES # Default to no network connections. See syslogd(8). syslogdflags=-l # Argument for the -u option of inetd. See inetd(8). inetd_ignore=internal # Configure hostname and NIS domain as defined in the header # hostname $hostname # Setting the YP/NIS nis_domain does not configure YP/NIS for your # system -- see irs.conf(5). if [ X$nis_domain != X ]; then domainname $nis_domain fi grep 'sysctl[ ]-w[ ]net\.' /etc/rc.local | sh ############################################################################# # # Configure interfaces defined in the header # for if in $interfaces; do eval "ifconfig $if inet set \$ipaddr_$if \ \${netmask_$if:+netmask} \$netmask_$if \ \$linkarg_$if \$additional_$if" done # set up multicast on primary interface if [ X$primary != X ] ; then eval "route add -net 224.0.0.0 -interface \$ipaddr_$primary" fi # Configure virtual hosts defined in /etc/virtualip # /etc/virtualip contains a list of IP addresses to configure. # We lookup the link address (if any) and arp for them if we # can; otherwise we just add them as an IP alias on the loopback. if [ -f /etc/virtualip ]; then /usr/libexec/linkaddr `cat /etc/virtualip` 2>/dev/null | \ while read line; do set -- $line # virtualip [linkaddr] ifconfig lo0 add $1 if [ "$2" ]; then arp -s $1 $2 pub; fi done fi # configure localhost (loopback) interface ifconfig lo0 inet add 127.1 # do not send packets to the "loopback" net off-machine route add -net 127 127.1 -reject # Configure a static default route as defined in the header if [ X$defroute != X ]; then route add default $defroute fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message