Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9024

Re: Raspbian boots to a DHCP address first, then the fixed IP

Newsgroups comp.sys.raspberry-pi
From Rob <nomail@example.com>
Subject Re: Raspbian boots to a DHCP address first, then the fixed IP
References (1 earlier) <vcUkx.5092$F62.4080@fx05.am4> <c30e6cx3hc.ln2@news.ducksburg.com> <FV3lx.4959$PN7.2184@fx38.am4> <be2g6cxdt3.ln2@news.ducksburg.com> <46dg6cxgd7.ln2@news.ducksburg.com>
Message-ID <slrnmpb4bb.tq1.nomail@xs8.xs4all.nl> (permalink)
Date 2015-07-02 19:30 +0000

Show all headers | View raw


Adam Funk <a24061@ducksburg.com> wrote:
> On 2015-07-02, Adam Funk wrote:
>
>> On 2015-07-02, Dom wrote:
>
>>> Removing it will also remove a package called "raspberrypi-net-mods", 
>>> which annoyingly claims that file as one of it's configuration files. If 
>>> you use the "purge" option of apt-get, it will delete your 
>>> /etc/network/interfaces file!
>>
>> Aha, I figured out how to disable it without removing the package:
>> edit /etc/dhcpcd.conf (that is a difficult filename to type
>> correctly!) to add these two lines:
>>
>> nodhcp
>> nodhcp6
>
> Oops, it turns out that doing that hoses the resolver.  I could ssh
> into the pi but it couldn't contact anything else.  I also needed to
> add a name_servers="..." line to /etc/resolvconf.conf and run
> 'resolvconv -u'.

You can put the nameservers in /etc/network/interfaces as well.

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Raspbian boots to a DHCP address first, then the fixed IP Adam Funk <a24061@ducksburg.com> - 2015-07-01 21:45 +0100
  Re: Raspbian boots to a DHCP address first, then the fixed IP Rob <nomail@example.com> - 2015-07-01 21:06 +0000
    Re: Raspbian boots to a DHCP address first, then the fixed IP Adam Funk <a24061@ducksburg.com> - 2015-07-02 10:16 +0100
      Re: Raspbian boots to a DHCP address first, then the fixed IP Rob <nomail@example.com> - 2015-07-02 12:12 +0000
  Re: Raspbian boots to a DHCP address first, then the fixed IP Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-01 22:12 +0000
    Re: Raspbian boots to a DHCP address first, then the fixed IP Adam Funk <a24061@ducksburg.com> - 2015-07-02 10:32 +0100
      Re: Raspbian boots to a DHCP address first, then the fixed IP The Natural Philosopher <tnp@invalid.invalid> - 2015-07-02 10:53 +0100
  Re: Raspbian boots to a DHCP address first, then the fixed IP Adam Funk <a24061@ducksburg.com> - 2015-07-02 19:40 +0100
    Re: Raspbian boots to a DHCP address first, then the fixed IP Rob <nomail@example.com> - 2015-07-02 19:30 +0000
      Re: Raspbian boots to a DHCP address first, then the fixed IP Adam Funk <a24061@ducksburg.com> - 2015-07-02 20:56 +0100
        Re: Raspbian boots to a DHCP address first, then the fixed IP Dom <domafp@blueyonder.co.uk> - 2015-07-03 06:16 +0100

csiph-web