File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 746
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.
 
 
subject: How do I know the name of my device in solaris 10?
 
Similar Threads
NIC ADDRESS
Can Tomcat serve apps on two different IP addesses, both on port 80
SAXParseException on "ИЙ" sequence, why?
B&S: How the examiner to test delete and create function in database?
How can i assign different IP addresses to different Programs