We are using i.Mx 8M Mini (dual core) with KSZ9021RN Gigabit Ethernet Transceiver ( with RGMII Support). We are able to see Ethernet eth0 interface using ifconfig command
root@arm:/home/ubuntu# ifconfig eth0
eth0: flags=-28669<UP,BROADCAST,MULTICAST,DYNAMIC> mtu 1500
ether 00:04:9f:06:b0:c3 txqueuelen 1000 (Ethernet)
RX packets 594 bytes 100614 (100.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 973 bytes 93941 (93.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
When we try to configure the IP address using the command dhclient -v eth0 its not getting IP address assigned. We are getting below error.
root@arm:/home/ubuntu# dhclient -v eth0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
can't create /var/lib/dhcp/dhclient.lea[ 1072.450761] fec 30be0000.ethernet eth0: Unable to connect to phy
ses: No such file or directory
RTNETLINK answers: No such device
Listening on LPF/eth0/2a:c0:0b:02:29:81
Sending on LPF/eth0/2a:c0:0b:02:29:81
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x23982f6b)
send_packet: Network is down
dhclient.c:2569: Failed to send 300 byte long packet over eth0 interface.
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 (xid=0x23982f6b)
send_packet: Network is down
dhclient.c:2569: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 (xid=0x23982f6b)
send_packet: Network is down
dhclient.c:2569: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 (xid=0x23982f6b)
send_packet: Network is down
dhclient.c:2569: Failed to send 300 byte long packet over eth0 interface.
Working around this issue, still we are getting same error. Need immediate support.