LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 11-05-2002, 06:22 AM   #1
meshcurrent
Member
 
Registered: Oct 2002
Posts: 38

Rep: Reputation: 15
/etc/sysconfig/network-scripts on Solaris?


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?

Thank you!

Youssef Eldakar
Bibliotheca Alexandrina
 
Old 11-05-2002, 08:21 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.

Some links I found that might be of some help:

http://www.enteract.com/~lspitz/interfaces.html

http://www.netsys.com/cgi-bin/man2html?sys-unconfig(1M)
 
Old 11-05-2002, 11:15 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
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.

Last edited by stickman; 11-05-2002 at 11:17 PM.
 
Old 11-06-2002, 01:34 AM   #4
meshcurrent
Member
 
Registered: Oct 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Thank you, that does help.

I simply need to disable one of two network interfaces on a system that we got. I suppose I can just mv that hostname.* file out of /etc.

Youssef Eldakar
Bibliotheca Alexandrina
 
Old 11-06-2002, 09:52 AM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Moving/Deleting the hostname file will take effect at the next reboot. For immediate results, try something like:
ifconfig hme0 unplumb
 
Old 11-22-2002, 05:13 PM   #6
khainguyen
LQ Newbie
 
Registered: Nov 2002
Location: Milpitas
Posts: 1

Rep: Reputation: 0
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).

Here is what I would do to remove qfe2 interface:

ifconfig qfe2 unplumb
cd /etc
rm hostname.qfe2
 
Old 11-24-2002, 01:51 AM   #7
meshcurrent
Member
 
Registered: Oct 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Thank you.

Youssef Eldakar
Bibliotheca Alexandrina
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "/etc/sysconfig/network-scripts/ifcfg-eth0" its counterpart in slackware b0nd Slackware 2 10-06-2005 12:50 AM
How to add default gateway in /etc/sysconfig/network-scripts/* zamri Linux - Networking 2 09-06-2005 10:32 AM
How to change /etc/sysconfig/network-scripts/ifcfg-eth0 ariana Linux - Networking 1 05-01-2005 01:37 PM
can anyone post their /etc/sysconfig/network-scripts/ifcfg-wlan0? Dooberdoink Linux - Wireless Networking 1 03-27-2005 09:49 AM
/etc/sysconfig/network-scripts/ifcfg-ra0 Not working anymore NssOne Linux - Wireless Networking 1 02-13-2004 09:13 PM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration