Re: Find out the mac address




On Oct 31, 2007, at 4:02 AM, K. R. wrote:

Hi @all

How can I find out the mac address from the default gateway with a ruby
script?
Does exist any methods to read it out? The script runs on a linux
distribution...

thanks for your comment!
--
Posted via http://www.ruby-forum.com/.


this may not help you directly, but:

cfp:~ > ruby -r macaddr -e' p Mac.addr '
"00:17:f2:d5:c1:ec"

gem install macaddr

regards.


a @ http://codeforpeople.com/
--
share your knowledge. it's a way to achieve immortality.
h.h. the 14th dalai lama



.



Relevant Pages

  • Re: iPlayer and Parallels
    ... Ruby is pre-installed in Mac OS X, so it's pretty effortless all in all. ... Download the ruby script from http://po-ru.com/diary/iplayer-cat-and-mouse/ ... copy the URL of the page that plays it, then go to terminal and type iplayer-dl.sh {paste url here} and press return ...
    (uk.comp.sys.mac)
  • Re: Error: -3253 Connection to the server failed or was dropped
    ... Entourage on my Mac. ... Test your network with tcpflow. ... Script to activate tcpflow: ...
    (microsoft.public.mac.office.entourage)
  • Re: Storing MAC addresses in AD
    ... write a custom script for our VMPS server to query AD directly ... write a sync script to query all objects within AD and regenerate ... Do you currently, or do you plan to, do something with the MAC ... ports to access the servers, while by default anyone else cannot. ...
    (microsoft.public.windows.server.active_directory)
  • Creating Secure Standalone Binaries for 9/X
    ... I'm an experienced Mac ... I was handed a Tcl script created for Windows that was used just fine ... Create a standalone binary of the script usable in Mac OS 9 and X ... After a few hours research I was able to create a "fake" app by ...
    (comp.lang.tcl)
  • Re: Auto Run Macro
    ... Sub OnSlideShowPageChange ... MsgBox "Last slide in the slide show" ... The above script should trigger a message box when the last slide is reached apparently. ... The number of new Mac users has skyrocketed. ...
    (microsoft.public.mac.office.powerpoint)