Re: USB gadget support?
- From: Dan Williams <dcbw redhat com>
- To: Marcel Holtmann <marcel holtmann org>
- Cc: Hollis Blanchard <hollis_blanchard mentor com>, networkmanager-list gnome org
- Subject: Re: USB gadget support?
- Date: Thu, 01 Mar 2012 17:31:49 -0600
On Thu, 2012-03-01 at 11:21 -0800, Marcel Holtmann wrote:
> Hi Dan,
>
> > > I have F16 here (NM 0.9.2) with a Beagleboard doing USB gadget
> > > networking, and NM seems to be treating the wired and USB connections as
> > > the same thing. After booting the Beagleboard, I get two "Wired" items
> > > in the NM connection list, but they are sharing a single configuration.
> > > This is a problem because I need to share my host's ethernet in order to
> > > give the Beagleboard connectivity -- definitely not the same configuration.
> > > When I click the "+" button for a new configuration, my only option is VPN.
> > >
> > > I'm sure I had this working in F14 or F15, but I can't remember how. Am
> > > I missing something simple? Thanks!
> >
> > Do either of the interfaces have stable MAC addresses? The usual
> > mechanism would be to lock connections to each of the MAC addresses of
> > the interfaces, so that you have connection #1 locked to onboard wired,
> > and connection #2 locked to USB, and then they are both set up
> > correctly. Unfortunately, I think on the gadget stuff sometimes the MAC
> > address is random and then this becomes an excercise in creating udev
> > rules to set the MAC address to a well-known one.
>
> I fixed this in the kernel a long time ago. USB networking gadgets
> contain DEVTYPE=gadget. No need to play crazy address tricks.
Even if they have DEVTYPE=gadget, if you have two gadget devices, you
still need some way to associate configuration with a particular gadget
netdev. Which comes back to MAC address, really...
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]