public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: linux-kernel@vger.kernel.org
Subject: rtl8187: Invalid hwaddr! Using randomly generated MAC address
Date: Fri, 17 Aug 2007 16:59:33 +0100	[thread overview]
Message-ID: <46C5C5E5.3040503@tuffmail.co.uk> (raw)

I've just acquired this buggy piece of hardware otherwise known as a
NetGear WG111v2.  I googled and eventually found an explanation in the
form of source code here:

<http://www.gelato.unsw.edu.au/lxr/source/include/linux/etherdevice.h#L93>.


It seems linux rejects the hardware MAC address because it is either all
zero or a multicast address (ie the first byte has 0x01 set.

On the side of this buggy piece of hardware is written:

MAC 001B2F7604E6

which AFAICS is valid; it's definitely not all zeros and the first byte
has no bits set at all.


Q.  Udev can't access the invalid mac address.  Does that mean there is
no persistent identifier for the device?  I know I could identify a
device as a NetGear WG111v2, but I do have two of them.  It would be
nice if I could fix them by adding udev rules to identify individual
devices, and set their MAC address to what it's "supposed" to be.

/me scrabbles around for a Windows installation to find out whether the
MAC address is somehow set correctly on the Other OS.

             reply	other threads:[~2007-08-17 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 15:59 Alan Jenkins [this message]
2007-08-17 17:25 ` rtl8187: Invalid hwaddr! Using randomly generated MAC address John W. Linville

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=46C5C5E5.3040503@tuffmail.co.uk \
    --to=alan-jenkins@tuffmail.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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