View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#2
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).
 

The Following 3 Users Say Thank You to lma For This Useful Post: