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

2009-11-04 Thread Daniel J Simanek
>A workaround is to reorder the entries in resolv.conf so that the 
>vpnc generated nameserver is first. It is tedious to do this by hand every 
>time 
>one connects via VPN.

Why not just do this?

>solution is probably to make resolvconf a suggest for vpnc

why go though all that work when you can just drop the dependency for a
total unnecessary package?

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2009-11-04 Thread llamahunter
I believe this is the same root problem as I'm seeing in Karmic.  The
vpnc generated nameservers get added to the *end* of the resolv.conf
list, rather than the beginning.  Thus, nameserver requests for hosts
reachable over the VPN connection fail because the non-VPN nameservers
respond first saying that the address does not exist.

A workaround is to reorder the entries in resolv.conf so that the vpnc
generated nameserver is first.  It is tedious to do this by hand every
time one connects via VPN.  This was not an issue in Jaunty (for me, at
least).  The real fix is to have resolvconf or whatever writes the
resolv.conf file to put the vpnc generated nameserver first
automatically.  An even better fix would be to support split DNS for
hostname resolution.

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2009-05-06 Thread Alexander Sack
> When I installed network-manager-vpnc, resolvconf came along as a dependency. 
> Is that really necessary? Doesn't 
> network-manager have all the same functionality built in anyway?

my guess is that it gets pulled in by vpnc ... which is a vpnc packaging
bug then.

** Changed in: vpnc (Ubuntu)
   Importance: Undecided => Medium

** Changed in: vpnc (Ubuntu)
   Status: New => Triaged

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2009-05-06 Thread Alexander Sack
... and yes, NM has all that is required to do VPNC without resolvconf.
solution is probably to make resolvconf a suggest for vpnc ... or if
vpnc doesant work at all factor the bits NM needs into a vpnc-core
package or something that does not depend on resolvconf.

** Changed in: network-manager-vpnc (Ubuntu)
   Status: New => Invalid

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2009-04-25 Thread Daniel J Simanek
This issue also exists in Jaunty. The 'sudo apt-get remove resolvconf'
work around is still applicable.

When I installed network-manager-vpnc, resolvconf came along as a
dependency. Is that really necessary? Doesn't network-manager have all
the same functionality built in anyway?

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2009-03-20 Thread Jesse Hernandez
Try removing teh program resolvconf.  This is NOT resolv.conf...after
VPNing in to your network  NetworkManager, not the program resolvconf,
should be making the DNS changes to /etc/resolv.conf

code:
sudo apt-get remove resolvconf

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2009-01-01 Thread knusperfrosch
got the same problem caused by a manual vpnc connection and
Networkmanager on hardy(kubuntu). i wouldn't do that but knetworkmanager
0.7 seems to have lost a lot of functionality and usability since 0.2.2
(inlcuding vpnc connections). I found out that deleting
/etc/resolvconf/run/interface/tun0, which contains all wrong entries
messing up /etc/resolv.conf, fixed Gthe symptoms. So resolvconf doesn't
seem to check whether the interface tun0 is up or not.

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2008-12-31 Thread SK
I think this is related to my problem. vpnc worked fine in 8.04 and is
now broken in 8.10. For me the resolv.conf the search entry is full of
what looks like junk so I DNS calls to my connected domain don't work.
If I manually edit after connecting to the domain I'm connecting to DNS
resolves fine and I'm up and running again.

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2008-12-06 Thread John Doe
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 
nameserver 
nameserver 
#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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2008-11-15 Thread Sam Freer
Here are my Hardy /etc/resolve.conf settings running under VirtualBox
for comparison (this works)

Before VPN connection

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
10.0.2.0*   255.255.255.0   U 0  00 eth0
link-local  *   255.255.0.0 U 1000   00 eth0
default 10.0.2.20.0.0.0 UG0  00 eth0

/etc/resolv.conf 
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:  /usr/bin/NetworkManager
# Process_id:   4191
#
### END INFO

search home

nameserver 10.0.2.3

After VPNC connection

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
86.12.88.3  10.0.2.2255.255.255.255 UGH   0  00 eth0
10.0.2.0*   255.255.255.0   U 0  00 eth0
link-local  *   255.255.0.0 U 1000   00 eth0
default *   0.0.0.0 U 0  00 tun0

/etc/resolv.conf 
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:  /usr/bin/NetworkManager
# Process_id:   4191
#
### END INFO

search central.luton

nameserver 10.66.5.40

Hope this helps

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2008-11-15 Thread Sam Freer
Here are my Hardy /etc/resolve.conf settings running under VirtualBox
for comparison (this works)

Before VPN connection

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2008-11-14 Thread Sam Freer
** Also affects: network-manager-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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs