[Bug 1023] CDC/RNDIS Ethernet over USB driver provides random Ethernet address after each reboot which makes MacOS X config problematic

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Wed Nov 28 02:58:01 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1023





------- Additional Comments From werner at openmoko.org  2007-11-28 02:58 -------
To work around the MacOS situation, a pair of locally-chosen MAC
addresses for host and device could be stored in the environment,
and then passed to the kernel with the following u-boot commands:

setenv bootcmd setenv bootargs \${bootargs_base} \${bootargs_usb} 
\${mtdparts}\; nand read.e 0x32000000 kernel\; bootm 0x32000000

setenv bootargs_usb g_ether.dev_addr=00:01:02:03:04:05 
g_ether.host_addr=06:07:08:09:0a:0b

saveenv

Note that the first byte of each address must be an even number, or this
would be a multicast address, and the kernel would ignore it.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list