![]() |
Re: Nokia N900 A-GPS Not Working Anymore
so seems to work for me with 52.200.182.188 in /etc/hosts
unless i'm just benefitting from cached data since i haven't travelled much |
Re: Nokia N900 A-GPS Not Working Anymore
Switching my /etc/hosts to that address has fixed GPS for me as well.
|
Re: Nokia N900 A-GPS Not Working Anymore
A naive question: Can't you just set the A-GPS URL directly to that IP address and leave hosts alone? I am tempted to fire up my N900 and try... :D
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
For whatever reason the settings field for supl server only accepts fully qualified server name, no IP addresses. (And iirc the same counts for the e-mail server fields.) |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
So either down or blocked. |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
http://talk.maemo.org/showpost.php?p...&postcount=283 |
Re: Nokia N900 A-GPS Not Working Anymore
So, supl.nokia.com has finally completely disappeared off the face of the earth (or at least DNS),
https://www.whatsmydns.net/#A/supl.nokia.com |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Can it be confirmed that changing this 173.194.198.192 supl.google.com to /etc/hosts and chantging to supl.google.com is a right solution for this problem? At least I got location with cellnet apps.
|
Re: Nokia N900 A-GPS Not Working Anymore
Yeah, just pick any of those IP's here https://www.whatsmydns.net/#A/supl.google.com
Preferably nearest one I guess, but it won't matter too much.. |
Re: Nokia N900 A-GPS Not Working Anymore
This de-googling guide gives five SUPL servers right now https://www.reddit.com/r/privacy/com...ageos_in_2019/
Code:
Servers found: |
Re: Nokia N900 A-GPS Not Working Anymore
Great!
However most of these servers seems to work, it is very difficult to test as the device seem to remember where was the last location. So, inside a house, far from the window with agps deactivated, the n900 is able to give the position. I have found out the last known position is stored in /etc/osso-af-init/gconf-dir/system/nokia/location/lastknown/%gconf.xml And can be displayed reading into the file or with Code:
gconftool-2 -R /system/nokia/location/lastknown Code:
rm -f /etc/osso-af-init/gconf-dir/system/nokia/location/lastknown/%gconf.xml But still, when I start modrana, it finds the position in about 30 seconds. (only GPS before supl fix was dozens of minutes and outdoor.) So, where is that data (last location) stored? GPS chip? And how can we test these servers in a neutral way, without the help from the memory of the last one tested? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
https://bugs.maemo.org/show_bug.cgi?id=7026#c35 |
Re: Nokia N900 A-GPS Not Working Anymore
Thanks sicelo, cool little app.
But yes, YMMV a lot! Results are very inconsistent, I mean non linear, changing. I tried to test these supl servers for hours but I'm not f*ç%&%& able to get an objective result. I still cannot know which is the most efficient and reliable. Once I get a lock fast with google, sometimes it takes like 10 minutes, sometimes forever... Some other servers work, then no more... (I allways test from the same place) Tried to put all servers ans IPs into /etc/hosts, than tried just with one by one (allways keeping localhost, of corse)... After all, i'd say google gives the "less whorse" results though, but it's just an impression. I have also tried the supl package but I think I haven't ben able to set it up correctly however I followed the wiki page strictly. I didn't understand really how to deal with the domain that "does not necessarily need to exist however, but it is a good idea to use a domain that you have control of" hmm... Another impression: lock is coming faster on the stock n900 than on the CSSU-t one. Sometimes lock is ok in seconds with stock one. Can it be that the supl package had leaved some perturbing traces on the system after removing it? Did someone get more serious results? With proxy or without? I know it'd be easier with a brand new temptating Pro1 but no no no, I'll not be weak, I I keep using on my n900 every day! (until tomorrow at least). edit: I ended up by rebooting between every test. My pesudo should have been editman... |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Otherwise, the section in question means - create a certificate by using a valid-looking domain name. For, example, preferably not supl.a, since that doesn't look valid at all. You can use a real, existing domain name, but since the proxy does not even check, it can just be an imaginary domain too. The part about "control" is just saying preferably don't create a certificate for talk.maemo.org, for example, which is not a domain you own (or are likely to own). Please edit the wiki to make it less confusing :) |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Quote:
At the moment, I get an error of certificate... I like so much more photograpy, coffee, hacking, cinema, dish washing than certificates but let me search what happens, I'll be back. |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Yes, sorry, I was reading the supl proxy creator's page.
What I thought being an error seems not to be an error (Client does not have certificate). Here is my command and output. I launch modrana right after having entered the command. Code:
~/supl$ supl-proxy supl.google.com Connection: wifi Sim card (working) from another country Installed from devel (is there something related?): libssl1.1 openssl libqt4-core /etc/hosts: Code:
127.0.0.1 Nokia-N900 localhost Btw, fremantle.com does exist and is absolutely in my taste :D edit: added some clarity |
Re: Nokia N900 A-GPS Not Working Anymore
you'll need to change the 'fake' supl server's IP address in /etc/hosts to maybe 127.0.0.2.
after making the change, either reboot the device or do: Code:
$ sudo stop dnsmasq |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Ok, Ill change the IP, reboot and post asap (tho a n900 takes some time to do so .-)) |
Re: Nokia N900 A-GPS Not Working Anymore
After IP change and rebooting:
No changes, no output from supl-proxy and immediate exit 214 after modrana has started. Edit: the same happends with location-test-gui instead of modrana: Right after reboot, Using location-test-gui, number of satellites in GNSS mode before launching the proxy: 6 to 9. Launching the proxy and relaunch location-test-gui in AGNSS mode, Same number of sat and same exit without output. When using supl.google.com directly ( set in location agps settings and with corresponding IP in /etc/hosts), I don't get more satellites but the lock can happen within less than one minute. ------------ (good/bad) Question: On his page, the developper says: Quote:
I searched into the sources but what I found might bi some old default or fallback servers isn't it? Code:
~/prov/supl% grep -Rin nokia |
Re: Nokia N900 A-GPS Not Working Anymore
supl.nokia.com is hardcoded, yes, and used when you don't supply your own supl server. this is not the problem you are encountering, since you do supply a supl server (supl.google.com) when running the proxy.
the supl domain name you created should be used in 3 places: (1) in the domain of the certificate you created, (2) in Settings > Location, and (3) in /etc/hosts. Can you confirm this is true in your case? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
I have deleted what was in /home/user/supl and then recreated with the instructions given in the wiki for the new domain name corresponding to what is in settings > location and /etc/hosts. Absolutely. |
Re: Nokia N900 A-GPS Not Working Anymore
Then I'm not sure what's up. Perhaps someone else can try the wiki steps and reproduce, or you can try strace or other tools.
|
Re: Nokia N900 A-GPS Not Working Anymore
PROGRESS --- so simple
Great, thanks, I installed and used strace. A lot of ununderstandable things came out but, I saw somewhere in the output "network is unreachable". I switched the connection from wifi to gprs and it worked, a lock came in seconds. Though the ADSL modem firewall is inactive, it is not working via wifi nor usb networking. Any clue of the reason? (all prior tests with wifi were done in "phone mode" but without gprs internet connection) WIKI So now, I can add some infos to the wiki. I guess I shouldn't delete or add into your text but below it with an "edit:". Am I right? Also, how can I login to the wiki. Seems not to be the same account than here. (searched on different places in maemo.org but found nothing about that). |
Re: Nokia N900 A-GPS Not Working Anymore
Network problem ... no surprise there
Wiki - edit it as best as you see fit. Even if you adjust/remove parts of the existing text, if anyone ever needs to compare, Wiki has a history, like Git :) I forgot how to create a Wiki account - I remember some things need you to register a Garage Account, https://garage.maemo.org/account/register.php I can't be too sure if wiki was one of those, but it's possible. Maybe someone more knowledgeable will chime in |
Re: Nokia N900 A-GPS Not Working Anymore
History, great, I can dive!
Ok, I'll investigate. (btw, the url is https://garage.maemo.org/account/register.php, not https://garage.maemo.org/account-register.php) |
Re: Nokia N900 A-GPS Not Working Anymore
Yes, wiki should be garage account as well as bugs.
Share all one account. Only TMO needs a different one. And about network: I do remember that for A-GPS only mobile network is working on N900 (no idea why but it is), WiFibdoes not help. |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Quote:
edit: should the title of this thread be changed to "Nokia N900 A-GPS working again"? N900 is not dead! |
Re: Nokia N900 A-GPS Not Working Anymore
Interesting that it shouldn't work on Wi-Fi for at least two of you. It has been working for me since day one (the proxy, that is).
Thanks for the wiki edit. I have a comment/observation about the Google part. I wonder if it is really necessary to make an entry for it in /etc/hosts, since this will get resolved normally as part of the A-GPS request anyway. Also, at least as of now, Maemo still has valid certificates for connecting to Google's supl server, Code:
cmcli -T common-ca -v supl.google.com:7275 |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Tests made into a building: I flashed + Installed a fresh CSSU-t. No traces from previous tests. Changed nokia to google in settings... Without entry en /etc/hosts, no lock. Added entry in /etc/hosts Rebooted Got a lock (modrana indicates my right pos + sat icon not blinking) in less than 30s. Quote:
Sorry for badly interpreting/repeating inexact infos. |
Re: Nokia N900 A-GPS Not Working Anymore
Which maps you are using with Modrana? And are you using QML version? For me it won't load any map, just loading... And I have changed the supl.google and also edited the /etc/hosts and restarted dnsmasq. Would really like to get a working navigation on my device. Have now used two years without.
I would just need a map to use in Finland while driving with a car. |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
(I assume you know that there are separate garage and TMO accounts and usually people link those together to get karma for TMO postings...) |
Re: Nokia N900 A-GPS Not Working Anymore
@ Juiceme, Thanks for explaination
@ Maemish, I didnt remember Modrana QML version existance, don't even know what it is. As maps, I am using OpenStreetMap, Google, sometimes Sat view but actually I don't use mapping nor routing very often. But I noticed routing doesn't work at the moment... In your case, getting a lock and displaying maps are two different problems which must be treated separately. To test your gps/agps, try another map application or the one referred in the wiki as location-test-gui. About Mordana display staying white, you can try to verify its configuration, launch it from terminal to see the output or even launch it with strace. -Settings > Connectivity > Location > Network Positioning is supl.google.com, not supl.google. -How does your /etc/hosts look? Did you test positionning after rebooting and recheck Settings > Connectivity > Location > Network ? In my device, it sometimes comes back to supl.nokia.com by itself. Did you try with gprs and wifi? Is your device in phone mode with the simcard registered and active? |
Re: Nokia N900 A-GPS Not Working Anymore
/etc/hosts: 127.0.0.2 Nokia-N900 localhost
I forgot, was I supposed to change the Nokia-N900 to something else? And yes, I have supple.google.com in navigation setup. |
Re: Nokia N900 A-GPS Not Working Anymore
No, no,
I'd suggest you to reread this thread from here As Koiruus explained, you should search for an IP for google which suits your geographic area (more or less) and put it into /etc/hosts but don't delete the first line, it is your device! Your /etc/host could look like this: Code:
127.0.0.1 Nokia-N900 localhost |
Re: Nokia N900 A-GPS Not Working Anymore
Thanks for help. Now I have google maps with a very good location match. And it only took two years to get it. Tried once and a while but always did something wrong.
Now if Sulu will someday in the future have time and strength to make a new debbie image with netsurf 3.9 I think I will get most things I need on this phone. Next thing to do would be to have dos emulator and have good games (mario type and space invader type) on it. I think I have seen emulator in HAM but how to get games (from where and how to install them on the phone, probably some instructions can be found from the forum) and play - yet unknown stuff for me. |
Re: Nokia N900 A-GPS Not Working Anymore
emulators and games are the easy part.
there are plenty of n900 game emulators and tons of games on the web to harvest..nintendo, super, mame etc... of course ...this is where a n900 game gripper would be handy for ease of play. |
All times are GMT. The time now is 05:45. |
vBulletin® Version 3.8.8