maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Can't update applications via Wi-Fi? (https://talk.maemo.org/showthread.php?t=40425)

NikolaiM 2010-01-14 07:02

Can't update applications via Wi-Fi?
 
I have a problem with WiFi.

I have a home wifi network - laptop works, iPhone works.

Nokia N900 - WiFi is broken. Maybe this is because I am using 10mw power??

It works for the web-browser just fine.

BUT

Any application which connects to the internet, doesn't work!

I can't even update the firmware, TuneWiki, or even the weather when I am on WiFi... but can browse the web perfectly.

When I try to use the wifi via an application, it just times out.

Any help??

hstende 2010-01-14 07:06

Re: Can't update applications via Wi-Fi?
 
I got the same problem after upgrading to maemo 5 PR1.1. When I connect via WIFI I don't get nameresolving. The ip is OK, and I can connect via IP.

From 3G everything works normal.

NikolaiM 2010-01-14 07:07

Re: Can't update applications via Wi-Fi?
 
Hmmm!

Changed Wifi power to 100mW, and changed to use Google's DNS and suddenly it works!

Very weird.

NikolaiM 2010-01-14 07:12

Re: Can't update applications via Wi-Fi?
 
Hmmm!

Changed Wifi power to 100mW, and changed to use Google's DNS and suddenly it works!

Very weird.

Fargus 2010-01-14 07:19

Re: Can't update applications via Wi-Fi?
 
Quote:

Originally Posted by NikolaiM (Post 469769)
Hmmm!

Changed Wifi power to 100mW, and changed to use Google's DNS and suddenly it works!

Very weird.

sounds like the DNS published by your router has a problem, maybe check for an issue with your ISP?

hstende 2010-01-14 07:21

Re: Can't update applications via Wi-Fi?
 
When I manuall put the information from my computer's resolve.conf into the resolve.conf in my N900 it works.

Fargus 2010-01-14 07:31

Re: Can't update applications via Wi-Fi?
 
Quote:

Originally Posted by hstende (Post 469801)
When I manuall put the information from my computer's resolve.conf into the resolve.conf in my N900 it works.

I'm assuming that the update cleared cached values so would require repolling the router. Have you reset the cache on your computer before checking? Doesn't mean that this IS the problem but worth a check as the 3 people I have checked with don't have this issue. Might be useful to post your router make and model along with the ISP.

DaveQB 2010-01-14 13:51

Re: Can't update applications via Wi-Fi?
 
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....

juaalto 2010-01-14 13:52

Re: Can't update applications via Wi-Fi?
 
Quote:

Originally Posted by hstende (Post 469753)
I got the same problem after upgrading to maemo 5 PR1.1. When I connect via WIFI I don't get nameresolving. The ip is OK, and I can connect via IP.

From 3G everything works normal.

Please check this post for tips:

http://talk.maemo.org/showpost.php?p...8&postcount=41

DaveQB 2010-01-14 14:15

Re: Can't update applications via Wi-Fi?
 
Quote:

Originally Posted by DaveQB (Post 470809)
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.


All times are GMT. The time now is 22:22.

vBulletin® Version 3.8.8