Eth0 disabled, how to enable?

Hi guys,

For two days I have been trying to make Ethernet 0 work, present on the FPC24 connector (pins 2,3,4,5) but I have not yet managed to enable it.

I’m currently using image on SD from: BPI-M4_Zero Debian version: 2023-12-22 Bpi-m4zero_1.0.0_debian12_bookworm_minimal_linux6.1.31

I have connected the bpi M4-zero to a custom PCB with LAN9514 which provides eth1 and 4xUSB. eth1 and USBs work correctly.

I then connected an RJ45 connector through the 4 pins of the eth0. Pins 2,3,4,5 of the fpc connector (you can check here: BPI-M4_Zero )

I removed the predictable name usage on network interfaces, so they are called eth0, eth1…

The reply to command: sudo lshw -C network

root@bpi-m4zero:~# sudo lshw -C network
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: e
       logical name: eth0
       serial: 5a:db:ef:e7:3b:c7
       capabilities: ethernet physical
       configuration: broadcast=yes multicast=yes
       description: Ethernet interface
       physical id: f
       bus info: usb@3:1.1
       logical name: eth1
       serial: ae:6a:a3:29:c0:cf
       size: 100Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autone                                                                                                             gotiation
       configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverver                                                                                                             sion=6.1.31-sun50iw9 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=192.168.1                                                                                                             .95 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       description: Wireless interface
       physical id: 10
       bus info: usb@1:1
       logical name: wlan0
       serial: 98:03:cf:62:40:89
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821cu driverversion=v5.12.0-16-g5                                                                                                             229e7f95.20210118_ firmware=24.8 link=yes multicast=yes wireless=unassociated

I can’t activate eth0 please help me

The problem was in the image. Updating to version Banana Pi 1.0.1 Bookworm with Linux 6.1.31-sun50iw9 works.