Hello Mar,
yes, for such cases there is an alternative way of doing it, as this user has also done: New user, static not connecting after setting static ip - #2 by smokie
This is the complete procedure:
SSH into the Shake (guide here: How to access your Raspberry Shake’s computer via ssh — Instructions on Setting Up Your Raspberry Shake)
Once you’re in, copy and paste these commands (this example is for Cloudflare DNS, but you can put 8.8.8.8 for Google DNS if you want):
sudo echo 'static domain_name_servers=1.1.1.1 1.0.0.1' >> /etc/dhcpcd.conf
sudo service dhcpcd restart
Now make sure those changes took hold:
nano /etc/resolv.conf
The file should look like the following:
# Generated by resolvconf
nameserver 1.1.1.1
nameserver 1.0.0.1
You should not need to restart, these changes will take effect immediately, but if you want, you can still do it.