I’m using a Pi4 with the latest version of Raspbian. I’m looking to set a static IP, and sure it does set, but I can’t access the internet. Can anyone assist? My dhcpcd.conf file looks like this at the bottom -
interface wlan0
static ip_address=192.168.1.24/8
static routers=192.168.0.1
static domain_name_servers 127.0.0.1 8.8.8.8
ip a&ip r. It is unlikely your WiFi isn't working, buteth0would have a lower metric, and be used for default routing. – Milliways Oct 10 '20 at 05:23/8netmask is incorrect as that includes 192.xxx.xxx.xxx addresses on the public internet. It should be/24. It can be anywhere between/16and/24if you really know what you're doing. – Dougie Oct 10 '20 at 11:26