All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] how can I find Mac address under u-boot
@ 2005-05-12  2:32 zhonglei
  2005-05-12  3:20 ` 朱成
  2005-05-12  7:34 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: zhonglei @ 2005-05-12  2:32 UTC (permalink / raw)
  To: 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! 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] how can I find Mac address under u-boot
  2005-05-12  2:32 [U-Boot-Users] how can I find Mac address under u-boot zhonglei
@ 2005-05-12  3:20 ` 朱成
  2005-05-12  7:37   ` Wolfgang Denk
  2005-05-12  7:34 ` Wolfgang Denk
  1 sibling, 1 reply; 4+ messages in thread
From: 朱成 @ 2005-05-12  3:20 UTC (permalink / raw)
  To: u-boot

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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
-- 
??
?????
 
????????????
??: 021-64088898-6159
??: 021-54970876
Email: zhucheng at longcheer.net
?????????401?1??6?
???200233

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] how can I find Mac address under u-boot
  2005-05-12  2:32 [U-Boot-Users] how can I find Mac address under u-boot zhonglei
  2005-05-12  3:20 ` 朱成
@ 2005-05-12  7:34 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-05-12  7:34 UTC (permalink / raw)
  To: u-boot

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

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] how can I find Mac address under u-boot
  2005-05-12  3:20 ` 朱成
@ 2005-05-12  7:37   ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-05-12  7:37 UTC (permalink / raw)
  To: u-boot

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

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-12  7:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12  2:32 [U-Boot-Users] how can I find Mac address under u-boot zhonglei
2005-05-12  3:20 ` 朱成
2005-05-12  7:37   ` Wolfgang Denk
2005-05-12  7:34 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.