[Bug 297796] [NEW] vpnc issue with /etc/resolv.conf prevents connection
Sam Freer
samfreer at btinternet.com
Thu Nov 13 21:07:08 UTC 2008
Public bug reported:
Binary package hint: vpnc
vpnc 0.5.1r275-1ubunu1
This worked under Hardy but I can't get it working under Intrepid. The
VPN connects successfully using VPNC but then I can't ping anything on
the virtual network or connect using 'Terminal Services Client'.
I have a work around for the failure to connect using 'Terminal Services
Client' after establishing a VPN connection via VPNC in 8.10.
Have a look at /etc/resolv.conf
Mine looks like this. It holds the DNS servers lookups.
# 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 192.168.1.254
search home
After I connect to my VPN it looks like this.
# 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 192.168.1.254
nameserver 10.66.5.40
nameserver 172.26.128.23
search home central.luton
If I try to ping a server on the VPN I get the following error.
ping: unknown host jewel
I then edit the file to comment out the original DNS entry.
sudo vi /etc/resolv.conf
# 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 192.168.1.254
nameserver 10.66.5.40
nameserver 172.26.128.23
search home central.luton
I can now ping the server on the VPN.
PING jewel.central.luton (10.66.9.50) 56(84) bytes of data.
Now I can also get a 'Terminal Services Client' session to connect.
I don't know if this is a bug and needs fixing but this works for now.
http://ubuntuforums.org/showthread.php?t=974092
** Affects: vpnc (Ubuntu)
Importance: Undecided
Status: New
--
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