From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HooIl-0008Kz-Kf for garchives@archives.gentoo.org; Thu, 17 May 2007 22:18:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4HMHCeZ014106; Thu, 17 May 2007 22:17:12 GMT Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4HMCNwc008555 for ; Thu, 17 May 2007 22:12:23 GMT Received: from mail-in-14-z2.arcor-online.net (mail-in-14-z2.arcor-online.net [151.189.8.31]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 2C3602CB801; Fri, 18 May 2007 00:12:23 +0200 (CEST) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-14-z2.arcor-online.net (Postfix) with ESMTP id 16431100C7; Fri, 18 May 2007 00:12:23 +0200 (CEST) Received: from [10.0.0.34] (unknown [74.8.7.162]) (Authenticated sender: dralgebra@arcor.de) by mail-in-03.arcor-online.net (Postfix) with ESMTP id ADF8830A914; Fri, 18 May 2007 00:12:22 +0200 (CEST) From: Sascha Hlusiak To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: dhcpcd overwrites /etc/resolv.conf after CiscoVPN is started Date: Thu, 17 May 2007 18:12:07 -0400 User-Agent: KMail/1.9.6 Cc: Dan Johansson References: <200705171608.07447.Dan.Johansson@dmj.nu> <20070517093701.11b0d0af@pascal.spore.ath.cx> <200705171704.25324.Dan.Johansson@dmj.nu> In-Reply-To: <200705171704.25324.Dan.Johansson@dmj.nu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3096224.va6FUNPvd3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705171812.13764.saschahlusiak@arcor.de> X-Archives-Salt: 4906d082-90db-41fa-bf99-fd1329208a4f X-Archives-Hash: 9c294c865a7bb5f22ab2a33a235ec6ab --nextPart3096224.va6FUNPvd3 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > Dhcpcd has an option for that, i believe it's -R. for example, on this > > diskless router the dhcpcd on eth1 can't rewrite resolv.conf or the > > > > netboot will fail: > > >>>FROM conf.d/net: > > | > > | config_eth1=3D("dhcp") > > | dhcpcd_eth1=3D("-R") > > > > However, you may need to find some way to get that information filled > > out with your corporate intranet info before you use the vpn. > > Thanks for the suggestion, I allready know about -R but I need dhcpcd to > set resolv.conf before the vpnclient starts to get the correct information > for the network I'm on (not always using VPN). emerge resolvconf-gentoo This should manage the resolv.conf dynamically and merge information about= =20 different nameservers for different networks. Works fine for me with the ve= ry=20 same situation. =2D Sascha --nextPart3096224.va6FUNPvd3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) iD8DBQBGTNM9OyDtNneHFrMRArz3AJ9agTomAysmpCSO7GpFseesXlPetQCeKEB+ P+s+bsOt9/diJ6TL4wGyTJI= =nk5/ -----END PGP SIGNATURE----- --nextPart3096224.va6FUNPvd3-- -- gentoo-user@gentoo.org mailing list