Thread: PR1.1 Feedback?
View Single Post
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#108
Originally Posted by Master of Gizmo View Post
The update basically worked. But now something with the nameserver is broken. My resolv.conf is empty and i can't resolve names although i do have basic ip connectivity. Need to investigate this ...

I'll keep documenting this here, just in case someone runs into the same issues. I have tracked this down to the point that udhcpc creates a resolv.conf in /tmp/resolv.conf.wlan0 whereas dnsmasq expects this file to be in /var/run. Copying the file manually fixes the problem.

Does anyone here know how the file is to be put into /var/run ? The first few lines of the file responsible for this look like this in my machine:

Code:
Nokia-N900-42-11:/etc/udhcpc# more /etc/udhcpc/libicd_network_ipv4.script
#!/bin/sh
# udhcpc script to use with OSSO ICd

RESOLV_CONF="/tmp/resolv.conf.$interface"
...
Is this file broken on my machine? Should this really read /tmp in that RESOLV_CONF line? Can someone confirm this?
Uninstall vpnc, put "nameserver 127.0.0.1" into /etc/resolv.conf and install vpnc again.

Or put that line also in /etc/vpnc/resolv.conf-backup