On Thu, 17 May 2007 16:08:00 +0200
Dan Johansson <[EMAIL PROTECTED]> 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.  
-- 
[EMAIL PROTECTED] mailing list

Reply via email to