Thanks for the good hints. I only use cisco vpn client (vpnc) for 
networkmanger. vpnc creates a new interface tun0 when the vpn is open. So I 
enhanced the first mentioned patch by checking whether a tun interface exists. 
If there is tun interface up dhclient continues as usual otherwise it doesn't 
do anything to resolv.conf.
If other vpn solutions create other interfaces the awk line should be extended 
accordingly.

BTW the patch is for ubuntu 7.10, package  dhcp3-client version
3.0.5-3ubuntu4


** Attachment added: "ubuntu 7.10 dhcp3-client vpn patch"
   http://launchpadlibrarian.net/10375707/dhclient-script.patch

-- 
resolv.conf overwritten using VPN/PPP etc...
https://bugs.launchpad.net/bugs/90681
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to