View Single Post
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#81
Originally Posted by villo View Post
Yes I did have vpnc installed. I have now uninstalled it as I believed it caused the problem but the problem still persists. How would you go about fixing /etc/resolv.conf file exactly. I'm sorry but I am really new to this so any help is appreciated.
OK, DNS PROBLEM:

vpnc installation creates a script which runs all time then you connect to WLAN. And that script has (had? - I still on 44.1) a bug - it doesn't recognize Maemo5 (fremantle) properly. And it may under some conditions go to wrong file loop. So, simple fix (until this bug is fixed) -

1. go to X-Term
2 became root (via 'root' command but you need rootsh package installed)
3. execute commands
echo "nameserver 127.0.0.1">/etc/resolv.conf
echo "nameserver 127.0.0.1">/etc/vpnc/resolv.conf-backup
4. switch OFF-ON

Disclaimer: I don't upgrade to 52.1 yet and I don't know if dhcp client is changed, so I can't judge about /etc/maemo-dhcp.d/50_ipv4_network_setup, in my N900 directory /etc/maemo-dhcp.d is ABSENT.

2 disclaimer: I never had a problem with /etc/udhcpc/libicd_network_ipv4.script but it has sense to check it's absence (ls -l /etc/udhcpc/libicd_network_ipv4.script) and if it is absent, then copy it from distributive file as jsbigs and other advice:

4B. mv /etc/udhcpc/libicd_network_ipv4.script.dpkg-dist /etc/udhcpc/libicd_network_ipv4.script