From owner-freebsd-questions Wed Sep 20 17:00:48 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA16528 for questions-outgoing; Wed, 20 Sep 1995 17:00:48 -0700 Received: from everest (dtr.rain.com [204.119.8.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA16517 ; Wed, 20 Sep 1995 17:00:43 -0700 From: bmk@dtr.com Received: (from bmk@localhost) by everest (8.6.11/8.6.9) id QAA00400; Wed, 20 Sep 1995 16:49:49 -0700 Message-Id: <199509202349.QAA00400@everest> Subject: Re: network setup To: nathan@netrail.net (Nathan Stratton) Date: Wed, 20 Sep 1995 16:49:49 -0700 (PDT) Cc: freebsd-current@FreeBSD.org, freebsd-questions@FreeBSD.org In-Reply-To: from "Nathan Stratton" at Sep 20, 95 07:48:28 pm Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1041 Sender: owner-questions@FreeBSD.org Precedence: bulk > In netstart it says "Set up all the network interfaces, calling startup > scripts if needed" Well I do need start info that will not go in > sysconfig. How do I format the script what do I call the script? > This is what I need to do to get the network to run. > /usr/hdlc/utils/hdlccfg /usr/hdlc/utils/hdlc0.cfg > /usr/hdlc/utils/hdlccfg /usr/hdlc/utils/hdlc1.cfg > ifconfig ed0 205.215.0.1 netmask 255.255.255.0 > ifconfig ed1 205.215.6.1 netmask 255.255.255.0 > ifconfig ed1 alias 204.117.64.1 netmask 255.255.255.0 > ifconfig eth0 144.228.27.38 144.228.27.37 netmask 255.255.255.252 > ifconfig eth1 204.183.22.13 204.183.22.14 netmask 255.255.255.252 > /usr/hdlc/utils/ifhdlc > And then everything works, I know how to make it work if I type all that > in by hand, but I need it in the script but don't know where to put it. Create a script named /etc/netstart.{interface_name} - I'd guess that you'd use /etc/netstart.hdlc?. You might have to hardcode it into netstart since you don't appear to be using ifconfig on hdlc?.