Archive for November, 2008

Ubuntu: network manager and vpnc

I have another issue in Ubuntu that has been driving me batty: updated DNS servers. When I set up a vpn connection using Network Manager, I can connect to the vpn tunnel, but the DNS settings are not updated. This means that pretty much nothing can be done. I don’t go around remembering IP addresses anymore. That’s so twentieth century quaint!

After searching on Google for a solution to this for a while. What this seems to be is an interaction between resolve-conf and Network Manager. Network Manager isn’t updating the DNS because of resolv-conf. Resolve-conf isn’t updating the DNS for the vpn connection. So the solution?

apt-get remove resolvconf

Ayup, that’ll get the job done. Network Manager will still automatically update /etc/resolv.conf. No manual connection will be needed. And Network Manager will correctly set up nameserver settings for VPN connections.

Amazing that this was such a simple solution for such a vexing issue.

Profile picI am a 40-ish uber-geek, Daoist and family man. Blessed to have one incredible wife and three wonderful kiddos. Dao has been kind to me.

Archives
November 2008
S M T W T F S
« Sep   Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30  
QR Code
Top categories