[U-Boot-Users] how can I find Mac address under u-boot

how can I find my ethernet device' physical address? I have read the FAQ and I still don't know how to use gen_eth_addr tool to generate random addressed.I double kick the gen_eth_addr and nothing happend!

You can "setenv ethaddr *****" under u-boot or set random address on kernel ether driver.
在 2005-05-12四的 10:32 +0800,zhonglei写道:
how can I find my ethernet device' physical address? I have read the FAQ and I still don't know how to use gen_eth_addr tool to generate random addressed.I double kick the gen_eth_addr and nothing happend!
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

In message 1115868008.6487.6.camel@localhost you wrote:
You can "setenv ethaddr *****" under u-boot or set random address on kernel ether driver.
This is VERY BAD advice. NEVER, NEVER EVER use random MAC addresses.
RTFM: http://www.denx.de/twiki/bin/view/DULG/EthernetDoesNotWork http://www.denx.de/twiki/bin/view/DULG/WhereCanIGetAValidMACAddress
Best regards,
Wolfgang Denk

In message 200505121032.AA12648772@RCS-9000.COM you wrote:
how can I find my ethernet device' physical address? I have read
The address is typically programmed into the deivce. In U-Boot, just type "printenv ehtaddr" to display the current setting.
the FAQ and I still don't know how to use gen_eth_addr tool to generate random addressed.I double kick the gen_eth_addr and nothing happend!
"Double kick"? This is qualtiy software which is not used to being kicked. It simply refuses to work under such rough treatment.
Be friendly, and just call the applicatioin by it's name:
-> cd tools -> ./gen_eth_addr 3e:55:7a:55:ef:d3 -> ./gen_eth_addr de:b0:7f:c9:4e:a9 -> ./gen_eth_addr 9a:17:0d:df:1f:4a
There you go...
Best regards,
Wolfgang Denk
participants (3)
-
Wolfgang Denk
-
zhonglei
-
朱 成