by 4rt » Mon Nov 01, 2021 6:46 pm
So I tried networkd with no luck, it looks like after update my interfaces aren't even being recognized, for instance on fresh install:
resolvectl status
$this->bbcode_second_pass_code('', '
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: uplink
Fallback DNS Servers: 1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
Link 2 (eth0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
Link 3 (wlan0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
')
networkctl list
$this->bbcode_second_pass_code('', '
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configured
3 wlan0 wlan off unmanaged
3 links listed.
')
netstat -i
$this->bbcode_second_pass_code('', '
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 163 0 60 0 83 0 0 0 BMRU
lo 65536 0 0 0 0 0 0 0 0 LRU
')
after update (pacman -Syu)
resolvectl status
$this->bbcode_second_pass_code('', '
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Fallback DNS Servers: 1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10
2001:4860:4860::8888
')
networkctl list
$this->bbcode_second_pass_code('', '
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
1 links listed.
')
netstat -i
$this->bbcode_second_pass_code('', '
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
lo 65536 0 0 0 0 0 0 0 0 LRU
')
I tried to set networkd up by making the following file:
/etc/systemd/network/wired.network
$this->bbcode_second_pass_code('', '
[Match]
Name=eth0
[Network]
Address=192.168.1.227/24
Gateway=192.168.1.1
DNS=192.168.1.1
')
I noticed there was also /etc/systemd/network/en.network and /etc/systemd/network/eth.network and they had configs for a wired network interface as well, and I figured this may cause issues because they define the same interface so I renamed them just in case
Then I ran :
# systemctl start systemd-networkd.service
# systemctl enable systemd-networkd.service
# systemctl stop netctl
# systemctl disable netctl
and because documentation says you need to configuure systemd-resolved if uyou have a DNS entry I ran
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
as the files already existed I didnt need to create it I just ran ithe command to create the symlink as documentation recommends .
I tried this both before and after update and reboot but have had no luck.
So I have no idea why but I have tried this on different rpi4b's and CM4s as well as use different SD cards so it can't be hardware, is there something that may be subtle that i missed on documentation and that's causing me these issues? I mean I can't even get the default v8 package to boot I have to manually go and create my own and I don't see anyone else on the forum complaining about this, so it just feels like I'm missing something obvious or doing something wrong.