malebolgia Veteran Posted March 17, 2004 Veteran Share Posted March 17, 2004 A while back someone here gave me an AppleScript (I believe .zip) that showed a Mac user their Hardware Address. I can't find that file on my computer. So if whoever sent me that file could send it to me again I'd appreciate it. Thanks -Me Link to comment Share on other sites More sharing options...
the evn show Posted March 17, 2004 Share Posted March 17, 2004 Here you go: set The_Script to "ifconfig en0 |grep ether |sed s/ether//" set your_address to do shell script (The_Script) display dialog "Your MAC address is:" & your_address It's attached as an application in a zip file - just incase you don't feel like compiling it yourself. EDIT: Change "en0" to "en1" if you want it to display the address for your airport card. Link to comment Share on other sites More sharing options...
malebolgia Veteran Posted March 17, 2004 Author Veteran Share Posted March 17, 2004 Here you go: set The_Script to "ifconfig en0 |grep ether |sed s/ether//" set your_address to do shell script (The_Script) display dialog "Your MAC address is:" & your_address It's attached as an application in a zip file - just incase you don't feel like compiling it yourself. EDIT: Change "en0" to "en1" if you want it to display the address for your airport card. Edit: So all the user has to do is unzip the folder and double click: macaddress\macaddress.app file? Thanks again :beer: Link to comment Share on other sites More sharing options...
the evn show Posted March 17, 2004 Share Posted March 17, 2004 That's the idea :) It displays the message: "Your MAC address is: ##:##:##:##:##:##" where the ## are the mac address. EDIT: I do make a couple of assumptions: 1) That you're running on Mac OS X, and not in classic 2) That the BSD subsystem is installed - it's a default component and required for Rendezvous and SMB sharing so it should be there. Link to comment Share on other sites More sharing options...
malebolgia Veteran Posted March 17, 2004 Author Veteran Share Posted March 17, 2004 That's the idea :)It displays the message: "Your MAC address is: ##:##:##:##:##:##" where the ## are the mac address. EDIT: I do make a couple of assumptions: 1) That you're running on Mac OS X, and not in classic 2) That the BSD subsystem is installed - it's a default component and required for Rendezvous and SMB sharing so it should be there. I personally don't have a Mac, but my friend is testing it for me. Link to comment Share on other sites More sharing options...
malebolgia Veteran Posted March 18, 2004 Author Veteran Share Posted March 18, 2004 Just to let you know the script worked perfectly. Thanks again, -Me Link to comment Share on other sites More sharing options...
malebolgia Veteran Posted March 25, 2004 Author Veteran Share Posted March 25, 2004 One of my coworkers said it didn't work for him (currently out of town). I'm not sure what version of OS X he is running, but as long as he's running OS X everything should be fine right? Link to comment Share on other sites More sharing options...
Southern Patriot Posted March 26, 2004 Share Posted March 26, 2004 One of my coworkers said it didn't work for him (currently out of town). I'm not sure what version of OS X he is running, but as long as he's running OS X everything should be fine right? He's probably running 10.2 and didn't install the BSD subsystem (it wasn't installed by default, if I remember right). With 10.3, it is in the default install. If that's the case, he can always go back and add that from the install CD's. Link to comment Share on other sites More sharing options...
Recommended Posts