Hayo!
I can’t seem to get a ping from the conection (PC1 to PC2 directly connected with a CAT5 factory cable), but arping does just fine.
The pocedure as follows: connect PC1 to PC2 via ethernet; start udhcpd on PC1; start udhcpc on PC2; confirm dhcp OFFER and ACK on PC1; confirm address on PC2; ping in either direction (PC1: 100% packet loss, PC2: Network Unreachable)
Note: manually setting IPs results in the above, sans, dhcp.
I am not sure what is wrong as this has worked before as is, and I have no idea where to even begin to debug this.
I have also read the Arch wiki regarding networks and ad-hoc though since I’m using Artix on PC1 and busybox/Linux on PC2, it only marginally applies, I have also read articles and manuals without systemd, which I do not remember the referances to.
The reason I’m even trying is to have PC2 as a NAS/IP-USB expansion hub/whatever else I come up with
I also tried to ping -I eth0 addr without success, perhaps /etc/resolv.conf on PC1 might be culprit as the nameserver is governed by dhcpcd as my internet connection is on usb
# routel
Dst Gateway Prefsrc Protocol Scope Dev Table
default 192.168.114.214 192.168.114.220 dhcp usb0
127.0.0.0/8 127.0.0.1 lo
192.168.1.0/24 192.168.1.1 kernel link eth0
192.168.114.0/24 192.168.114.220 dhcp link usb0
127.0.0.0/8 127.0.0.1 kernel host lo local
127.0.0.1 127.0.0.1 kernel host lo local
127.255.255.255 127.0.0.1 kernel link lo local
192.168.1.1 192.168.1.1 kernel host eth0 local
192.168.1.255 192.168.1.1 kernel link eth0 local
192.168.114.220 192.168.114.220 kernel host usb0 local
192.168.114.255 192.168.114.220 kernel link usb0 local
is on PC1 while PC2 route is empty
I’ll try disabling dhcpcd and see if something works
Note: ip a on PC1 shows the expected 192.168.1.1/24 however on PC2 it’s 192.168.1.150/0; differing subnets if I’m reading this right: https://superuser.com/a/1724094/1719820