Quote:
Originally Posted by CormacB
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).