>From: Paul Theodoropoulos <p...@anastrophe.com> >Sent: Sunday, September 13, 2020 6:11 PM >To: devel <devel@ntpsec.org> >Subject: Re: static IP setup in stratum-1 HOWTO > >The /etc/network/interfaces file, _in its default state upon installation_, is >written for use with dhcpcd. You can modify it however you like though. I >don't use dhcpcd, so: > >root@ A-ntpVIZ: ~ # systemctl stop dhcpcd && systemctl disable dhcpcd >root@ A-ntpVIZ: ~ # cat /etc/network/interfaces # interfaces(5) file used by >ifup(8) and ifdown(8) > ># Please note that this file is written to be used with dhcpcd # For static IP, >consult /etc/dhcpcd.conf and 'man dhcpcd.conf' > ># Include files from /etc/network/interfaces.d: >source-directory /etc/network/interfaces.d > >#auto wlan0 >#iface wlan0 inet static ># address 192.168.1.44 ># netmask 255.255.255.0 ># gateway 192.168.1.253 ># wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf ># wireless-power off ># dns-nameservers 192.168.1.44 192.168.1.13 > >auto eth0 >iface eth0 inet static > address 192.168.1.44 > netmask 255.255.255.0 > gateway 192.168.1.253 > dns-nameservers 192.168.1.44 192.168.1.13 > >That's really all you need.
Yah, that's the conclusion I came to, as well. I'll be using DNS server IP's rather than the server. Thanks to all for the clarifications. -wis > >On 9/13/2020 17:43 PM, James Browning via devel wrote: >> On Sun, Sep 13, 2020, at 5:12 PM Gary E. Miller via devel >> <devel@ntpsec.org> wrote: >>> Yo Wis! >>> >>> On Sun, 13 Sep 2020 15:47:19 -0700 >>> Wis Macomson via devel <devel@ntpsec.org> wrote: >>> >>>> For setting a static IP, the "Stratum-1-Microserver HOWTO" punts to >>>> the reference "[EAT-STATIC] Tutorial - How to give your Raspberry Pi >>>> a Static IP Address" >>> It all depends on what OS you are using. I use Gentoo on Raspberry Pi. >>> Gentoo uses /etc/conf/net >> Give that that blog post was 'updated' in 2014 I think both bit >> rotted.[1] The updated Debian handbook is at [2]. >> >>>> this file contains, for the stock, current Raspberry PI OS (uname -a: >>>> "Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST >>>> 2020 armv7l GNU/Linux"): >>> Sorry, I don't use that distro. Maybe a Debian person cal help. >> I am not a Debian person, but I imagine most of them would start >> suggesting you revert the changes and following the handbook. >> >> [1] >> https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-give-your-ras >> pberry-pi-a-static-ip-address-update >> [2] >> https://www.debian.org/doc/manuals/debian-handbook/sect.network- >config >> _______________________________________________ >> devel mailing list >> devel@ntpsec.org >> http://lists.ntpsec.org/mailman/listinfo/devel > >-- >Paul Theodoropoulos >www.anastrophe.com > _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel