On Sun, Jan 23, 2011 at 9:39 PM, Ritika Garg <ritikagarg25 at gmail.com> wrote: > I gave '/sbin/ifconfig | grep HWaddr' to get the MAC address but its not > returning anything. > Have you just tried running ifconfig? You may need to specify about which interface you are inquiring, or use '-a' to get them all. Try ifconfig -a | more to see what I mean, contrasted to just ifconfig.