It would be ok if you post the output of your ifconfig. I tried your command and it was working on mine On Mon, Jan 24, 2011 at 1: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. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110124/e0d9e3dd/attachment-0005.html>