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.

AM5728: Ethernet issue

Part Number: AM5728

Hello,

          I am using "ti-processor-sdk-linux-am57xx-evm-04.02.00.09" SDK on AM5728 EVM board.

I have connected ether-net cable on board and i can also check IP-ADDRESS but i could not access Internet or ping to any site.

Any configuration required for Internet?

Thanks and Regards,

Kishan Patel.

  • Hi,

    There is not any configuration necessary, network connectivity should work out of the box. The AM5728 evm has a stack ethernet connector. eth0 is the bottom port, eth1 is the top port. Which port are you plugged into? Also please attach the results of ethtool eth0 and ethtool eth1 and ifconfig.

    Best Regards,
    Schuyler
  • Hello,

               Please check the below log of "ifconfig" and "ethtooleth0".

    root@am57xx-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr A4:D5:78:BE:BC:32  
              inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::a6d5:78ff:febe:bc32%763860/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:17 errors:0 dropped:0 overruns:0 frame:0
              TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1694 (1.6 KiB)  TX bytes:8258 (8.0 KiB)
              Interrupt:97

    eth1      Link encap:Ethernet  HWaddr A4:D5:78:BE:BC:33  
              inet6 addr: fe80::a6d5:78ff:febe:bc33%763860/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:36 errors:0 dropped:0 overruns:0 frame:0
              TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3462 (3.3 KiB)  TX bytes:7903 (7.7 KiB)

    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1%763860/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:3582 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3582 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1
              RX bytes:278093 (271.5 KiB)  TX bytes:278093 (271.5 KiB)

    root@am57xx-evm:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: Symmetric
            Advertised auto-negotiation: Yes
            Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                                 100baseT/Half 100baseT/Full
            Link partner advertised pause frame use: Symmetric Receive-only
            Link partner advertised auto-negotiation: Yes
            Speed: 100Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 1
            Transceiver: external
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
                                   
            Link detected: yes

    Thanks and Regards,

    Kishan Patel.

  • Hi,

    I apologize believe I misunderstood your original post. I thought you were having trouble getting an ip address on your local network.

    TI is not able to support local network to internet setup as there are several steps that are needed in configuring access such as including firewalls and proxies needed for accessing the internet inside a corporate environment. I have assumed here that is your current environment.

    Currently the only suggestion I can offer is to look at examples of setting up proxies for a userspace that uses systemD for network management. I am assuming here that you are using the file system with the TI SDK which uses systemD for user space setup.

    Best Regards,
    Schuyler
  • Hello Schuyler,

               Ohk.

               So, do you know require configuration to access internet?

    Thanks and Regards,

    Kishan Patel.

  • Hello,
    If i want to access the internet what should i do after connecting Ethernet.
    Regards,
    Kishan Patel.
  • Hi,

    Per what I was mentioning in the previous post this is something unfortunately TI cannot support. There is network management configuration required to access the internet especially if behind a corporate firewall. These configurations will be unique to your local network. This is not a low level driver issue but a higher level network access issue that will involve setting up proxies and resolving DNS sources. You be should be able to look for systemD examples that can show you how to configure your system. Also to my understanding ICMP messages (pings) do not cross proxies servers.

    Regards,
    Schuyler
  • Hello,

              Actually i have no idea about what you are saying.

    I just want to clarify one thing here is that we have not set-up any wirefall in network.

    All system can easily access the Internet by connect the LAN.

    Thanks and Regards,

    Kishan Patel.

  • Hi,

    Essentially explaining it another way is that TI only supports Ethernet driver support and it's connection to a local subnet. TI does not test the SDK and drivers beyond this network topology. That is OK if your setup does not use a firewall because that could relieve the proxy issue but as per the previous post TI does not support configuring the files necessary such as defining the source of the DNS server to access through a gateway.

    The file system that ships with the SDK is using SystemD for network management. We don't have any examples we can offer on configuration so the only suggestion I can offer is to look at SystemD configuration examples for setting internet access.

    Best Regards,
    Schuyler
  • Hello,
    Finally,I can ping any system using "DNS".
    I have done following steps to get access internet and ping system using DNS(ping google.com):

    >execute command: "vi /etc/resolv.conf"
    >now enter follow details and save file

    nameserver 8.8.8.8
    nameserver 127.0.1.1
    nameserver 8.8.4.4
    nameserver 120.136.32.62
    nameserver 120.136.32.63
    nameserver 69.20.0.164
    nameserver 69.20.0.196
    nameserver 83.138.151.80
    nameserver 83.138.151.81
    nameserver 173.203.4.8
    nameserver 173.203.4.9
    nameserver 72.3.128.240
    nameserver 72.3.128.241
    nameserver 119.9.60.62
    nameserver 119.9.60.63

    >Now, we can access internet.

    Please, check the below link.It can be also helpful.
    support.rackspace.com/.../

    Regards,
    Kishan Patel.