About A-GPS Servers (gps.conf) - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi there,
Galaxy SIII has "XTRA_SERVER_1=http://gllto.glpals.com/4day/latest/lto.dat" server line in gps.conf file, while Galaxy S has "XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin".
What is the difference between those servers? And which is better for faster GPS fix? Or "XTRA_SERVER_1=http://gllto.glpals.com/4day/latest/lto.dat" server is compatible with I9000?
Thanks in advance.

no answers?

They're different servers, that said, they're interchangeable. Why don't you try interchanging them? Remember to back up.
Here's mine, it's the fastest in my country:
NTP_SERVER=0.ca.pool.ntp.org
NTP_SERVER=1.ca.pool.ntp.org
NTP_SERVER=2.ca.pool.ntp.org
NTP_SERVER=3.ca.pool.ntp.org
NTP_SERVER=ca.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS:
# 0 - none, 1 - Error,
# 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
ACCURACY_THRES=5
INTERMEDIATE_POS=0
ENABLE_WIPER=1
SUPL_HOST=supl.google.com
SUPL_PORT=7276
REPORT_POSITION_USE_SUPL_REFLOC=1
# blank

xtra.bin is basically used by QUALCOMM , lto.dat is used by Broadcom Chip of BCM47511. Do a whois on glpals.com and gpsonextra.net and you will know which company uses which services. There is no great idea to change the Software of GPS to Qualcomm from broadcom ...

Gps-nitz-ntp
Hi all,
Sorry to post there but after lot of search, i haven't get any information
Does NITZ protocol is used only by GSM network and is it the default protocol used by android system to sync time?
Things I know is that:
- user can't set time without root privileges
- NTP server could be used only with third-party apps
- there is a gps.conf file in /system/etc and inside there is a line NTP_SERVER=... I want to know the meaning of gps.conf file cause my final goal is to try to sync device with NTP server wihout root priviledge but by redirecting NTP request to my own NTP server (changing DNS maybe) I used some packets sniffer and I can't see some NTP packets (over Wi-fi or GSM)
Thanks fo help

Related

[Q] What are the best gps settings in XXJPU ?

What settings gives you the best gps with XXJPU ?
Please let us know.
wich operation mode?standalone or msbased?
Startmode ? cold start or hot start
Gps plus?on or off?
Accuracy? wich number
Etc
great gps
My gps is perfect with these settings:
Sessyon type: tracking
Test mode: S/W test
Operation mode: standalone
Start mode: hot start
GPS plus: on
Dynamic accuracy: On
Accuracy: 50 m
GPS logging: off
Server FQDN Type: Custom Config
Server: supl.google.com
Server port 7276
Supl secure socket: Off
AGPS: Supl
thx for the reply,
Lets see what the rest off us have.
This one i will try.
Can more people post there settings,
Only with a good working gps with the xxjpu rom.
pijastomig said:
My gps is perfect with these settings:
Sessyon type: tracking
Test mode: S/W test
Operation mode: standalone
Start mode: hot start
GPS plus: on
Dynamic accuracy: On
Accuracy: 50 m
GPS logging: off
Server FQDN Type: Custom Config
Server: supl.google.com
Server port 7276
Supl secure socket: Off
AGPS: Supl
Click to expand...
Click to collapse
Can you post a track?
Whichever other settings you use, you will definitely also want to use the closest ntp time server pool in the gps.conf file. By default this is set to north-america.pool.ntp.org, so for most of the world, this is not the most optimal time server to use (internet latency introduces jitter into the accuracy of the time supplied).
You certainly can't do any harm changing this to your own continent, or even better your own country!
I use uk.pool.ntp.org here in the UK.
FasterFix program (from XDA developer) makes it easier to change the gps.conf file for you.
Mike
gps
xpcomputers said:
Whichever other settings you use, you will definitely also want to use the closest ntp time server pool in the gps.conf file. By default this is set to north-america.pool.ntp.org, so for most of the world, this is not the most optimal time server to use (internet latency introduces jitter into the accuracy of the time supplied).
You certainly can't do any harm changing this to your own continent, or even better your own country!
I use uk.pool.ntp.org here in the UK.
FasterFix program (from XDA developer) makes it easier to change the gps.conf file for you.
Mike
Click to expand...
Click to collapse
Thx for the reply,
I am from holland so what exactly i need to change?
Best regards
This thread hopefully explains it and gives you the software to make the changes a doddle.
Background on what it does, and how to pick a better ntp pool to use is in this post (and the one after) in that thread.
Any questions are probably best asked in that thread to keep this one clean.
pijastomig said:
My gps is perfect with these settings:
Sessyon type: tracking
Test mode: S/W test
Operation mode: standalone
Start mode: hot start
GPS plus: on
Dynamic accuracy: On
Accuracy: 50 m
GPS logging: off
Server FQDN Type: Custom Config
Server: supl.google.com
Server port 7276
Supl secure socket: Off
AGPS: Supl
Click to expand...
Click to collapse
using the exact settings with the gps.conf changed to my continent.
i was able to to actually track PERFECTLY whilst on the SKY TRAIN today using Sygic's Aura. go figure
Session type: tracking
Test mode: S/W test
Operation mode: MS-Based
Start mode: hot start
GPS plus: on
Dynamic accuracy: On
Accuracy: 70 m
GPS logging: off
Server FQDN Type: Custom Config
Server: supl.google.com
Server port 7276
Supl secure socket: Off
AGPS: Supl
I change the setting in my gps.conf to: "fr.pool.ntp.org" for France with FasterFix app.
I use DocRom JPU v3.0.
That's give me the best results than ever.
Hope that's help you a little : )
Thx,
I wil try it with different gps.config this week.

[Q] OpenVPN Problems with Droid 3

Tried setting up OpenVPN with rooted Steel Droid and it
connects but doesn't route traffic over the browser.
Wondering if I need to set routing tables differently for it to work since these custom kernels don't work on Droid 3.
Using SSL with tun.ko enabled.
OpenVPN binary set to /system/xbin/openvpn and configurations in /sdcard/openvpn.
Done a who.is and it still comes back with Verizon IP address.
Any suggestions or possibly a routing table example?
Did you read this:
http://forum.xda-developers.com/showthread.php?t=1271536
I'm having the exact same problem. OpenVPN connects, but no traffic goes through VPN..
Paste your outpout of
ip route
ip addr
so we can figure it out what is happening.
Here is the output when OpenVPN is connected:
Code:
C:\Users\Matt\Desktop>"C:\Program Files (x86)\Android\android-sdk-windows\platform-tools\adb.exe" shell
[email protected]_solana:/$ ip route
ip route
10.10.0.5 dev tun0 proto kernel scope link src 10.10.0.6
98.145.116.191 via 66.174.201.132 dev ppp0
66.174.201.132 dev ppp0 scope link
66.174.201.132 dev ppp0 proto kernel scope link src 10.228.114.160
default via 66.174.201.132 dev ppp0
[email protected]_solana:/$ ip addr
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 8e:cd:9b:8e:73:75 brd ff:ff:ff:ff:ff:ff
3: gether0: <BROADCAST,MULTICAST> mtu 1428 qdisc noop state DOWN qlen 1000
link/ether 5e:bf:ba:15:68:12 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0: <NOARP> mtu 1460 qdisc noop state DOWN
link/tunnel6 :: brd ::
6: tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
link/ether 56:65:b5:b7:5c:98 brd ff:ff:ff:ff:ff:ff
10: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 10.228.114.160 peer 66.174.201.132/32 scope global ppp0
12: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/[65534]
inet 10.10.0.6 peer 10.10.0.5/32 scope global tun0
[email protected]_solana:/$
My OpenVPN server IP is 98.145.116.191, yet when I go to whatismyip.com on my phone it is still 174.255.162.200.
Here is my OpenVPN server config
Code:
port 5555
dev tun
proto tcp
comp-lzo
float
keepalive 10 60
ping-timer-rem
resolv-retry 60
status openvpn-status.txt
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.10.0.0 255.255.255.0
verb 4
mode server
push "redirect-gateway def1"
My client config
Code:
client
remote zone117x.dyndns.info 5555
proto tcp
comp-lzo
dev tun
float
ping-timer-rem
resolv-retry infinite
route-gateway 10.10.0.1
dhcp-option DNS 10.10.0.1
keepalive 10 120
ca ca.crt
cert client1.crt
key client1.key
I confess, I'm a little bit surprised by your output. ifconfig seems to have worked, and there is a host route to your VPN server, which is good, too.
However the default route didn't switch.
Could you please try the following, as root on command line:
route add -net 0.0.0.0/1 dev tun0
route add -net 128.0.0.0/1 dev tun0
Does this help?
BTW, even if this works, I guess you will run into MTU issues. Add something like "mssfix 1200" to your openvpn config.
It's saying invalid argument when I try both of those. Should I be using those IPs?
Sorry, I'm mostly clueless with this networking..
Resurrect from the dead.
I don't mean to resurrect this but I still can't get OpenVPN. I was wondering if anybody knew if a custom TUN.ko was still needed but the locked bootloader prohibited this still.
On another note I was hoping I could just reconfigure the iptables or iproute from the Droid 3 source and somehow use AOKP CM9 build to try this out. OpenVPN wasn't listed in the CM9 VPN listings but didn't know if it were possible to change that or revert to Stock Rom and go from there.
OpenVPN
I am running Maverick ROM 3.5 (based on stock firmware system files) and something really strange is happening.
I am able to connect to my openvpn server and i am able to access the file shares on the network and of course copy, delete or upload files. I am also able to connect to ssh server. BUT i cannot connect to any http servers inside to remote network !!!
Its really weird as i know my openvpn conf files are fine (i was using the same files with an openvpn client to a different phone and i was able to access the http servers from there.)

Bad gps on stock 5.0.1

Anybody experiencing bad gps on 5.0.1 GPE? I hardly get a fix and then I do, I often lost it. I really like playing ingress and it is no good for it.
I have recently bought this phone from another person, which declared it as Developer edition(but it has 32 Gb storage, and it was send to him directly from Czech HTC), it had stock 5.0.1 Lolipop pre-instaled and bootloader locked. I unlocked the bootloader on my phone and rooted it using TWRP 2.8.3.0.
I have also tried to flash htc stock based 4.4.3 rom(Viper 7.2), get fix there and get back to lolipop using nandroid backup, gps was a bit better afterwards, but it has messed the moint points of the internal sd-card and programs could not write to it. So I needed to relock and unlock bootloader again to get internal-sd card formated to the right way.
Do you think, that another radio can help this? I live in Czech republic, do you know which radio can work here?
This is what I have on fastboot screen:
***UNLOCKED***
M7_UL_PVT SHIP S-OFF RH
CID-HTC__032
RADIO-4T.30.3218.21
OpenDSP-v34.128.274.0429
OS-5.11.1700.3
eMMC-boot 2048MB
Dec 2 2014,22:11:20.0
hi!
since upgrade to 5.0.1 my GPS is also not working on my m7 gpe!
I found some reports from nexus owners too, but they wrote that they have disconnects, mine is complety messed up!
maps navigation while driving makes me crazy.
greetz
(Update)
fixed my gps by rooting and editing gps.conf
i used this, maybe you can get something more accurate for your location:
NTP_SERVER=0.de.pool.ntp.org
NTP_SERVER=1.de.pool.ntp.org
NTP_SERVER=2.de.pool.ntp.org
NTP_SERVER=3.de.pool.ntp.org
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.pool.ntp.org
NTP_SERVER=de.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0
# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert
# FOR C2K PDE SUPPORT, set the following
C2K_HOST=c2k.pde.com
C2K_PORT=1234
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
Click to expand...
Click to collapse
xlokix said:
hi!
since upgrade to 5.0.1 my GPS is also not working on my m7 gpe!
I found some reports from nexus owners too, but they wrote that they have disconnects, mine is complety messed up!
maps navigation while driving makes me crazy.
greetz
(Update)
fixed my gps by rooting and editing gps.conf
i used this, maybe you can get something more accurate for your location:
Click to expand...
Click to collapse
Thanks, I will definitelly try this. I am now sending my phone to the service because of the purple camera issue so I will try it when my phone return.

is this trojan ?

hi
I noticed about popular app named "Go keyboard 2015" connects to 218.213.248.155:10086
http://www.auditmypc.com/tcp-port-10086.asp
is this mean "Trojan"
whgp said:
hi
I noticed about popular app named "Go keyboard 2015" connects to 218.213.248.155:10086
http://www.auditmypc.com/tcp-port-10086.asp
is this mean "Trojan"
Click to expand...
Click to collapse
The IP address 218.213.248.155 is assigned to HK Net in Hong Kong. They may assign it to any customer or the number you are seeing may be spoofed to make you think it is HK Net or one of their customers.
The Port number is not an officially assigned one. Here is a listing, taken from the file /etc/services, used by the TCP/IP network protocol. It lists the port numbers and protocols that run on them. These are the ones that are near that number. There are many others.:
name port/network packet type [#]name of protocol
"sd 9876/tcp #Session Director
sd 9876/udp #Session Director
amanda 10080/tcp #Dump server control
amanda 10080/udp #Dump server control
amandaidx 10082/tcp #Amanda indexing
amidxtape 10083/tcp #Amanda tape indexing
isode-dua 17007/tcp
isode-dua 17007/udp"
The whois database record says:
~$ whois 218.213.248.155
% [whois.apnic.net]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
% Information related to '218.213.0.0 - 218.213.255.255'
inetnum: 218.213.0.0 - 218.213.255.255
netname: HKNET-HK
descr: HKNet Company Limited
descr: 15/F, Tower 2, Ever Gain Plaza,
descr: 88 Container Port Road, Kwai Chung, N.T.
country: HK
admin-c: DA56-AP
tech-c: DA56-AP
mnt-by: APNIC-HM
mnt-lower: MAINT-HKNET-NT
status: ALLOCATED PORTABLE
remarks: This object can only be modified by APNIC hostmaster
remarks: If you wish to modify this object details please
remarks: send email to [email protected] with your organisation
remarks: account name in the subject line.
mnt-irt: IRT-HKNET-HK
changed: [email protected] 20030702
source: APNIC
irt: IRT-HKNET-HK
address: 15/F., Tower2, Ever Gain Plaza,
address: 88 Container Port Road,
address: Kwai Chung, N.T.,
address: Hong Kong
e-mail: [email protected]
abuse-mailbox: [email protected]
admin-c: DA56-AP
tech-c: RC429-AP
auth: # Filtered
mnt-by: MAINT-HKNET-NT
changed: [email protected] 20110225
It is saying that the block of addresses that starts at 218.213.0.0 and runs for the next 255.255 addresses is assigned to HK Net. These are 8-bit addresses, 255 being the largest value each value between a pair of '.'s can be. This represents 255x255 possible addresses although in practice a zero represents a network rather than an address and 253-4-5 are assigned to routers, etc.
If you are worried about it you could send an e-mail to [email protected] and tell them you are concerned.

[Q] (Problem) Make Raspberry pi share internet via Ethernet (Filter)

Greetings,
I use Raspbian.
I come over here, I'm a beginner, and I would like to ask for help on an issue (draft) I'm doing.
Explained below:
First of all I have Raspbian in my Raspberry Pi, then I want to do is set this as a network node to monitor through "dumpcap" packets that pass through my network, I've done I installed everything necessary in fact I've already running great, I've done through a Wireless (USB) adapter from functioning as "Access Point" wireless (so will download the files to be saved), I've come this far following this tutorial: (Photo Attached) and another pair.
The fact is that since I could configure all my peripherals, the problem lies in the following:
I need to connect from my local home router or from the Internet source (ADSL Modem), through an Ethernet cable to my Raspberry Pi (which work to record all packets My network traffic by "dumpcap") it is noteworthy that this will have perfectly configured, then I need through another Ethernet cable which my computer (PC) will be connected by a transformer USB-> Ethernet (attached reference picture), for example, that I have done and the only mistake that happens to me is that my PC does not receive Internet remains limited, in theory I need to do is that the Raspberry Pi function as a filter through which to capture packets of dumpcap store in some files (this is already done), but then the computer will connect by USB-port Ethernet continues to have internet and work perfectly as if connecting from the ADSL modem to the PC directly.
Could anyone help?
Thanks in advance.
-----------------
Deputy contents of the most usual configuration files so that any expert tell me if I have an error .
/etc/default/isc-dhcp-server
Code:
# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
DHCPD_CONF=/etc/dhcp/dhcpd.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
DHCPD_PID=/var/run/dhcpd.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="wlan0 eth0 eth1"
/etc/dhcp/dhcpd.conf
Code:
#...
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
#...
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
}
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
#iface lo inet loopback
iface eth0 inet static
address 192.168.42.2
netmask 255.255.255.0
#gateway 192.168.0.1
auto eth1
#iface eth1 inet static
#iface lo inet loopback
iface eth1 inet static
address 192.168.42.3
netmask 255.255.255.0
#gateway 192.168.0.1
auto wlan0
#allow-hotplug wlan0
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
#auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet manual
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
up iptables-restore < /etc/iptables.ipv4.nat
/etc/hostapd/hostapd.conf
Code:
interface=wlan0
driver=rtl871xdrv
ssid=OggunLab
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Shabukenke01
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
/etc/default/hostapd
Code:
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
DAEMON_CONF="/etc/hostapd/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
----------------------

Categories

Resources