Historic archive of defunct list bloat-devel@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Juliusz Chroboczek <jch@pps.jussieu.fr>
Cc: openwrt-devel@lists.openwrt.org,
	bloat-devel <bloat-devel@lists.bufferbloat.net>
Subject: Re: pure routing.... generating a sane mac addr on the wndr3700 in cerowrt?
Date: Thu, 23 Jun 2011 16:28:49 -0700	[thread overview]
Message-ID: <20110623162849.290c552b@nehalam.ftrdhcpuser.net> (raw)
In-Reply-To: <7iei2kupd4.fsf@lanthane.pps.jussieu.fr>

On Fri, 24 Jun 2011 00:58:31 +0200
Juliusz Chroboczek <jch@pps.jussieu.fr> wrote:

> > I figure it should come from the second wireless interface, get the
> > local bit defined, and go to the top of the allowable range that the
> > wireless interface pulls from to generate it's SSIDs
> 
> Nah.  Just pull 6 bytes from /dev/random, set the local bit, and unset
> the group bit.

There is nice random_ether_addr in kernel to meet your needs.

      reply	other threads:[~2011-06-23 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 15:14 Dave Taht
2011-06-23 22:58 ` Juliusz Chroboczek
2011-06-23 23:28   ` Stephen Hemminger [this message]

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=20110623162849.290c552b@nehalam.ftrdhcpuser.net \
    --to=shemminger@vyatta.com \
    --cc=bloat-devel@lists.bufferbloat.net \
    --cc=jch@pps.jussieu.fr \
    --cc=openwrt-devel@lists.openwrt.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