NuttX icon indicating copy to clipboard operation
NuttX copied to clipboard

CANHUBK3 eth0 down, not able to ping

Open dirksavage88 opened this issue 1 year ago • 5 comments

The default state of eth0 is down, When issuing the command ifup eth0 the interface reports 'okay' but does not init. I am unable to ping out from the device.

ping_canhubk3

dirksavage88 avatar Apr 20 '24 22:04 dirksavage88

Netman manages the eth0 interface and turns it off automatically through link detection.

What network config does netman show?

PetervdPerk-NXP avatar Apr 21 '24 01:04 PetervdPerk-NXP

Hmm, so the ping works with dhcp when the connected to my router via T1 converter, but not able to ping the NavQ plus with a static IP.

dirksavage88 avatar Apr 21 '24 15:04 dirksavage88

Basically with dhcp it's able to connect and the link goes up, without dhcp and manually creating a net.cfg with static IP settings the link stays down even with 'ifup eth0'

dhcp_canhubk3

This is the net.cfg settings I am using to try to setup a static IP: netman_static

EDIT: I am using 10.0.0.x on the navq, but tried the user guide settings just be sure. I also used netplan on the navq plus and that link is showing up, but not able to ping canhubk3

dirksavage88 avatar Apr 21 '24 15:04 dirksavage88

Hi, can you show me the "defconfig" file?

DaShen96 avatar Jun 21 '24 07:06 DaShen96

Hi, can you show me the "defconfig" file?

https://github.com/dirksavage88/Firmware/blob/master/boards/nxp/mr-canhubk3/nuttx-config/nsh/defconfig

dirksavage88 avatar Jun 21 '24 12:06 dirksavage88