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


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

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

From Adam Funk <a24061@ducksburg.com>
Newsgroups comp.sys.raspberry-pi
Subject Re: Raspbian boots to a DHCP address first, then the fixed IP
Date 2015-07-02 20:56 +0100
Organization $CABAL
Message-ID <ojhg6cxnt8.ln2@news.ducksburg.com> (permalink)
References (2 earlier) <c30e6cx3hc.ln2@news.ducksburg.com> <FV3lx.4959$PN7.2184@fx38.am4> <be2g6cxdt3.ln2@news.ducksburg.com> <46dg6cxgd7.ln2@news.ducksburg.com> <slrnmpb4bb.tq1.nomail@xs8.xs4all.nl>

Show all headers | View raw


On 2015-07-02, Rob wrote:

> 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.

I saw some stuff on the WWW to that effect, but I wasn't sure it would
work on Raspbian, & I've already made a couple of mistakes by trying
stuff that works on Ubuntu (e.g., /usr/bin/sensible-editor) without
double-checking first!


-- 
svn ci -m 'come back make, all is forgiven!' build.xml

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