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


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

Re: resolv.conf problem

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.sys.raspberry-pi
Subject Re: resolv.conf problem
Date 2015-08-21 22:19 -0700
Organization A noiseless patient Spider
Message-ID <mr90mg$oqf$1@dont-email.me> (permalink)
References <ujZo2ABWt01VFwhY@ku.gro.lloiff> <d3p1vmFk0ffU12@mid.individual.net> <402dDfRr831VFwzp@ku.gro.lloiff>

Show all headers | View raw


On 8/21/2015 12:42, Adrian wrote:
> ps -A | grep -i dhc
>
> gives me different answers on different machines.  The Pi B+ (which is
> OK and on Ethernet) gives dhclient, whereas the Pi 2 (WiFi, not OK), has
> dhcpcd.
> Adrian

On the Pi running dhclient you set the DNS servers in 
/etc/network/interfaces.  On the Pi running dhcpcd you set the DNS 
servers in /etc/dhcpcd.conf.  But this is only for static addresses. 
For DHCP addresses, your router will supply your DHCP address and the 
DNS server address.  In any case you don't edit resolv.conf.

-- 

Knute Johnson

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


Thread

resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-21 17:01 +0100
  Re: resolv.conf problem Rob Morley <nospam@ntlworld.com> - 2015-08-21 17:12 +0100
    Re: resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-21 20:42 +0100
      Re: resolv.conf problem Roger Bell_West <roger+csrp201508@nospam.firedrake.org> - 2015-08-21 20:42 +0000
        Re: resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-21 22:32 +0100
  Re: resolv.conf problem ray carter <ray@zianet.com> - 2015-08-21 16:29 +0000
    Re: resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-21 20:42 +0100
      Re: resolv.conf problem Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-08-21 22:19 -0700
        Re: resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-22 20:42 +0100
          Re: resolv.conf problem Torfinn Ingolfsen <tingo@home.no> - 2015-08-23 20:57 +0200
            Re: resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-23 22:49 +0100
              Re: resolv.conf problem Morten Reistad <first@last.name.invalid> - 2015-08-24 10:42 +0200
                Re: resolv.conf problem "A. Dumas" <alexandre@dumas.fr.invalid> - 2015-08-24 11:12 +0200
                Re: resolv.conf problem Morten Reistad <first@last.name.invalid> - 2015-08-24 11:19 +0200
            Re: resolv.conf problem DisneyWizard the Fantasmic! <wiz@FANTASMIC!disneywizard.com> - 2015-08-23 20:25 -0700
              Re: resolv.conf problem Kees Theunissen <theuniss@rijnh.nl> - 2015-08-27 04:49 +0200
                Re: resolv.conf problem Adrian <bulleid@ku.gro.lioff> - 2015-08-27 20:35 +0100
                Re: resolv.conf problem "A. Dumas" <alexandre@dumas.fr.invalid> - 2015-08-28 09:16 +0200
                Re: resolv.conf problem Dave Higton <dave@davehigton.me.uk> - 2015-08-28 20:48 +0100
      Re: resolv.conf problem David <wibble@btintenet.com> - 2015-08-29 18:33 +0000
  Re: resolv.conf problem ray carter <ray@zianet.com> - 2015-08-21 16:34 +0000

csiph-web