The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring TP Ethernet SS5 Solaris 8 mads-nielsen SUN Solaris 1 11-19-2007 03:45 AM
solaris networking Farbegas SUN Solaris 3 10-04-2007 07:00 AM
Configuring networking interface on Sun Blade 1500 annointed3 UNIX for Dummies Questions & Answers 1 11-29-2005 05:34 PM
tftp configuring on Solaris 5.7 vivek_scv SUN Solaris 1 05-19-2005 03:34 PM
adding interfaces in solaris 9 BG_JrAdmin UNIX for Dummies Questions & Answers 2 03-28-2005 11:18 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-27-2005
annointed3 annointed3 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 18
Configuring networking interfaces on Solaris 10

Hi,

I am trying to configure an ip address, netmask, and default gateway on my solaris machine. For example, in Linux I would do the following command:

#ifconfig eth0 xx.xx.xx.xx netmask 255.0.0.0
#add route or route add default xxx.xxx.xxx.xxx

In Solaris 10, I believe the commands are similar, but I don't know what my interface is (in the example above it was eth0), but in Solaris 10, I can't figure out what it is. Can someone provide me steps on how to set up my network interface on Solaris 10?

Thanks in advance for your help
  #2 (permalink)  
Old 10-27-2005
annointed3 annointed3 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 18
Hi,

Okay, from research I found out that I can do a dmesg to see what my interface name it. When I execute this command, I get a lot of stuff back. Is there anything in particular I can grep for?
  #3 (permalink)  
Old 10-27-2005
ispepalocacoc ispepalocacoc is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 2
does 'ifconfig -a' give you a list of all your devices?
  #4 (permalink)  
Old 10-28-2005
annointed3 annointed3 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 18
ifconfig -a lists lo0. I thought this was my lookback and that I should not modify its address, which is current 127.0.0.1
  #5 (permalink)  
Old 10-28-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
See this thread

When you run the dmesg command, you may find your interface but not know it - if it's a Sparc system then look for hme or qfe (possibly some others). But I think you have a Intel with Solaris X86 which the link should help with.
  #6 (permalink)  
Old 10-28-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I tried a few commands on a Solaris 10 box. The best I could find was:
prtconf -D | grep network
That will give you the driver name. If you don't know how the driver operates, you can do a man command on the particular driver. But this is on a Sun-Fire V240 and I'm not sure if it works as well with other hardware.
Closed Thread

Bookmarks

Tags
linux, linux commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0