From: Dan Farrell <dan@spore.ath.cx>
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 09:37:01 -0500 [thread overview]
Message-ID: <20070517093701.11b0d0af@pascal.spore.ath.cx> (raw)
In-Reply-To: <200705171608.07447.Dan.Johansson@dmj.nu>
On Thu, 17 May 2007 16:08:00 +0200
Dan Johansson <Dan.Johansson@dmj.nu> wrote:
> I'm having some trouble with dhcpcd and CiscoVPN. This is what I do
> and what's happening.
>
> Computer starts and brings up eth1 (Wireless interface)
> dhcpcd starts and gets IP, GW, resolv.conf information (wich is
> correct at this time)
> cisco-vpnclient-starts and I get a new interface cipsec0 with "VPN"-IP
> the vpn-client also changes the default-gw and resolv.conf
> I can now do dnslookups for the hosts in the company network
> (resolv.conf is the on from the company).
> After a few minutes resolv.conf gets overwritten with the dhcpcd
> version, and I can no longer do any lookups for hosts in the company
> network, I can still connect to the hosts using IP.
> Any suggestions on how to make dhcpcd not to override the resolv.conf
> from the cisco-vpn-client?
>
> Regards,
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=("dhcp")
| dhcpcd_eth1=("-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.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-05-17 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 14:08 [gentoo-user] OT: dhcpcd overwrites /etc/resolv.conf after CiscoVPN is started Dan Johansson
2007-05-17 14:37 ` Dan Farrell [this message]
2007-05-17 15:04 ` Dan Johansson
2007-05-17 22:12 ` Sascha Hlusiak
2007-05-28 18:06 ` SOLVED - " Dan Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070517093701.11b0d0af@pascal.spore.ath.cx \
--to=dan@spore.ath.cx \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox