Hi,
I am unable to ping the host through i.mx8mm board and also i have checked on the scope that packets are not getting transmitted from Processor TX/RX pin. what is the configuration that iam missing, i am unable to ping from uboot as well as from the linux kernel
root@imx8mmevk:~# ifconfig
eth0 Link encap:Ethernet HWaddr 02:01:02:03:04:05
inet addr:192.168.36.126 Bcast:192.168.36.255 Mask:255.255.255.0
inet6 addr: fe80::1:2ff:fe03:405/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2651 errors:0 dropped:0 overruns:0 frame:0
TX packets:2651 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:191868 (187.3 KiB) TX bytes:191868 (187.3 KiB)
root@imx8mmevk:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.36.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.36.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
root@imx8mmevk:~# [ 560.262908] fec 30be0000.ethernet eth0: Graceful transmit stop did not complete!
[ 560.270335] fec 30be0000.ethernet eth0: Link is Down
[ 560.324080] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 561.287018] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 561.294869] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
root@imx8mmevk:~# ping 192.168.36.136
PING 192.168.36.136 (192.168.36.136) 56(84) bytes of data.
[ 570.502790] random: crng init done
[ 570.506204] random: 7 urandom warning(s) missed due to ratelimiting
From 192.168.36.126 icmp_seq=1 Destination Host Unreachable
From 192.168.36.126 icmp_seq=2 Destination Host Unreachable
From 192.168.36.126 icmp_seq=3 Destination Host Unreachable
From 192.168.36.126 icmp_seq=4 Destination Host Unreachable
From 192.168.36.126 icmp_seq=5 Destination Host Unreachable
From 192.168.36.126 icmp_seq=6 Destination Host Unreachable
From 192.168.36.126 icmp_seq=7 Destination Host Unreachable
From 192.168.36.126 icmp_seq=8 Destination Host Unreachable
From 192.168.36.126 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.36.136 ping statistics ---
10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9205ms
pipe 4
Hey!
I have the same problem, however, i'm trying to ping using WiFi connection. The board is i.MX8M Plus EVK, release is: LF5.10.35_2.0.0. The route table and the output of ifconfig are presented inside the image.
PING 192.168.1.127 (192.168.1.127) 56(84) bytes of data.
From 192.168.1.245 icmp_seq=1 Destination Host Unreachable
From 192.168.1.245 icmp_seq=2 Destination Host Unreachable
From 192.168.1.245 icmp_seq=3 Destination Host Unreachable
It seems you have wrong routing table.
There should not be more than one default gateways (rules with 0.0.0.0 destination).
Please remove this one:
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
HI victor,
I used below command but its not getting removed, Please advice the command
root@imx8mmevk:~# route add -net 0.0.0.0 gw 0.0.0.0 dev eth0
root@imx8mmevk:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.36.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.36.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Sorry, there is a Typo error in the command in my perious reply,
I used below command but its not getting removed, Please advice the command
root@imx8mmevk:~# route del -net 0.0.0.0 gw 0.0.0.0 dev eth0
root@imx8mmevk:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.36.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.36.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Please try to run "route del -net 0.0.0.0" twice to remove both lines and then add one right.