From: peter@abbnm.com (Peter da Silva)
Subject: Re: Sysadmin favorite commands list
Date: 12 Jul 2002 21:09:55 GMT [thread overview]
Message-ID: <agngj3$23d@web.eng.baileynm.com> (raw)
In-Reply-To: uisim48f9rqc27@corp.supernews.com
In article <uisim48f9rqc27@corp.supernews.com>,
Dave Uhring <dmuhring@yahoo.com> wrote:
> Solaris, for instance, has a totally different setup for network
> configuration. Tru64's is more similar to FreeBSD.
That's not surprising. Tru64 is based on 4.3-Reno, the last 4.3 release.
FreeBSD is based on 4.4.
In fact you can get quite a long way by treating Tru64 as FreeBSD with
a System V inittab and rc*.d directories. The biggest difference you're
likely to run into with any great frequency is AdvFS.
I'm getting into quite a love-hate relationship with AdvFS. :)
> How do you expect a new user to figure out where the machine's IP
> address is to be set without knowing the name of the file where it is
> set? rcmgr(8) just does not exist in any BSD, Solaris or Linux.
All rcmgr does is safely edit /etc/rc.config, which is very similar to
/etc/rc.conf on FreeBSD.
Let's say you have a machine with two interfaces to /24 subnets, with
an Intel EtherExpress card and a DEC de500 and addresses 10.0.0.43 and
10.1.0.43 respectively.
In FreeBSD you set the IP address like this:
/etc/rc.conf:
network_interfaces="fxp0 lo0 dc0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_fxp0="inet 10.0.0.43 media autoselect netmask 255.255.255.0"
ifconfig_dc0="inet 10.1.0.43 media autoselect netmask 255.255.255.0"
In Tru64 you do this:
/etc/rc.config:
NUM_NETCONFIG="2"
NETDEV_0="ee0"
NETDEV_1="tu0"
IFCONFIG_0="10.0.0.43 netmask 255.255.255.0"
IFCONFIG_1="10.1.0.43 netmask 255.255.255.0"
It should be pretty obvious what else goes in there.
--
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All
these things will be lost in time, like chalk-paintings in the rain. `-_-'
Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`
next prev parent reply other threads:[~2002-07-12 21:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-11 9:59 Sysadmin favorite commands list Martin Brodie
2002-07-11 17:28 ` Sylvain Robitaille
2002-07-12 3:19 ` Dave Uhring
2002-07-12 4:55 ` Adam Price
2002-07-12 10:30 ` Dave Uhring
2002-07-12 17:12 ` Heather Wesley
2002-07-12 18:14 ` Adam Price
2002-07-12 22:41 ` Dave Uhring
2002-07-13 13:07 ` Michael Heiming
2002-07-14 0:43 ` Dave Uhring
2002-07-14 8:41 ` Michael Heiming
2002-07-12 15:33 ` Dan Riley
2002-07-12 21:09 ` Peter da Silva [this message]
2002-07-16 19:03 ` Sylvain Robitaille
2002-07-12 2:22 ` Quarter Horseman
2002-07-12 11:44 ` Jonas Furrer
2002-07-16 2:32 ` Jack Patteeuw
2002-07-16 2:38 ` Jack Patteeuw
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox