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


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

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-01 21:45 +0100
Organization $CABAL
Message-ID <c30e6cx3hc.ln2@news.ducksburg.com> (permalink)
References <h02d6cxhq.ln2@news.ducksburg.com> <vcUkx.5092$F62.4080@fx05.am4>

Show all headers | View raw


On 2015-07-01, Dom wrote:

> On 01/07/15 13:11, Adam Funk wrote:
>> I have a Pi using only the /boot partition on the SD card, with
>> /boot/cmdline.txt set to mount / from a partition on the external USB
>> drive, & I edited /etc/network/interfaces to use a fixed IP address on
>> the LAN.  But I've noticed that when I reboot it, it comes up with a
>> DHCP address first, then changes to the fixed IP.  What have I done
>> wrong, & how do I fix it?
>>
>> Thanks.
>>
> Remove or disable the dhcpdc package. It's a recent addition to the 
> Rasbian images and tends to ignore the interfaces file and do its own thing.
>
> It's fine for the average user who uses the desktop and sets up 
> networking via the GUI, but just gets in the way when you want to do 
> things yourself.

Thanks.  Is removing it likely to break anything?  

I've never connected a keyboard, mouse, or monitor to this Pi --- I
just used dd to put the image on the SD card, put that in the Pi,
started it up, found it on the LAN (with a DHCP address) and used ssh
to do the rest (obviously changing the default password first...).
And I'd like to not have to dig out a spare keyboard (& so on) later
if it doesn't connect according to the static LAN IP for some reason.


-- 
I used to be better at logic problems, before I just dumped
them all into TeX and let Knuth pick out the survivors.
                                               -- plorkwort

Back to comp.sys.raspberry-pi | Previous | NextNext 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