maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [help] Complicated problem of connection with N900 (https://talk.maemo.org/showthread.php?t=42230)

maya 2010-01-27 10:51

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 497150)
changing the web address of the repositories to their IP apparently doesn't work either:



http error 400 is not good.
you can try a few of the other IPs, but it could also be that "downloads.maemo.nokia.com" is just not accessible from brazil - the N900 isn't sold there officially, if i remember correctly?

could you please execute "nslookup downloads.maemo.nokia.com" in a command prompt on your desktop computer?

in MS-DOS
http://www.imageuploads.net/ims/pic....jotq9&i=179868

SubCore 2010-01-27 10:52

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by maya (Post 497156)
yes, I tried with the Google DNS and OpenDNS too.
but what is the correct way? some guide?

to change your DNS, you have to edit "/etc/resolv.conf"

Code:

cat /etc/resolv.conf
shows you it's current content, there should be exactly one line = "nameserver 127.0.0.1"
this is the default setting.

to use a different nameserver, you can again use echo in an xterm as root:
Code:

echo "nameserver 8.8.8.8" > /etc/resolv.conf

Rob1n 2010-01-27 10:52

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 497150)
changing the web address of the repositories to their IP apparently doesn't work either

That's probably because akamai are doing name-based virtual hosting.

SubCore 2010-01-27 10:53

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by Rob1n (Post 497164)
That's probably because akamai are doing name-based virtual hosting.

yes, but i figured it was worth a shot :)

Rob1n 2010-01-27 10:56

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 497163)
to change your DNS, you have to edit "/etc/resolv.conf"

No, this shouldn't be done on the N900. You set the DNS servers in the Advanced configuration dialogue of the Internet Connection settings (Settings, Internet Connections, Connections, Edit, Next, Next,..., Advanced, IP Addresses). resolv.conf should always point to 127.0.0.1

maya 2010-01-27 11:03

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by Rob1n (Post 497170)
No, this shouldn't be done on the N900. You set the DNS servers in the Advanced configuration dialogue of the Internet Connection settings (Settings, Internet Connections, Connections, Edit, Next, Next,..., Advanced, IP Addresses). resolv.conf should always point to 127.0.0.1

ok, my modem is now as follows:
Line Rate - Upstream (Kbps): 320
Line Rate - Downstream (Kbps): 1024
LAN IP Address: 192.168.1.1
Default Gateway: ppp0
Primary DNS Server: 201.10.120.2
Secondary DNS Server: 201.10.128.2

and N900 is IP and DNS automatic.

suggestions?? :confused::confused::confused::confused:

SubCore 2010-01-27 12:51

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by maya (Post 497177)
ok, my modem is now as follows:
Line Rate - Upstream (Kbps): 320
Line Rate - Downstream (Kbps): 1024
LAN IP Address: 192.168.1.1
Default Gateway: ppp0
Primary DNS Server: 201.10.120.2
Secondary DNS Server: 201.10.128.2

and N900 is IP and DNS automatic.

suggestions?? :confused::confused::confused::confused:

if you want to try it using google's DNS servers, change the settings on the N900 as Rob1n suggested.

instead of automatic DNS enter "8.8.8.8" and "8.8.4.4" as DNS. those are the IPs of google's dns servers

you could also enter those IPs into your modem as default DNS servers, but keep in mind that your whole network uses them if you do that.

maya 2010-01-27 13:18

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 497348)
if you want to try it using google's DNS servers, change the settings on the N900 as Rob1n suggested.

instead of automatic DNS enter "8.8.8.8" and "8.8.4.4" as DNS. those are the IPs of google's dns servers

you could also enter those IPs into your modem as default DNS servers, but keep in mind that your whole network uses them if you do that.

hey, the problem is even in DNS!

I changed the Google DNS on the N900 and nothing happened, but ...

when tested with OpenDNS 208.67.222.222 208.67.222.220 he was able to access the repositories of Nokia and send SMS via Webtext.

... now I just need to resolve the MaStory, but is another problem that I will search now.

Thank you very much, friend! You were persistent! :):)

atrrr 2010-01-28 22:11

Re: [help] Complicated problem of connection with N900
 
Hello,
I am having the exact same problem as Maya. If I use the GPRS connection everything works fine but with my home WLAN I cannot install apps from the Ovi Store etc. I tried the OpenDNS and Google DNS servers listed above but it didn't help. Any ideas?

Rob1n 2010-01-28 22:58

Re: [help] Complicated problem of connection with N900
 
Can you use anything with the WLAN at home (browser, repositories, etc)?

atrrr 2010-01-28 23:25

Re: [help] Complicated problem of connection with N900
 
The connection is working fine (browser, email etc.) but I always get this error when trying to install something:

Resolving host timed out: downloads.maemo.nokia.com

I can install apps with the GPRS connection but I'd like to get my N900 working with the WLAN. And there are no problems with my PC.

maya 2010-01-29 00:28

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by atrrr (Post 500205)
The connection is working fine (browser, email etc.) but I always get this error when trying to install something:

Resolving host timed out: downloads.maemo.nokia.com

I can install apps with the GPRS connection but I'd like to get my N900 working with the WLAN. And there are no problems with my PC.

well, I still do not know where is the problem, but the DNS is included in it.
There are times that goes well, sometimes simply do not connect.
Exist a Google software called namebench and found the best DNS for my network.
And it really worked. But have to configure the N900 also and not just the modem.

atrrr 2010-01-30 21:25

Re: [help] Complicated problem of connection with N900
 
Facebook and Foreca widgets won't update when I'm in my home WLAN.

Update: I changed both phone and modem DNS settings to OpenDNS and the problem seems to be solved. I hope it stays. Thank you very much for everyones help in this thread. :)

Craymill 2010-06-06 12:45

Re: [help] Complicated problem of connection with N900
 
I had the same problem with failed repositories and like maya once I changed the DNS settings to the OpenDNS servers everything started working again. I had also been having problems with Foreca not updating but this too is now OK. So what changed out there, because previously having auto DNS was no problem? Judging from other forums I have looked at this is quite a widespread problem and maybe needs a lot more publicity. Not everybody is a Linux guru, we are just mobile phone owners. Same with non-availability of PR1.2 for people who have Vodaphone 205 build even though we bought generic phone from - in my case - Expansys, and I am on O2. I do not fancy risking bricking it by trying to flash build 203, and I worked in IT for 20 years.

mymishei 2010-07-21 20:33

Re: [help] Complicated problem of connection with N900
 
same problem here, because of this DNS problem, hope nokia does something about this quickly

ikerrg 2010-10-11 21:24

Re: [help] Complicated problem of connection with N900
 
My problems started when I moved to a new service provider (and a new ADSL router), as I explain here: http://talk.maemo.org/showthread.php?t=63416

Does anybody have any news about this?

Thanks.

PMaff 2010-10-12 14:04

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by mymishei (Post 759871)
same problem here, because of this DNS problem, hope nokia does something about this quickly

Nokia may not know that your ISP/Service provider has faulty
DNS or some other DNS errors.

The DNS stuff has to be done by ISPs and not by the phone
producer.

ikerrg 2010-10-12 14:50

Re: [help] Complicated problem of connection with N900
 
I solved my problem editing resov.conf file. However, I'm not so sure about nokia's innocence regarding this problem.

PMaff 2010-10-12 20:22

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by ikerrg (Post 839323)
I solved my problem editing resov.conf file. However, I'm not so sure about nokia's innocence regarding this problem.

Just ask yourself:
1) How should Nokia know about all the different DNS settings of all
the ISPs worldwide?
2) Nokia does not -as far as I know- provide internet services

These settings come from your provider.
If your ISP messes up his DNS then Nokia cannot do anything about this.

ikerrg 2010-10-15 15:44

Re: [help] Complicated problem of connection with N900
 
My ISP's DNS resolve correctly all the names in my PC and in N900 console (nslookup). The problem is in the 127.0.0.1 that nokia writes in the resolv.conf file (directed to the own N900). If adding to that file a DNS server from my ISP solves the problem (or an open DNS server), then I cannot be sure about who is responsible. Can you?

SubCore 2010-10-16 00:39

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by ikerrg (Post 842003)
The problem is in the 127.0.0.1 that nokia writes in the resolv.conf file (directed to the own N900).

don't draw quick conclusions.

there's a reason the default nameserver of the N900 is itself - it's running dnsmasq to cache lookups locally, which is actually A Good Thing on a device that can constantly change connections - f.ex. your ISP's nameservers probably won't do you much good on a public WLAN.

now, why the dnsmasq on your device doesn't work properly is a whole other story :)

edit:
Rob1n has already posted instructions in this thread on how to best set custom nameservers.

ikerrg 2010-10-16 08:19

Re: [help] Complicated problem of connection with N900
 
Yes, that's why I have added a public DNS server (google) to resolv.conf. I have not removed the first nameserver (127.0.0.1). Then, if it fails, it goes to google's DNS (8.8.8.8) which should work for any ISP and connection.

I'll look for more info about dnsmasq.


Quote:

Originally Posted by SubCore (Post 842284)
don't draw quick conclusions.

there's a reason the default nameserver of the N900 is itself - it's running dnsmasq to cache lookups locally, which is actually A Good Thing on a device that can constantly change connections - f.ex. your ISP's nameservers probably won't do you much good on a public WLAN.

now, why the dnsmasq on your device doesn't work properly is a whole other story :)

edit:
Rob1n has already posted instructions in this thread on how to best set custom nameservers.


PMaff 2010-10-16 13:30

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by ikerrg (Post 842003)
My ISP's DNS resolve correctly all the names in my PC and in N900 console (nslookup). The problem is in the 127.0.0.1 that nokia writes in the resolv.conf file (directed to the own N900). If adding to that file a DNS server from my ISP solves the problem (or an open DNS server), then I cannot be sure about who is responsible. Can you?

So you have the same ISP on N900 and your PC?

127.0.0.1 should not be the problem since I have that one in my
resolv.conf too and no problems going to internet.

Although I do not use the same ISP on PC and N900.


All times are GMT. The time now is 13:21.

vBulletin® Version 3.8.8