From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Thu, 19 Feb 2015 17:44:23 -0600 Subject: [U-Boot] [RFC PATCH v3 14/14] dm: eth: Add a bridge to a real network for sandbox In-Reply-To: References: <1422923925-5572-1-git-send-email-joe.hershberger@ni.com> <1423618233-11397-1-git-send-email-joe.hershberger@ni.com> <1423618233-11397-15-git-send-email-joe.hershberger@ni.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Tue, Feb 17, 2015 at 11:02 PM, Simon Glass wrote: > > Hi Joe, > > On 16 February 2015 at 22:16, Joe Hershberger wrote: > > Hi Simon, > > > > On Sun, Feb 15, 2015 at 9:50 AM, Simon Glass wrote: > >> > >> Hi Joe, > >> > >> On 10 February 2015 at 18:30, Joe Hershberger > >> wrote: > >> > Implement a bridge between u-boot's network stack and Linux's raw packet > >> > API allowing the sandbox to send and receive packets using the host > >> > machine's network interface. > >> > > >> > This raw Ethernet API requires elevated privileges. You can either run > >> > as root, or you can add the capability needed like so: > >> > > >> > sudo /sbin/setcap "CAP_NET_RAW+ep" u-boot > >> > >> Can you add a note about thsi in README.sandbox? This seems like a > >> major new feature. It was talked about a few years ago when sandbox > >> was first created. > > > > OK. Can you maybe point me to that conversation so I can understand what > > was anticipated potentially covering more of what was expected. > > All I could find was this: > > http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/108687 I dug around and found this too: http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/118685 It seems it was more complicated to setup, but may have other benefits (such as being more likely to be able to change MAC address settings eventually). [snip] Cheers, -Joe