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 1HsjiH-0006xy-Lk for garchives@archives.gentoo.org; Mon, 28 May 2007 18:13:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4SIBiXv006741; Mon, 28 May 2007 18:11:44 GMT Received: from mail14.bluewin.ch (mail14.bluewin.ch [195.186.19.62]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4SI6vcf001239 for ; Mon, 28 May 2007 18:06:57 GMT Received: from dmj.nu (85.1.75.32) by mail14.bluewin.ch (Bluewin 7.3.121) id 46499DA2002CE2BC for gentoo-user@lists.gentoo.org; Mon, 28 May 2007 18:06:57 +0000 Received: from queen.dmj.nu (queen.dmj.nu [192.168.1.11]) by dmj.nu with esmtp; Mon, 28 May 2007 20:06:56 +0200 id 000000000000152B.00000000465B1A40.000031EE From: Dan Johansson To: gentoo-user@lists.gentoo.org Subject: Re: SOLVED - [gentoo-user] OT: dhcpcd overwrites /etc/resolv.conf after CiscoVPN is started Date: Mon, 28 May 2007 20:06:48 +0200 User-Agent: KMail/1.9.5 References: <200705171608.07447.Dan.Johansson@dmj.nu> <200705171704.25324.Dan.Johansson@dmj.nu> <200705171812.13764.saschahlusiak@arcor.de> In-Reply-To: <200705171812.13764.saschahlusiak@arcor.de> X-message-flag: Using Microsoft software might be a security risk 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="nextPart3528022.Yvb0SnFPnZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705282006.55543.Dan.Johansson@dmj.nu> X-Archives-Salt: 8713ca27-991b-404b-9981-b81333dc6b53 X-Archives-Hash: 3d9277e49368e392b2a75bb85f9ddf9e --nextPart3528022.Yvb0SnFPnZ Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 18 May 2007 00:12, Sascha Hlusiak wrote: > > > Dhcpcd has an option for that, i believe it's -R. for example, on th= is > > > 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 > different nameservers for different networks. Works fine for me with the > very same situation. Sorry for the late Answer - I was over in the States last week. Thanks for the tipp, It's working now. Greatings, =2D-=20 Dan Johansson, *************************************************** This message is printed on 100% recycled electrons! *************************************************** --nextPart3528022.Yvb0SnFPnZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGWxo4F+s3Ki+4lK0RAmtEAKCEdXlah2/eL4SPHeBCjdxwOWTGrACgo7hq QB6uf9G5CGysm6g4E1GbHPI= =8QfJ -----END PGP SIGNATURE----- --nextPart3528022.Yvb0SnFPnZ-- -- gentoo-user@gentoo.org mailing list