Ping from Ubunu to imx8qm doesn't work using cdc_ncm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ping from Ubunu to imx8qm doesn't work using cdc_ncm

895 Views
amit251291
Contributor IV

I have enabled CDC_NCM gadget and i could see that its getting loaded.

After assigning static IP address on imx8qm-mek platform & host ubuntu, i was able to ping to Ubuntu host.

However ping from Ubuntu host to imx8qm-mek doesn't work.

Could you please help me ?

Here are my logs:

Ping from MEK to Ubuntu:

mek_8q:/ # ping -I usb0 192.168.100.15
PING 192.168.100.15 (192.168.100.15) from 192.168.100.10 usb0: 56(84) bytes of data.
64 bytes from 192.168.100.15: icmp_seq=1 ttl=64 time=41.0 ms
64 bytes from 192.168.100.15: icmp_seq=2 ttl=64 time=18.7 ms
64 bytes from 192.168.100.15: icmp_seq=3 ttl=64 time=31.7 ms
64 bytes from 192.168.100.15: icmp_seq=4 ttl=64 time=28.0 ms
^C
--- 192.168.100.15 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 18.745/29.896/41.007/7.980 ms

Ping from Ubuntu to MEK:

Ubuntu:~/Source$ ping -I enp0s6u2 192.168.100.10
PING 192.168.100.10 (192.168.100.10) from 192.168.100.15 enp0s6u2: 56(84) bytes of data.
^C
--- 192.168.100.10 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1017ms

Interfaces on MEK:

pastedImage_13.png

Interfaces on Ubuntu:

pastedImage_17.png

0 Kudos
2 Replies

826 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi Amit Kulkarni,

I think you can build ip route in your imx8qm.The following  url is about how to do that.You can try with it.

https://www.cyberciti.biz/faq/linux-route-add/

Best regards,

Zhiming

0 Kudos

826 Views
amit251291
Contributor IV

Dear Team,

Any suggestions here ?

0 Kudos