View Single Post
Posts: 152 | Thanked: 41 times | Joined on Dec 2009 @ Sydney
#10
Originally Posted by DaveQB View Post
Same problem here after the update.

I know the N900 uses dnsmasq package [why, I have no idea]

Code:
Nokia-N900-42-11:~# grep resolv /etc/dnsmasq.conf
# somewhere other that /etc/resolv.conf
resolv-file=/var/run/resolv.conf
resolv-file=/tmp/resolv.conf.wlan0
resolv-file=/tmp/resolv.conf.ppp0
resolv-file=/tmp/resolv.conf.lo
resolv-file=/tmp/resolv.conf.gprs
# /etc/resolv.conf
# If you don't want dnsmasq to read /etc/resolv.conf or any other
#no-resolv
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
Code:
This hasn't changed.
Nokia-N900-42-11:~# cat /var/run/resolv.conf.wlan0
domain home.dward.us
nameserver 10.33.33.15

Ahh in compiling this post I now see the issue.
Hmmmm
I will add that extra line to /etc/dnsmasq.conf but why is it needed after the update?
Broken package?

I hope changes to dnsmasq.conf remain with a network/system restart....

Yeah this is a bug in the upgrade. But others haven't got this??

Code:
Nokia-N900-42-11:~#grep var  /etc/udhcpc/*
/etc/udhcpc/default.bound:RESOLV_CONF="/var/run/resolv.conf"
/etc/udhcpc/default.renew:RESOLV_CONF="/var/run/resolv.conf"

Code:
Nokia-N900-42-11:~# grep -i resolv /etc/maemo-dhcp.d/50_ipv4_network_setup
RESOLV_CONF="/var/run/resolv.conf.$interface"
          if egrep "^nameserver[\t ]*${ns}" $RESOLV_CONF > /dev/null
              echo -n > $RESOLV_CONF.tmp
              [ -n "$domain" ] && echo domain $domain >> $RESOLV_CONF.tmp
                echo nameserver $i >> $RESOLV_CONF.tmp
              mv $RESOLV_CONF.tmp $RESOLV_CONF

So /etc/maemo-dhcp.d/50_ipv4_network_setup is the culprit cause dnsmasq was not configured to check for "/var/run/resolv.conf.$interface" just "/var/run/resolv.conf"

I think I will report this.
 

The Following User Says Thank You to DaveQB For This Useful Post: