*BSD News Article 51215


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!news.mathworks.com!uunet!in1.uu.net!news.netrail.net!netrail.net!nathan
From: nathan@netrail.net (Nathan Stratton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: network setup
Date: 20 Sep 1995 23:58:17 GMT
Organization: NetRail, Inc. Your Gateway to the World!      (703)524-4800
Lines: 28
Message-ID: <43q9qp$16h@skipper.netrail.net>
NNTP-Posting-Host: netrail.net
X-Newsreader: TIN [version 1.2 PL2]


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.


Nathan Stratton		  CEO, NetRail, Inc.    Your Gateway to the World!
---------------------------------------------------------------------------
Phone   (703)524-4800			       NetRail, Inc.
Fax     (703)534-5033                          2007 N. 15 St. Suite B-5
Email   sales@netrail.net                      Arlington, Va. 22201
WWW     http://www.netrail.net/                Access: (703) 524-4802 guest
---------------------------------------------------------------------------