mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon Masters <jonathan@jonmasters.org>
To: Theewara Vorakosit <thvo@hpcnc.cpe.ku.ac.th>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Get physical MAC address
Date: Tue, 01 Jan 2008 21:42:18 -0500	[thread overview]
Message-ID: <1199241738.3300.63.camel@perihelion> (raw)
In-Reply-To: <Pine.LNX.4.44.0712311233290.17732-100000@hpcnc.cpe.ku.ac.th>

On Mon, 2007-12-31 at 12:39 +0700, Theewara Vorakosit wrote:

> I get MAC address from ioctl. However, ifconfig can change this  MAC 
> address. Can I get a real physical MAC address of the NIC?

Forgive me reading into your mail...this smells a bit like some kind of
licensing/compliance thing. Just bear in mind that using the MAC to
verify the identity of a machine is utterly useless and pointless -
anyone can trivially fool your software[0] to see what it "wants".

Jon.

[0] We used to have to do far worse kludgery in college, in order to
prevent the silly powers that be who "banned" network cards other than
those made by one manufacturer from being used on their little network.



  parent reply	other threads:[~2008-01-02  2:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31  5:39 Theewara Vorakosit
2008-01-01 23:07 ` Bernd Petrovitsch
2008-01-02  2:12   ` Stephen Hemminger
2008-01-02  2:42 ` Jon Masters [this message]
2008-01-02  3:12   ` Kyle Moffett
2008-01-02  4:58 ` Matt Domsch
2008-01-02  9:31   ` Bernd Petrovitsch
     [not found] <9Gmk2-1M1-5@gated-at.bofh.it>
2007-12-31 11:11 ` Bodo Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1199241738.3300.63.camel@perihelion \
    --to=jonathan@jonmasters.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thvo@hpcnc.cpe.ku.ac.th \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®