[Bug 297796] Re: vpnc issue with /etc/resolv.conf prevents connection

John Doe johndoe32102002 at gmail.com
Sun Dec 7 05:15:51 UTC 2008


I am having the same problem with Ubuntu Hardy and Ubuntu Intrepid
(32-bit Intel) with KVPNC and VPNC.

One of the two programs fails to cleanup the dns /etc/resolv.conf back
to its original state.

kvpnc --version
Qt: 3.3.8b
KDE: 3.5.10
kvpnc: 0.9.0

Here is the kvpnc.log:
error: The required daemon (vpnc) isn't available, connect will be disabled.
info: Import of "certificate" (PCF) was successful.
info: Profile "certificate" saved.
error: vpnc is too old. Minimum requirement is 0.3.x, disabling Xauth interactive option.
#sudo apt-get install vpnc
#Reading package lists... Done
#Building dependency tree       
#Reading state information... Done
#vpnc is already the newest version. (on Intrepid)
error: The required daemon (vpnc) isn't available, connect will be disabled.
info: Saving profiles and global options...
info: Profile "certificate" saved.
info: Profiles saved.
info: Global options saved.
info: Gateway hostname (VPN_DNS_IP_#1) resolved to "SAME_IP".
info: Saving profiles and global options...
info: Profile "certificate" saved.
info: Profiles saved.
info: Global options saved.
debug: No default interface given, tried default interface, got success, using "eth1".
error: Tunnel device is missing, loading module "tun" has failed: stop.
debug: No default interface given, tried default interface, got success, using "eth1".
error: Tunnel device is missing, loading module "tun" has failed: stop.

Here is /etc/resolv.conf that fails to be cleaned up:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver <VPN_DNS_SERVER_#1>
nameserver <VPN_DNS_SERVER_#2>
nameserver <MY_ROUTER_IP>
#Note: The VPN DNS servers are external ip addresses, that work on select domains, such as google, #but fail on some such as ubuntu.com).  I have had to manually comment them out upon each #reboot.  Chattr +i /etc/resolv.conf or chmod 444 /etc/resolv.conf as root fails.  The VPN DNS servers #are only can originate from the vpn because they were not inserted anywhere else on the system.

-- 
vpnc issue with /etc/resolv.conf prevents connection
https://bugs.launchpad.net/bugs/297796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list