Page 1 of 1

Static IP Stretch

Posted: 31 Aug 2018, 17:33
by jenskastensson
Hi, I'm struggling with setting a static IP (Stretch core ) , what is the recommended method?
So far I have end up with " Temporary failure in name resolution" no matter what I do.
Thanks in advance
Jens

Re: Static IP Stretch

Posted: 01 Sep 2018, 09:34
by Wulf
There are several ways.
* setup a static lease in your dhcp server.
* setup /etc/network/interfaces. You would need an option like "dns-nameservers 10.20.30.40 10.11.12.13" in your eth0 block.
* setup /etc/dhcpcd.conf instead. Search for "Example static IP configuration".