Open zapwong opened 5 years ago
The eth0 script will read the RPI dhcp config and static it with wrong gateway and subnet setting if your gateway is not on .1 and subnet is not /24.
For example, your Rpi gateway get a dhcp ip for 172.16.9.3 The script will set your Rpi eth0 config as follow: IP: 172.16.9.3 Gateway: 172.16.9.1
If fact, my gateway is 172.16.8.1. So the common scenario is you got the gateway software compiled then your gateway cannot reach internet.
Solution is to revert or correct the eth0 setting in /etc/dhcpcd.conf
The eth0 script will read the RPI dhcp config and static it with wrong gateway and subnet setting if your gateway is not on .1 and subnet is not /24.
For example, your Rpi gateway get a dhcp ip for 172.16.9.3 The script will set your Rpi eth0 config as follow: IP: 172.16.9.3 Gateway: 172.16.9.1
If fact, my gateway is 172.16.8.1. So the common scenario is you got the gateway software compiled then your gateway cannot reach internet.
Solution is to revert or correct the eth0 setting in /etc/dhcpcd.conf