How can i get The MAC address from existing system. Plz send me any Code about the MAC Address Attachments: http://www.ruby-forum.com/attachment/6480/raj.rar -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
How can i get The MAC address from existing system. Plz send me any Code about the MAC Address -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
%x/ifconfig/ On Tue, Aug 2, 2011 at 6:55 AM, Rajashekar R. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> How can i get The MAC address from existing system. Plz send me any Code > about the MAC Address > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Aug 2, 6:55 am, "Rajashekar R." <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> How can i get The MAC address from existing system. Plz send me any Code > about the MAC AddressYou''re going to need to be a LOT more specific about what exactly you''re looking for - many modern systems don''t even have a definitive "the" MAC address. For instance, I''m looking at ifconfig for one of my Slicehost slices and it''s got TWO MAC addresses, one for the public IP and one for the private interface. BTW, I don''t think it''s relevant to this question, but the code you attached in the first copy of this message has a nasty race condition - two people can easily wind up generating the same value in `return_no` since you''re creating it in the new action but saving it in the create action. You may want to look into a different way to get that behavior... --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.