Two times the same MAC address on my Arduino Yun

Hi

I have an arduino yun that has two times the same MAC address:

eth1 Link encap:Ethernet HWaddr 90:A2:DA:F8:15:2E wlan0 Link encap:Ethernet HWaddr 90:A2:DA:F8:15:2E

That seems to make it difficult in a DHCP network (I'm not able to connect wirelessly, I only get an IP for the eth1-Interface). Is there a way to change the MAC address of one of the device.

Best regards, Dani

Found it:

Add

option macaddr '90:a2:da:f8:15:30'

to /etc/config/network --> choose the correct interface section, reboot, done.

Change ethernet macaddress:

nano /etc/config/network
...
config interface 'wan'
        option ifname 'eth1'
        option proto 'dhcp'
        option metric '10'
        option macaddr '90:A2:DA:F0:06:77'
/etc/init.d/network  restart

Change wifi macaddress:

nano /etc/config/wireless
...
config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'none'
        option ssid 'Arduino Yun-90A2DAF00676'
        option macaddr '90:A2:DA:F0:06:77'
wifi down && wifi up