From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c928d118d4a4b3d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-12 14:19:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.baileynm.com!web.eng.baileynm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.unix.tru64 Subject: Re: Sysadmin favorite commands list Date: 12 Jul 2002 21:09:55 GMT Organization: ABB Network Management Message-ID: References: <4bb16963.0207110159.15d78cad@posting.google.com> NNTP-Posting-Host: grendel.eng.baileynm.com Xref: archiver1.google.com comp.unix.tru64:8131 In article , Dave Uhring 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`