2008-12-05 01:03:24     Problem with MAC Address

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2008-12-05 01:03:24     Problem with MAC Address

andy (UNITED STATES)

Message: 66373   

 

Am using BF537 module (CMBF537)  from bluetechnix. Here is the link in case more information is needed:

 

The environment variables on uboot show the following:

ethaddr:02:80:ad:20:31:b8

bootargs=root/dev/mtdblock0 ip=192.168.0.32:192.168.0.33:192.168.0.1:255.255.255.0:CMBF537:eth0 on

 

Upon booting the linux kernel I do not see any network interfaces. Hence I do an ifconfig upon boot everytime. And upon ifconfig I get a differenent MAC address everytime!! But the MAC address in uboot is always the same.

 

I want to avoid doing an ifconfig on boot everytime and also I need to get a constant MAC address as I have to register the mac address with the campus network. What is  causing the problem and how do I fix this?

QuoteReplyEditDelete

 

 

2008-12-05 01:10:37     Re: Problem with MAC Address

Mike Frysinger (UNITED STATES)

Message: 66374   

 

the CMBF537 has no MAC address.  it generates one randomly every time.  if you want a static one, define it yourself via bfin_get_ether_addr() in the kernel.  every board that uses the on-chip MAC must implement this.

QuoteReplyEditDelete

 

 

2008-12-05 23:53:46     Re: Problem with MAC Address

andy (UNITED STATES)

Message: 66434   

 

ok that worked thanks.

Attachments

    Outcomes