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