Hey Artem Thanks for a quick reply! I observed the same after digging into the "ifconfig" source code, but it seems that I don't have libdlpi.h , dlpi_open() and dlpi_get_physaddr() on any of my Sol machine i.e. Sol8/9/10. Do I need to do get it from somewhere? If yes please let me know how I can get it?
My machine configuration is:- SunOS sh1sol10 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R Thanks, Manish -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 12:56 PM To: Manish chaturvedi Cc: opensolaris-code@opensolaris.org Subject: Re: [osol-code] retriving Mac/ethernet address on Solaris > it seems there is no request code like SIOCGIFHWADDR and member variable ifr_hwaddr on solaris10/9/8, but I guess there should be some thing equivalent to them in Solaris too. > Is there is any equivalent request code on Solaris to get the hardware address of NIC's? Check out dlpi_get_physaddr(). -Artem _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code