From malin@bottom.bic.mni.mcgill.ca Mon Jul 30 15:01:23 2001 Received: (from malin@localhost) by bottom.bic.mni.mcgill.ca (8.11.3/8.11.3) id f6UJ1MX23103 for kate@bic.mni.mcgill.ca; Mon, 30 Jul 2001 15:01:22 -0400 (EDT) Date: Mon, 30 Jul 2001 15:01:21 -0400 From: Jean-Francois Malouin To: Kate HANRATTY Subject: network setup for sgi Message-ID: <20010730150121.A18254@bottom.bic.mni.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i Status: RO Content-Length: 1527 Lines: 56 You need to have the following info before starting: 1- a hostname 2- an IP address 3- a netmask and broadcast of local network 4- a domain name and nameservers' addresses 5- a default gateway If you're missing some of it, then find it before attempting to configure the network interface. Recipe: 1- name of the machine, including the domain name (ie bart=short name, bart.simpson.org=long of fully qualified domain name, or FQDN): $> echo "bart.simpson.org" > /etc/sys_id 2- IP address of host, say 192.168.15.130: $> echo "192.168.15.130 bart.simpson.org bart" >> /etc/hosts Also make sure that the entry: 127.0.0.1 localhost is present in the /etc/hosts file. 3- netmask and broadcast of the local network. This is just an example! DO NOT USE AS IS!. This is only valid for this example of a private class C network that has been subnetted: $> echo "netmask 0xFFFFFFC0 broadcast 192.168.15.191" > /etc/config/ifconfig-1.options 4- domainname, nameservers, primary and secondary: $> echo "domain simpson.org" > /etc/resolv.conf $> echo "nameserver 192.168.15.131" > /etc/resolv.conf $> echo "nameserver 192.168.15.132" > /etc/resolv.conf 5- routing $> chkconfig routed off $> echo "$ROUTE $QUIET add default 192.168.15.129" > /etc/config/static-route.options Reboot and check the state of the network interface with: $> netstat -ina $> ifconfig -av $> netstat -nr HTH, jf -- Reporter: Mr Gandhi, what do you think of Western Civilization? Gandhi: I think it would be a good idea.