maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Something is wiping /etc/resolv.conf (https://talk.maemo.org/showthread.php?t=44496)

CormacB 2010-02-14 21:55

Something is wiping /etc/resolv.conf
 
Every time I connect to a wifi network /etc/resolv.conf is empty. I have vpnc installed and I know it caused problems before with the 1.1 upgrade, but I installed it for the first time after that.The instructions in this post: http://talk.maemo.org/showthread.php...288#post470288 don't seem to apply. Are there any other likely culprits?

lma 2010-02-15 00:04

Re: Something is wiping /etc/resolv.conf
 
Quote:

Originally Posted by CormacB (Post 526482)
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).

shiny 2010-02-15 00:35

Re: Something is wiping /etc/resolv.conf
 
I had a problem with a blank resolv.conf (plus others) - you may find this thread of use - though it's audio-related, the root cause was networking.

Laughingstok 2010-02-15 03:15

Re: Something is wiping /etc/resolv.conf
 
If you have vpnc installed, uninstall it, then install the latest from devel.


All times are GMT. The time now is 17:23.

vBulletin® Version 3.8.8