can not change mac address of mini2440

bao
Hello,

I searched on the forum and there is a similar thread, but it could not
help me.

I would like to change the MAC address of my mini2440, because I have more
than 2 working on the same network, and they all have the famous HWaddr
08:90:90:90:90:90

First, I changed the athaddr in u-boot, but after booting, the MAC addr
remained the same (08:90:90:90:90:90).

I then tried to change it within linux, but could not:

# ifconfig eth0 down
# eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
/eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

# /etc/init.d/S40network stop
Stopping network...# eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

# ifconfig eth0 hw ether 00:80:48:BA:d1:30
ifconfig: SIOCSIFHWADDR: Device or resource busy
# 

I plugout the cable to make the connection down
# eth0: link down

# ifconfig eth0 hw ether 00:80:48:BA:d1:30
ifconfig: SIOCSIFHWADDR: Device or resource busy
# /etc/init.d/S40network stop
Stopping network...ifdown: interface lo not configured
ifdown: interface eth0 not configured
# ifconfig eth0 hw ether 00:80:48:BA:d1:30
ifconfig: SIOCSIFHWADDR: Device or resource busy
# 

Would any one have any idea to help me?

Thank you very much

ysaucedo
is too easy; the IP, Mask, Gateway, DNS and MAC Adress is in file
/etc/eth0-setting
Edit file with vi command and reboot

Regards!

bao
Thanks ysaucedo,

There are no /etc/eth0-setting. I modified /etc/network/interfaces instead,
but no sucess.