This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes How do I know the name of my device in solaris 10? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How do I know the name of my device in solaris 10?" Watch "How do I know the name of my device in solaris 10?" New topic
Author

How do I know the name of my device in solaris 10?

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 751
Hi, I'm trying to find out if my NIC card is properly installed. I tried doing ping 127.0.0.1 and everything seems to be working right... Now I want to know what IP I have so I need to do ifconfig <interface> but I don't know the name of my interface... I was suggested to use dmesg but it shows too many output and I just don't know which info I need... THe manufacturer of my NIC is unkown to me... Thanks!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Martin Simons
Ranch Hand

Joined: Mar 02, 2006
Posts: 196
do "ifconfig -a" and it will show all of the machines interfaces that are
currently "initiated" (plumbed). One of them will be lo0, this is the
loopback address (127.0.0.1). If you only have one other device that
actually contains an ip address, then your good. If your machine has
multiple ip addresses, then ask the nearest qualified administrator to
help you.
 
Consider Paul's rocket mass heater.
 
subject: How do I know the name of my device in solaris 10?
 
jQuery in Action, 3rd edition