Re: Managing interface with random MAC address



On Thursday 05 March 2009 19:47:28 Russ Dill wrote:
> On Thu, Mar 5, 2009 at 5:33 AM, Dan Williams <dcbw redhat com> wrote:
> > On Thu, 2009-03-05 at 01:25 -0700, Russ Dill wrote:
> >> I have an embedded device known as a beagle board that draws power
> >> from my USB port (shows up as usb0). When it boots, it presents itself
> >> as a USB ethernet device. I want to share my connection with the
> >> device from network manager.

As far as I'm aware it's using ethernet gadget to provide network interface.

If that's the case - you can modprobe device with parameters like:
modprobe g_ether host_addr=01:23:45:67:89:ab dev_addr=00:11:22:33:44:55:66
(substitute with your desired mac address)

if you have it compiled in, you can use add this to your command line:
g_ether.host_addr=01:23:45:67:89:ab g_ether.dev_addr=00:11:22:33:44:55:66

That was both ends will always have static IP addresses. You can also add 
second part to u-boot env.


Regards,
Rob

Attachment: signature.asc
Description: This is a digitally signed message part.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]