SUMMARY: V880 question on ethernet interfaces and services

From: Jason McIntosh <jmcintosh_at_mlug.missouri.edu>
Date: Fri Apr 25 2003 - 10:01:52 EDT
Ok, thanks to all who responded!!!  There were more than a few and too 
many to list, but here's the general consensus of what I've received:

With regards to the startup scripts, they're the usual /etc/rc*.d 
directories.  The scripts are also as found on a linux system in 
/etc/init.d  S##name is a start script, K##name is a stop script.

For which runlevel corresponds to which "action" do a "man init.  
Additionally, I was told that /etc/rcS.d is the startup scripts 
directory.  Further, a combination of rcS.d and rc2.d handle most of 
the startup and services.  Specifically, S69inet and S72inetsvc for the 
network configuration.  S30network.sh in /etc/rcS.d handles the network 
interfaces.
Another warning - the network scripts in general don't support stop or 
restart parameters, as they're "designed to bring up the interfaces, 
not to bring them down." (thanks to Darren Dunham for a very specific 
set of information on this).

Network interfaces are loaded through files in /etc such as 
/etc/hostname.ge0.  the ge0 is the interface and the file contains the 
hostname.  That hostname should be defined in /etc/hosts.  This only 
counts for currently installed and configured network interfaces.
But, the general network card interfaces for "plumbing" are as follows:
ge# is the Gigabit Ethernet card.
100Mb cards are hme#
Quad-fast-ethernet cards are qfe#
SunBlade 150's (and apparantly the SunFire's) have eri# ports.
To load an interface which hasn't be loaded at boot time, you use 
ifconfig with the plumb command.  For a dhcp interface, you'd use the 
following:

ifconfig eri0 plumb auto-dhcp

The last part of the network config can be found in /etc/defaultrouter 
for setting the route information and in /etc/netmasks for setting the 
netmask configuration.

For more information on the V880 the following link to the sun docs:
http://docs.sun.com/db/coll/792.1
http://docs.sun.com/db/doc/816-2127-10

As for the different services running, I was told you can shut off 
pretty much anything in /etc/inetd.conf
One person suggested commenting the following out:
talk, finger, rsh, rquota, chargen, cachefs, kcms, bootps, comsat
and anything labeled experimental in /etc/services can be shutdown in 
/etc/inetd.conf.  If you're not running a dhcp server you can also 
comment out the dhcp stuff too.  One suggestion was to stop using inetd 
and use xinetd instead (xinetd being more secure).

And last, but not least, the SMC requirements.  First, it seems no one 
has a clear idea of exactly what is required by the SMC (Mike Penny 
gave the only real clue) but one thing is the sadmind in 
/etc/inetd.conf.  Most people apparently aren't using it, primarily 
because it's "a pig".  But, no one seemed sure of what the SMC 
requires, how it's configured, etc.

Thanks!
Jason McIntosh

Jason McIntosh
Programmer/Analyst
University of Missouri
573-884-3865

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.1 (GNU/Linux)

mQGiBD5AMRERBACcxAJ7hiB6udEDefnAksb49o6BDVC2bxdUTwkxP9jS0BmLqbQL
egYYt09WjEJtn4eRuVdkku7A0fi/G8NIsXnE9oMKnWkqg2tjQ8q65D64Cass5zEU
WG6j8qABpxpZNP9HGSTqm0yeYTR9f0dGaS6jZbxgme6hU0XDOGH3ug6/qwCg0j1h
gYkkNl3jbPuwtpCrTIxSUYsD/0J18alKrswomFJfoRgjA7S9AezlV7YJoU3dCLSV
6D19SAVwmseTRltJm0S8e8Yf6Bq9l+1OdsJCHtT+HYBVuB0PmL8PDhJg6vAzIZlt
5c3hkfJrSSCssRSMBIr+8Hl2HBU4tKB79L2cI3Nrij+5DJTVzIa5QpvsFDAIO2Cp
Ma/hA/9vOPY2PyoAWKb3JAQV8T2h7/rjzePxOv0WYI2/6THdgh2lLUP+GJ4FdH76
I/8d+qtiAzul/Zq2LkFvpejnu41dDZn+yhgsVTkz/xTRKWQX9sOud0QjvyN0nHD9
KqisFRgs1ByINQcWNK8KpwgLcBRLVS4EALDn5R6yL6AT6poT7bQ8SmFzb24gTWNJ
bnRvc2ggKFByb2dyYW1tZXIvQW5hbHlzdCkgPE1jSW50b3NoSkBtaXNzb3VyaS5l
ZHU+iF8EExECAB8FAj5AMREFCQHhM4AECwcDAgMVAgMDFgIBAh4BAheAAAoJEGZP
+3FaGjd1P9IAoJQL5kaHEjG1TNVSt20bAXDx/DzmAJ4pVTDnpWUPNCxk+/kMBlGe
bO97ObkCDQQ+QDEfEAgAjl6vRTDWrMTUfXyngnWAgU/3wRZmjcKONhCGcpqFOFR/
2CiMeeJOnNXgSzrPxIfUJphlh00vBm1K/ngllg3MGFI9hOffuLuHXiw8e/Yc87uz
YdtglWHeUz/9YQCe4ndKohtk7nZHUoxQd5OspJxYJH5J5cysSuH2V839NtNPJKBZ
ai0VhyTFZKD3v9xTC8ZyMEO022bpkhWz1cs/9l5z4g2eg7mOwe+hJstMQFHk77Zr
GbkPwi+gWwM/b2pxigz1xhQpHpR5HrO/4yM8zWYZHUbUGwxiuTJqKktFEVUKUFDD
xopIpOAMOy0qVs+wXS5buJSduSgDxPmKq0xZFsJiZwADBwgAi66pXMCTolMQzn50
MAs9KRK6+3XphI+InmzfN+/OVknwzkAkGhRfisYI0DyN/26wSkn+zyoE87NBuUQt
xtcNOpwwxS2WCqBx3PhtpVJ6yvaeFmSe3QC2lUf8418B2C6GR/e6IOPNhVW1cnhP
IR0/yY8c8zQrJxEZNhBtj2SrkLY6Ps7j97lI8n+u21YC2/a5P3TPCa3x0w0m0APB
zJrhXuNGwPcNtxqKZDz7m9KuROSijx0Xm1buQkGfDZqkqA1D8ljN2vdA+jx/v1eq
H27iXk2iZ+i8bOyoiflniKh6nrd2UlVPvzmLscpiUf0rEGQuBV0Sq5AUUqO7MQM+
L8jCYYhMBBgRAgAMBQI+QDEfBQkB4TOAAAoJEGZP+3FaGjd1yhMAnjAwU37EIok3
WZu1BXhaD9y1ryjBAKC7fnv7AdrVrxdXkmdgdA5jxUFXOg==
=ueqZ
-----END PGP PUBLIC KEY BLOCK-----

[demime 0.99c.7 removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 25 10:05:05 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:09 EST