[U-Boot] [PATCH RFC] sandbox: Add tap based networking

Mike Frysinger vapier at gentoo.org
Sat Dec 3 18:02:20 CET 2011


On Saturday 03 December 2011 10:06:58 Matthias Weisser wrote:
> Am 29.11.2011 19:39, schrieb Mike Frysinger:
> > then when tap_set_hwaddr() gets called, if the MAC is different, it will
> > attempt to set the MAC to what the user requested.  if they don't have
> > permission, then the code can yell at them.  but if they do, this should
> > work imo.  this gets us the best of all worlds i think.
> 
> I looked into that. It seems that you have to shut down the interface,
> change the MAC and up the interface again. I tried now to do this using
> some ioctls but didn't got it working as user or as root. So I give up
> at this point. Should I submit the V2 patch without setting MAC function
> anyway or will it not be applied then?

add a comment to the set_hwaddr that you tried XXX but couldn't get it to 
work, so for now it's disabled until someone can post a working solution
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111203/81175aad/attachment.pgp>


More information about the U-Boot mailing list