Autore: g4sra Data: To: dng@lists.dyne.org Oggetto: Re: [DNG] Refracta have a static IP
On Tuesday, July 13th, 2021 at 9:41 PM, Steve Litt <slitt@???> wrote:
> Hi all,
> I'm trying to make my new Chimera based Refracta have a static IP
> address at 192.168.0.199/24, in order that every other computer on the
> 192.168.0.0/24 subnet can easily access it, and so I can put it on my
> LAN DNS.
> So I made my /etc/network/interfaces look like the following, which
> follows the guidelines of "man interfaces":
> =====================================================================================================================
> auto lo
> iface lo inet loopback
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.0.199
> gateway 192.168.0.1
> =====================================================================================================================
> Unfortunately, instead of the IP address being 192.168.0.199, it's a
> DHCP supplied 192.168.0.204 . What additional steps must I take to get
> my desired 192.168.0.199?
> Additional note: When I used 192.168.0.40, which I KNOW is not in my
> leased DHCP range, the result was the same. What must I do to get a
> static IP at 192.168.0.199/24 ? > Thanks,
> SteveT
What does the following show (everythingish installed that triggers dhclient)
for P in $(dpkg -l | grep dhcp); do apt-cache rdepends $P 2>/dev/null | grep '|' ; done
If 'NetworkManager' rears its head.....purge with prejudice would be my advice.