Thread: PR1.1 Feedback?
View Single Post
Posts: 152 | Thanked: 41 times | Joined on Dec 2009 @ Sydney
#198
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?

This thread might help you.

http://talk.maemo.org/showpost.php?p...6&postcount=56