View Single Post
  #2  
Old 2010-02-15, 00:04
lma lma is offline
 
Join Date: Nov 2007
Posts: 2,802
Thanks!: 2,844
Thanked 4,491 Times in 1,616 Posts
Default Re: Something is wiping /etc/resolv.conf

Quote:
Originally Posted by CormacB View Post
Every time I connect to a wifi network /etc/resolv.conf is empty. I have vpnc installed
That package installs an ifup-d script (/etc/network/if-up.d/12_vpnc_resolv) that does:

Code:
cat /etc/vpnc/resolv.conf-backup >/etc/resolv.conf
If /etc/vpnc/resolv.conf-backup doesn't exist or is empty it would cause the problem you are experiencing. The modify_resolvconf_maemo() in /etc/vpnc/vpnc-script also looks suspect (it uses /var/run/resolv.conf, while /etc/maemo-dhcp.d/50_ipv4_network_setup creates /var/run/resolv.conf.$interface).
Reply With Quote
The Following 3 Users Say Thank You to lma For This Useful Post: