I followed these instructions to install Gentoo on my Raspberry PI 4B.
I can boot, connect to root, change my key mapping and start to finish installation.
But I have simply no network, at first output of « ip a » return that eth0 is DOWN, with no IP or what ever.
Weirdly, trying to write into /etc/resolv.conf was non allowed, nano saying the file is not found (?!, it is here !).
I was able to remove it, re-write it with the same values on my main system, being:
Code: Select all
# Generated by dhcpcd from enp8s0.dhcp, enp8s0.ra
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.254
nameserver fd0f:ee:b0::1
# /etc/resolv.conf.tail can replace this line
So I take the SystemD path, I created /etc/systemd/network/eth0.network, with this :
Code: Select all
[Match]
Name=eth0
[Network]
DNS=192.168.1.1
Address=192.168.1.102/24
Gateway=192.168.1.1The answer once I restart systemd-networkd service :
Code: Select all
localhost systemd-networkd[377]: lo: Gained carrier
localhost systemd-networkd[377]: eth0: Link UP
localhost systemd-networkd[377]: eth0: Gained carrier
localhost systemd-networkd[377]: eth0: Gained IPv6LL
localhost systemd-networkd[377]: Enumeration completed
localhost systemd[1]: Started Network Configuration.
localhost systemd-networkd[377]: eth0: found matching network '/etc/systemd/network/eth0.network', based on potentially unpredictable interface name.
localhost systemd-networkd[377]: eth0: Configuring with /etc/systemd/eth0.network.
localhost systemd-networkd[377]: eth0: Failed to configure DHCPv6 client: No such file or directory
localhost systemd-networkd[377]: eth0: Failed
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisk 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,UP,LOWER_UP> mtu 1500 qdisk mq state UP group default qlen 1000
link/ether dc:a6:32:43:c5:5e brd ff:ff:ff:ff:ff:ff
altname end0
inet6 fe80:dea6:32ff:fe43:c55e/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
Code: Select all
ip route ad 192.168.1.1/24 via 192.168.1.254
Code: Select all
Error: Invalid prefix for given prefix lenght.
Code: Select all
inet 192.168.1.44/24 metric 1024 brd 192.168.1.255 scope global dynamic brigde0Last words: The MAC address of this RPI4B is already known on this network and my ISP routeur gives it 192.168.1.102 when connecting. And yes, the ethernet wire is connected ! And I know the hardware is supposed to works, it was a few days back on Raspberry Pi OS. Everything else seems to works (USB, SD card etc).
Any ideas ?
Regards,
GASPARD DE RENEFORT Kévin

