Vadiraj's Blog

My experiments with Java

Solaris, how to find MAC address

Wednesday Mar 25, 2009

I am currently into new ventures that dive deep into the systems and hardware :)..

One funny thing that found out today is this : How to find out MAC address on Solaris. I was too, surprised to see why 'ifconfig -a' prints mac address only if run as root ... interesting..


[4] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

While I can't reply to that post, it's not due to any desire to keep it hidden -- merely the API used (DLPI) to obtain the MAC address requires root (due to other things it allows -- such as raw packet transmission). There has been discussion with some of the ongoing work that it might allow this to be relaxed for the call to get the MAC address, but not sure where that stands.

Posted by Jason on March 25, 2009 at 10:15 AM IST #

hi,Vadiraj, it seems the link in your post is already dead. I can not open the link "How to find out MAC Address on Solaris". Could you please quote the original article in your blog?

Posted by MichaelLi on March 25, 2009 at 08:41 PM IST #

@MichaelLi, The link still works (http://mike.kruckenberg.com/archives/2004/03/find_mac_addres.html)
@Jason, Good to hear about the planned improvements.

Posted by Vadiraj on March 25, 2009 at 09:06 PM IST #

well, I still can't get to it. Maybe there are some restrictions in my network. Could you please send the find_mac_addres.html or the article to my box( sincereli@gmail.com )? Thanks in advance.

Posted by MichaelLi on March 25, 2009 at 10:32 PM IST #

Post a Comment:
Comments are closed for this entry.