Support for NanoPi R2C?

Hello,

Just to inform you, I tried your command that modifies the file /boot/dietpiEnv.txt but it still doesn’t work. However, there is a difference before and after.

IP A :

root@DietPi:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 42:f4:2c:62:dd:5b brd ff:ff:ff:ff:ff:ff
    altname end0
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 42:f4:2c:62:dd:7b brd ff:ff:ff:ff:ff:ff
    inet 10.23.2.127/24 brd 10.23.2.255 scope global dynamic eth1
       valid_lft 42768sec preferred_lft 42768sec
    inet6 fe80::40f4:2cff:fe62:dd7b/64 scope link
       valid_lft forever preferred_lft forever

Before the command :

root@DietPi:~# dhclient eth0
RTNETLINK answers: No such device
^C

After the command :

root@DietPi:~# dhclient eth0
RTNETLINK answers: Connection timed out
^C

Journalctl :

Mar 04 14:44:01 DietPi kernel: rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
Mar 04 14:44:01 DietPi kernel: yzhang..read phyaddr=3, phyid=0000011a
Mar 04 14:44:01 DietPi kernel: yt8521_config_init, 8521 init call out.
Mar 04 14:44:01 DietPi kernel: rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:03] driver [YT8521 Ethernet] (irq=POLL)
Mar 04 14:44:01 DietPi kernel: rk_gmac-dwmac ff540000.ethernet: Failed to reset the dma
Mar 04 14:44:01 DietPi kernel: rk_gmac-dwmac ff540000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
Mar 04 14:44:01 DietPi kernel: rk_gmac-dwmac ff540000.ethernet eth0: __stmmac_open: Hw setup failed
Mar 04 14:44:01 DietPi dhclient[1094]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Mar 04 14:44:01 DietPi dhclient[1094]: send_packet: Network is down
Mar 04 14:44:01 DietPi dhclient[1094]: dhclient.c:2600: Failed to send 300 byte long packet over eth0 interface.
Mar 04 14:44:01 DietPi dhclient[1094]: receive_packet failed on eth0: Network is down

1 Like