Static IP Stretch

Topics about the Software of Revolution Pi
Post Reply
jenskastensson
Posts: 40
Joined: 27 Feb 2018, 15:47

Static IP Stretch

Post 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
Wulf
Posts: 25
Joined: 01 Nov 2017, 11:49

Re: Static IP Stretch

Post 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".
Post Reply