Editing N900 GPS Proxy
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | As of 2019, supl.nokia.com is not working, thus the N900 cannot get GPS assistance information. So getting a GPS fix can take a very long time as there is no network assistance. | + | As of 2019, supl.nokia.com is not working, thus the N900 cannot get GPS assistance information. On the other hand, the N900 is also unable to communicate with Google's supl server, supl.google.com. So getting a GPS fix can take a very long time as there is no network assistance. |
- | + | ||
- | + | ||
The use of an A-GPS proxy, such as [https://www.tajuma.com/supl/index.html https://www.tajuma.com/supl/index.html] can get around the problem. It is already [http://maemo.org/packages/view/supl/ packaged], and available from Extras-Devel (you can temporarily enable -devel, then disable it afterwards) | The use of an A-GPS proxy, such as [https://www.tajuma.com/supl/index.html https://www.tajuma.com/supl/index.html] can get around the problem. It is already [http://maemo.org/packages/view/supl/ packaged], and available from Extras-Devel (you can temporarily enable -devel, then disable it afterwards) | ||
+ | |||
+ | edit: It has been found out supl.google.com can be used: | ||
+ | |||
+ | *In '''Settings > Connectivity > Location > Network Positioning''', replace supl.nokia.com with supl.google.com | ||
+ | *Find the supl.google.com IP near to you by looking [https://www.whatsmydns.net/#A/supl.google.com https://www.whatsmydns.net/#A/supl.google.com] | ||
+ | *In /etc/hosts, fill one line with the IP you found, one space and "supl.google.com" | ||
+ | *May be optionnal, to confirm: get the certificate for supl.google.com: [https://censys.io/certificates/95c074e35902a14abd9d19afb6e7f80e669ff8e2363270539d963613f04aaa21/pem], put it in /etc/certs/common-ca/ and test it with | ||
+ | <pre>openssl s_client -connect supl.google.com:7275 -CApath /etc/certs/common-ca/</pre> | ||
+ | |||
+ | *Reboot and control that the '''Settings > Connectivity > Location > Network Positioning''' setting survived the reboot (sometimes comming back to nokia in my N900) | ||
+ | |||
+ | However this is working, you might care about [https://blog.wirelessmoves.com/2014/08/supl-reveals-my-identity-and-location-to-google.html privacy concerns], then examine the possibility to use the proxy as explained below. | ||
==Configuration== | ==Configuration== | ||
Line 13: | Line 23: | ||
<pre> | <pre> | ||
~$ mkdir supl && cd supl/ | ~$ mkdir supl && cd supl/ | ||
- | ~/supl$ supl-cert supl. | + | ~/supl$ supl-cert supl.fremantle.com |
</pre> | </pre> | ||
* Install the CA certificate via cmcli: | * Install the CA certificate via cmcli: | ||
Line 27: | Line 37: | ||
==Use== | ==Use== | ||
- | + | * Start the proxy and point it to supl.google.com (or any other supl server you know works): | |
- | * Start the proxy and point it to supl.google.com (or any other supl server you know works | + | |
<pre> | <pre> | ||
~$ cd supl/ | ~$ cd supl/ | ||
Line 34: | Line 43: | ||
</pre> | </pre> | ||
* Run your GPS consumer application | * Run your GPS consumer application | ||
- | If all went well, you should see a lot of output from the proxy, after which it will exit. Hopefully you | + | If all went well, you should see a lot of output from the proxy, after which it will exit. Hopefully you get a fix in a few seconds. |
==Notes== | ==Notes== | ||
Line 44: | Line 53: | ||
</pre> | </pre> | ||
*Also, it seems that a new supl request can be issued after a change in CellID, so moving to a different location may help. | *Also, it seems that a new supl request can be issued after a change in CellID, so moving to a different location may help. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
Please update this wiki with your observations. | Please update this wiki with your observations. |
Learn more about Contributing to the wiki.