From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sat, 3 Dec 2011 12:02:20 -0500 Subject: [U-Boot] [PATCH RFC] sandbox: Add tap based networking In-Reply-To: <4EDA3B12.9030705@arcor.de> References: <1322575743-21760-1-git-send-email-weisserm@arcor.de> <201111291339.17625.vapier@gentoo.org> <4EDA3B12.9030705@arcor.de> Message-ID: <201112031202.21723.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: