On Solaris, is there a command that I can run to get the MAC address of an ethernet card without running "/sbin/ifconfig -a" as root. Running /sbin/ifconfig -a as a non root user leaves out the MAC address - go figure!
Thanks,
Paul
In the Command Prompt window, type ipconfig /all and press Enter. Under the Ethernet Adapter Local Area Connection section, look for the "Physical Address". This is your MAC Address.
Linux. Open a terminal and use the ifconfig command. The MAC address will be listed next to HWaddr.
/usr/bin/netstat -pn |grep SP
Try an "arp -a"
, and look for your own hostname. (This works for me on the Solaris 9 machine I tried it on, but your mileage may vary.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With