after giving command
root@dm3730-am3715-evm:~# ifup eth0
it showed already configured
root@dm3730-am3715-evm:~#ifconfig
i got only local ip address
i didn't got target evm address
how to find that or is there possible to set any ip address
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.
after giving command
root@dm3730-am3715-evm:~# ifup eth0
it showed already configured
root@dm3730-am3715-evm:~#ifconfig
i got only local ip address
i didn't got target evm address
how to find that or is there possible to set any ip address
I think you might posting to the wrong forum. Your question might fit better in the Embedded->Linux sub-forum. Some other details might be required. Are you using static addresses or DHCP? What are your bootargs? What is the contents of your /etc/network/interfaces file? Is the network actually working? Can you ping or tftp?
yes,it is DHCP.
BOOTARGS are
console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw ip=192.168.15.99 mem=99 mpurate=1000 omap_vout.vid1_static_vrfb_alloc=y omapfb.mode=dvi:720x480MR-16@60 omapdss.def_disp=lcd rootwait
Your bootargs assign a static address. For DHCP, use ip=dhcp. Does your bootup log messages show the network being configured? It's a few lines starting with "IP-Config: Complete:".
You can use the ifconfig to setup the network after boot. If it is already configured, first issue a ifdown. You might have to manually start a DHCP client. That varies with different Linux versions. I normally let the bootup setup the network.
karthik ,
karthik tata said:i didn't got target evm address
how to find that or is there possible to set any ip address
to get the IP address of the target, try:
> ifconfig | grep inet
to set an ipaddress, try:
> ifconfig eth0 <ip address>
thanks
ki