Comment 13 for bug 90681

Revision history for this message
Markus K. (mk-home) wrote :

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