From: Dan Johansson <Dan.Johansson@dmj.nu>
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 [thread overview]
Message-ID: <200705282006.55543.Dan.Johansson@dmj.nu> (raw)
In-Reply-To: <200705171812.13764.saschahlusiak@arcor.de>
[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]
On Friday 18 May 2007 00:12, Sascha Hlusiak wrote:
> > > 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.
> >
> > 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,
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-05-28 18:13 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
2007-05-17 15:04 ` Dan Johansson
2007-05-17 22:12 ` Sascha Hlusiak
2007-05-28 18:06 ` Dan Johansson [this message]
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=200705282006.55543.Dan.Johansson@dmj.nu \
--to=dan.johansson@dmj.nu \
--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