Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am sorry that this is not directly a LinuxQuestion, but I am wondering if anyone knows where is the equivalent of /etc/sysconfig/network-scripts/* on Solaris 8. In other words, what file do I edit to add/delete network interfaces?
We totally welcome Solaris questions. But on to your question. There really isn't anything that I know of that is equivalent to the /etc/sysconfig/network-scripts/* but the easiest way for you to reconfigure your network in Solaris would probably be with sys-unconfig.
But I'm slightly confused on your question though, are you installing a new network interface or just wanting to change the network configuration ? Cause that would be totally different steps involved.
Solaris plumbs network devices bases on the hostname files in /etc. For example, the existance of hostname.hme0 will cause the hme0 device to be plumbed. Most of the generic networking stuff on a Solaris systems are started in /etc/init.d/inetinit and /etc/init.d/inetsvc. The are linked over to the /etc/rc2.d directory as S69inet and S72inetsvc. Some admins create additional scripts for custom ndd stuff.
If you just want simply removing the interface then you got it by just removing the hostname.InterfaceName (i.e. hostname.qfe2) but you would still need to take steps 'stickman' suggested or you would have to reboot the system (after removing the hostname.* file).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.