I gave '/sbin/ifconfig | grep HWaddr' to get the MAC address but its not returning anything.
On Sun, Jan 23, 2011 at 9:39 PM, Ritika Garg ritikagarg25@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.
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@gmail.com wrote:
I gave '/sbin/ifconfig | grep HWaddr' to get the MAC address but its not returning anything.
On Mon, Jan 24, 2011 at 12:39 AM, Ritika Garg ritikagarg25@gmail.com wrote:
I gave '/sbin/ifconfig | grep HWaddr' to get the MAC address but its not returning anything.
That will only show active network ports. Try "/sbin/ifconfig -a".