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 9: Line 9:
After installation of [http://maemo.org/packages/view/supl/ supl] on the N900, you can perform the following steps:
After installation of [http://maemo.org/packages/view/supl/ supl] on the N900, you can perform the following steps:
-
* Choose a subdomain for the certificates you will create. The subdomain needs to conform to the general rules for domain names, and have a valid [https://en.wikipedia.org/wiki/Top-level_domain TLD]. It does not necessarily need to exist however, but it is a good idea to use a domain that you have control of or which does not exist somewhere else or belongs to somebody else. For our example, we will use supl.maemo-fremantle.com which is not used at the time of writing.
+
* Choose a subdomain for the certificates you will create. The subdomain needs to conform to the general rules for domain names, and have a valid TLD. It does not necessarily need to exist however, but it is a good idea to use a domain that you have control of. For our example, we will use supl.fremantle.com
* Create the certificates on the device. Since the proxy needs to find the certificates in the current working directory, it is also a good idea to create a specific directory for this purpose:
* Create the certificates on the device. Since the proxy needs to find the certificates in the current working directory, it is also a good idea to create a specific directory for this purpose:
<pre>
<pre>
Line 17: Line 17:
* Install the CA certificate via cmcli:
* Install the CA certificate via cmcli:
<pre>~/supl$ sudo cmcli -c common-ca -a ca-cert.pem</pre>
<pre>~/supl$ sudo cmcli -c common-ca -a ca-cert.pem</pre>
-
* Edit the "Location server" field in '''Settings  > Connectivity > Location > Network Positioning''' to point to the subdomain you chose earlier (supl.maemo-fremantle.com)
+
* Edit the "Location server" field in '''Settings  > Connectivity > Location > Network Positioning''' to point to the subdomain you chose earlier
* If you used a non-existent domain name, edit /etc/hosts to resolve its IP, e.g. add the following:
* If you used a non-existent domain name, edit /etc/hosts to resolve its IP, e.g. add the following:
<pre>
<pre>
-
127.0.0.1  supl.maemo-fremantle.com
+
127.0.0.1  supl.fremantle.com
</pre>
</pre>
* Reboot the device (otherwise the proxy will fail the certificates check)
* Reboot the device (otherwise the proxy will fail the certificates check)
-
 
-
*Verify the "Location server" field in '''Settings  > Connectivity > Location > Network Positioning''' after reboot as it seems to come back to nokia sometimes.
 
==Use==
==Use==

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)