This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to Permanently write Mac address

Hi,

I am using Dm6467 procesor, i have connected my borad to the ethernet and am able to transfer the file using tftp.

Sending DHCP requests ......, OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.100.26.84
IP-Config: Complete:
      device=eth0, addr=10.100.26.84, mask=255.255.255.0, gw=10.100.26.12,
     host=10.100.26.84, domain=hclt.corp.hcl.in, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=

am getting ip using the DHCP. after loading everything, when i type ping "some ip in the netwk", it says destination host is unreachable.

if i type am getting ifconfig eth0, am getting like this,

eth0      Link encap:Ethernet  HWaddr 00:0E:99:01:02:05
          inet addr:10.100.26.84  Bcast:10.100.26.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:711 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:86840 (84.8 KiB)  TX bytes:5934 (5.7 KiB)
          Interrupt:24

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.100.26.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

the only difference i see here is my mac id,beacuse i ahve given mac id as different in the bootcmnds.

but i cant able to change the mac id here using ifconfig.

 

i tried like this,

ifconfig eth0 down

ifconfig eth0 hw ether "mac id"", but am getting like this.

emac_control:4867[0]ioctl called when device is NOT open<3>ERROR: davinci_emac:
eth0 error: Error 3000000E from EMAC TX Channel Open()
SIOCSIFHWADDR: Input/output error

i am not sure why coming like this.  want to chnage the mac id permanently, while bootup it should take up correct mac id .

would anyone provide the valuable suggestion??

 

 

thanks,

Balaji S