Skip to main content
You can use the following log types to log and debug issues related to Ethernet.
Log typePurpose
dmesgDebug issues related to the kernel driver
tcpdumpVerify the packet transfer
To debug the issues that may occur during Ethernet bringup, do the following:
  1. Collect the dmesg logs to debug the issues related to kernel driver.
    dmesg > /var/log/dmesg_logs.txt
    
  2. Collect the tcpdump logs to verify the packet transfer.
    tcpdump -i any -s 0 -w /var/log/tcpdump.pcap
    
  3. Pull the file after the test.
    scp root@<device_ip_address>:/var/log/tcpdump.pcap .
    
    scp root@<device_ip_address>:/var/log/dmesg_logs.txt .
    
    When prompted for a password, enter oelinux123 to authenticate the file transfer via SCP.
  4. Collect the output from ethtool, ifconfig, netstat, and IP route tables for debugging. For more information about these tools and their operations, see Perform Ethernet operations.