pure routing.... generating a sane mac addr on the wndr3700 in cerowrt?

Stephen Hemminger shemminger at vyatta.com
Thu Jun 23 19:28:49 EDT 2011


On Fri, 24 Jun 2011 00:58:31 +0200
Juliusz Chroboczek <jch at 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.



More information about the Bloat-devel mailing list