FROM : Chilton Webb
DATE : Mon Nov 18 20:56:13 2002
> This works on my machine :)
>
> ifconfig | grep ether | cut -f 2 -d " "
>
> For a quick and dirty solution you could pass the above string to ppipe
> And read the output.
And for the sake of people like me, who will forget these things and go
searching the archives frantically a month from now, I should point out
that users of systems with an Airport card will have two MAC addresses,
which the above will address as well ;-)
-Chilton
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Mon Nov 18 20:56:13 2002
> This works on my machine :)
>
> ifconfig | grep ether | cut -f 2 -d " "
>
> For a quick and dirty solution you could pass the above string to ppipe
> And read the output.
And for the sake of people like me, who will forget these things and go
searching the archives frantically a month from now, I should point out
that users of systems with an Airport card will have two MAC addresses,
which the above will address as well ;-)
-Chilton
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Chilton Webb | Nov 18, 20:56 | |
| Mario Diana | Nov 19, 16:24 |






Cocoa mail archive

