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.

LAN port not initialized

Hi Experts,

In general Ubuntu desktop when the LAN cable connected to internet router is connected it will automatically establish internet connection form DHCP server.

How to establish the same way in AM335x EVM board using Linux SDK 7.0 through LAN cable from internet router ?

When I try to connect it receives packet and doesn't transmits any. Also how to connect to the specific ip  address through LAN ?

  • You can bring the eth0 interface up with the "ifup eth0" command. Then it will automatically ask the DHCP server for an IP address.

    If you wish to automatically bring the interface up when a cable is plugged you should try using the "netplug" daemon or the "ifplugd" daemon. I have never used these so this is as much as I can help.

    Useful information:
    http://superuser.com/questions/332968/how-to-configure-eth0-to-retry-dhclient-when-unplugged-and-replugged
    http://natisbad.org/dyn-net/index.html

    Best regards,
    Miroslav

  • Hi Lyf,

    In addition to Miroslav points,

    Also how to connect to the specific ip  address through LAN ?

    1) Try "udhcpd" to get IP address automatically from DHCP server.

    2) You can manually provide the IP address while you up the ethernet.

    target # ifconfig eth0 10.100.1.1 up