usbnet - MAC and sequential interfaces
Werner Almesberger
werner at openmoko.org
Tue Feb 3 01:02:05 CET 2009
Joel Newkirk wrote:
> It would be
> convenient for example if the MAC on usb0 were the same as the MAC on eth0
> with just the OID changed. (first three octets) (Motorola does this on
> wireless broadband gear - the MAC address of a unit is the same with just
> 0a 1a 2a at the start indicating ethernet, RF mgmt, RF client port)
We can actually do much better. If you
mkdir -p /mnt/factory
mount -o ro /dev/mtdblock5 /mnt/factory/
cat /mnt/factory/usb
you get a globally unique MAC address just for USB.
- Werner
More information about the devel
mailing list