Skip to contentSkip to conversation

how can I find Mac address under u-boot

U-Boot-Users zhonglei 3 participants 4 messages May 12, 2005

lore
Share & tools
lore

zhonglei

author
#0 lore raw

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!

#1 lore raw

You can "setenv ethaddr *****" under u-boot or set random address on kernel ether driver.

? 2005-05-12?? 10:32 +0800?zhonglei???

Quoted 13 lines

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 at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Signature · 9 lines
??
?????
 
????????????
??: 021-64088898-6159
??: 021-54970876
Email: zhucheng at longcheer.net
?????????401?1??6?
???200233
#2 lore raw
Quoted 2 lines · 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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Dear Lord: I just want *one* one-armed manager so  I  never  have  to
hear "On the other hand", again.
#3 lore raw
In reply to zhonglei
Quoted 1 line · In message <[email protected]> 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.

Quoted 3 lines

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

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
One of the advantages of being a captain is being able to ask for ad-
vice without necessarily having to take it.
	-- Kirk, "Dagger of the Mind", stardate 2715.2