![]() |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
So, it would be inteesting for others to test with petur's script after a reboot. what supl works and where are you? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
gconftool --recursive-unset /system/nokia/location AND a reboot and reconfiguring supl server in settings (sorry for delay, had to sort some other things out). Funny is: it works with WiFi and vodafone network 2G/3G, but NOT with O2-de GPRS/UMTS. So it is proven (google dead, vodafone works for some ...) Quote:
Quote:
Nevertheless, now we have one supl server left delivering location cell tower based position. :) Better than nothing, but it is not real assisted GPS. And we do not know the reason for nokia/google failing yet :( |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
This helped too: http://wiki.maemo.org/PyMaemo/Using_Location_API (*) http://talk.maemo.org/showthread.php?t=38542 (edited to add URL of relevant forum topic) |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
I guess from other info in peterleinchen's post that agreements between ISPs or lack thereof, are playing a role here. Something else in the case of google... Is info from syslog why you don't think supl.vodafone is providing a full supl service? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Maybe I should enable syslog again and try once more? But I do not expect to see anything more ... |
Re: Nokia N900 A-GPS Not Working Anymore
For me supl.google.com started working again via 3G/T-mobile germany, the last days i never got gps-fix, today in the car 150km from home i started nokia maps and got the fix in some seconds (maybe just luck?)
|
Re: Nokia N900 A-GPS Not Working Anymore
I can confirm that supl.vodafone.com work with Telkomsel carrier in Indonesia
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
:) Very peculiar that a supl server provides acwp but not 'full-house'. |
Re: Nokia N900 A-GPS Not Working Anymore
same thing here with supl.google.com - started working again about 2 weeks ago via 3G (malaysia, on Maxis). it used to take about anywhere from 1 minute upwards to get a lock. i now get one in about 10 seconds max (actually, it used to be much faster like 3-5 seconds, but 10 seconds is fine by me).
|
Re: Nokia N900 A-GPS Not Working Anymore
Again. I repeat. Supl.google.com IS working here.
Dont know why some insists im faking it. I never do. Might be a carrier/country whatever deal I have no idea, but it gives a good location in ~15 secs. |
Re: Nokia N900 A-GPS Not Working Anymore
Again. I repeat. How fast you get a lock means nothing. When I set it to supl.google.com I get cr*p ACWP support, if I enable GPS I get a lock in <30 seconds.
It's *very* hard to reliably test what is going on, I'm using ACWP only as a measure because I can see clear differences between selected servers: - set desired server - reboot - run acwp script I posted Maybe I should wireshark the connection between n900 and supl.* to show what is going on. |
Re: Nokia N900 A-GPS Not Working Anymore
i actually dont really care if supl.google.com is working or not. what's more important to me is the end result i.e. accurate gps lock is achieved in a short time - which is what i am experiencing now. as for the agps cache - no such issue since my phone has a scheduled reboot task that runs everyday.
|
Re: Nokia N900 A-GPS Not Working Anymore
Fine, but this thread isn't about your ends results (sorry ;) ), but about *real* A-GPS. Not to mention that you *won't* get such good results *if* real A-GPS support would be needed to gain it (quickly) in the first place, but frankly, we don't care about you results. We care about A-GPS (in this thread, at least).
--- Now, about the real things: Quote:
I can find the source quote for a life of mine, but it would be very interesting to RE it - after all, supl.nokia.com works for recently released Nokia devices. I bet, that they're filtering out requesting devices on purpose. Knowing WTF is going on and what they use to identify, we could implement a way to mimic other device for our trusty N900 (and even implement possibility to do it from control panel, via CSSU, just like browser allow to change user agent). /Estel |
Re: Nokia N900 A-GPS Not Working Anymore
Has someone packaged the proxy software at http://www.tajuma.com/supl/ somewhere?
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
While the GPS code is closed (preventing us from directly injecting a guess at a starting point), this may be a good way to fake it. A local supl server that computes a rough guess and feeds it to the closed source that then injects the right data. Would be a popular project if someone's willing to take it up. :D |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
But I am on one tenth knowledge here :) so someone smart with both an n9 and a n900 should sniff both supl'ing away... |
Re: Nokia N900 A-GPS Not Working Anymore
I was trying the supl proxy on my server and pointing my N900 to it. However results were inconclusive, I wasn't sure if my N900 was even happy with my supl server's certificates, making it tough to see what the real problem was...
I definitely did see some wireshark activity on port 7275 however, but didn't pursue it further after getting T-Mobile's server working... Granted a public server would be better as then it would also work on wifi... |
Re: Nokia N900 A-GPS Not Working Anymore
1 Attachment(s)
Though I am happy with supl.vodafone.com I took some time today fiddling around with supl-proxy from tajuma.com .
I checked against all working supl-server I know of: sls1.sirf.com supl.google.com supl.nokia.com supl.sonyericsson.com supl.vodafone.com Everytime with preceeding steps in N900: - gconftool --recursive-unset /system/nokia/location - reboot - setting location server to my server with running supl-proxy (pointed to the next supl server from the five mentioned above) - running location test tool with method ACWP (with OK to supl usage terms) To my surprise I got a quick (less than 10sec) location result within some hundred meters around with three of the five servers: sls1.sirf.com supl.nokia.com supl.vodafone.com With the others I got quite more data exchanged, but didn't get a location result. If anyone is interested, see my proxy logfiles attached. Without supl-proxy , just pointing my N900 to the five servers directly (with all the preceeding steps), the only server working for me is supl.vodafone.com . I set up supl-proxy on my own network gateway and when I was rechecking without proxy my N900 was on wifi in my own network. So all request from same IP to the supl servers. Okay, this could mean that N900 has probs with the data coming from google and sonyericsson, but for sirf and nokia(!) the only cause for failing - left to see to me - is certificate issues. peterleinchen, seems you where quite right with your assumptions ... I verified certificate chain on N900 (should have done earlier): Code:
[2|user@Nokia-N900|/] cmcli -T common-ca -v supl.vodafone.com:7275 Code:
[2|user@Nokia-N900|/] cmcli -T common-ca -v supl.nokia.com:7275 Checking the chain: Code:
openssl s_client -connect supl.nokia.com:7275 One can find all VeriSign root certs at http://www.symantec.com/page.jsp?id=roots . Maybe someone has more abilities to digg deeper into it. Would be nice to have supl.nokia.com usable again. Until then supl.vodafone.com is good enough for my needs. Cheers, Ulle |
Re: Nokia N900 A-GPS Not Working Anymore
Superb research Ulle!
Could and should maemo.org run supl-proxy for us? Was it easy to build? (for linux?). How much traffic (kb/mb) in an exchange? |
Re: Nokia N900 A-GPS Not Working Anymore
If you're going the (local or remote) supl-proxy route, which I intended to try as soon as I can get a Maemo dev environment set up, I strongly suggest you have a look at the open databases of cell IDs and wireless APs at http://openbmap.org/ and http://www.opencellid.org/ - I think prehaps with ephemeris data added, these could make a much better, more accurate, and open, SUPL server than we can currently get.
I think the Maemo app CellNet-info uses one of those sites to provide lat/long info for a cell, but I'm not entirely sure at the moment. An open SUPL server would benefit not only the N900, but virtually any modern phone. |
Re: Nokia N900 A-GPS Not Working Anymore
Code:
openssl s_client -connect supl.nokia.com:7275 -CApath /etc/certs/common-ca/ |
Re: Nokia N900 A-GPS Not Working Anymore
I know that (and openssl returns also error when not pointed to /etc/certs/common-ca).
But why on earth does cmcli return an error even when pointed explicitly to common-ca??? That made me thinking of hard-coded certs in GPS blob. And why supl.nokia.com returns result for N900 when using proxy? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
"-CApath /etc/certs/common-ca/", it does not fail |
Re: Nokia N900 A-GPS Not Working Anymore
No no, I read and understood correctly.
As I made same experience. openssl fails when not pointed to common-ca openssl succeeds when pointed to common-ca cmcli fails when not pointed to common-ca cmcli fails also even when pointed to common-ca So that means we have all needed certs aboard, but mabe they are not used or ... ? At least Nokia and Google changed their cert paths in the past. And the proxy acts as a proxy? Or initiates a completely new connection to supl? In first case it would not work afaik as ssl/cert communication is just forwarded? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
I am thinking to RE that, it is not that big, but before I start, could someone try to confirm(somehow?) this is the binary to blame EDIT: seems like it is libmaemosec.so to blame EDIT2: microb doesn't have any problem connecting to supl.nokia.com:7275 |
Re: Nokia N900 A-GPS Not Working Anymore
Oh man you are the man!
Why we did not contact you directly? Maybe because I did not want to put everything on your shoulder. Eagerly waiting for a result. Be it positive or negative. BIG thanks in advance. How to do you a favour (already declined donations)? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
:rolleyes: Yeah, sure! ;):D
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Code:
jr@saturn:~> host supl.nokia.com /j |
Re: Nokia N900 A-GPS Not Working Anymore
May I add:
# host supl.nokia.com supl.nokia.com is an alias for nokia.supl.svc.ovi.com. nokia.supl.svc.ovi.com is an alias for nokia.supl.geo.geodns.fi. nokia.supl.geo.geodns.fi is an alias for dk.nokia.supl.geodns.fi. dk.nokia.supl.geodns.fi has address 83.150.75.211 |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Someone would have to extend the code to a forked mode or sth ... Quote:
Quote:
Installation of supl-* from tajuma.com is fairly easy linux standard. The software package has pretty good documentation i.e. a README which is definitely worth the name. I didn't try building it for N900, I wouldn't know where to start for that. I recommend installing it on a linux machine in your local network with Code:
./configure --precompiled-asn1 --prefix=/usr/ && make && sudo make install Code:
cmcli -c common-ca -a /path/to/ca-cert.pem |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Quote:
So we need to find a working nokia.supl box (maybe from nokiabot in india?) and put that ip into /etc/hosts on our N900 ... Edit: That probably doesn't solve the cert issues :( Edit2: There seem to be just 4 ip addresses around for supl.nokia.com: 211.151.53.216 213.157.72.147 213.157.79.103 83.150.75.211 |
Re: Nokia N900 A-GPS Not Working Anymore
Whilst there is yet no solution, this thread has expanded knowledge!
If supl.nokia is geo variable yet actually works for some (does it? Nokiabot did not report back on a reboot scenario with ACWP) then certs may not be a critical factor. |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
This is from my machine at work: Code:
$ host supl.nokia.com Code:
$ host supl.nokia.com FWIW, none of the 5 URLs from post #101 nor the nieldk's IP address (83 etc) worked for me. I am in the UK, tested with ACWP on a home WiFi network. My last lock was one reboot and about a week ago and about 100 km away so caching is out of the equasion. |
Re: Nokia N900 A-GPS Not Working Anymore
Hmm, this is getting more weird:
Code:
Nokia-N900:~# cmcli -T common-ca -v cert.pem -e |
Re: Nokia N900 A-GPS Not Working Anymore
Code:
Nokia-N900:~# cmcli -T common-ca -v supl.nokia.com:7275 Code:
Aug 29 00:41:53 Nokia-N900 [1412]: GLIB DEBUG default - location-sb: fix status changed: 0->1 (Seems we have a broken .pem/invalid certificate in /etc/certs/common-ca) |
Re: Nokia N900 A-GPS Not Working Anymore
hmm, could you please explain to me what I see in post above, and what I conclude from that. I'm probably not into this cert stuff enough to even interprete the cmcli commands and their diagnostic output, the less I see how we're going to fix this stuff now.
/j |
All times are GMT. The time now is 23:10. |
vBulletin® Version 3.8.8