[Q] PPP build compatible Netmonitors - HD2 Android Q&A, Help & Troubleshooting and Genera

PPP builds use an other interface name for the data connection (ppp... instead of rmnet) - but most of the traffic counter programs are hard-coded to rmnet. Which programs are able to count the traffic of PPP builds too?

Related

MIDP KVM proxy Settings.

Hi.
I am trying to make the Opera_Mini work using JEODE MIDP 2.0 profile.
My service provider does not allow me to make internet connections except for a predefined wap server in my current GPRS Plan. But I have a \'hacked\' IP address and Port through which I can tunnel through to get \'full\'access to the Internet.
Again, I can easily configure NetFront to make use of this proxy for browsing.
The requirement is to make the Opera_mini Midlet to connect using this proxy.
What I have found was the VM uses an APN, instead of the specific proxy&port to connect to the internet.
I tried with a few other VMs like J9. But ALL of them cant tunnel.
I found this information on the MIDP configuration parameter to set the HTTP proxy:-
com.sun.midp.io.http.proxy=<url>:<port>
I am yet to create a link which takes this parameter to the VM as an argument.
Again, I have no clue about the MIDP_HOME parameter value w.r.t JEODE or J9. If so, i could set the same values in the $(MIDP_HOME)/lib/internal.config file - instead of passing as a -D parameter.
Do you think this will work?. Anyone faced any problem with HTTP Proxy setting for vm?
Please let me know!
Thanks in Advance and Regards,
Vinod

wifi ipconfig script/app

Hi,
Any small app (on wm5) for changing the IP/DNS wifi card setting throut some kind of script, profile change? Example: profile#1- home (fixed ip settings, custom dns) ; profile#2 - public hotspot (auto ip ; auto dns ) ; profile#3 - work wifi (fixed ip ,...) and so on.
Tks
Did you find the app.?, I'm interested too.

Working with the RIL for Cell Tower IDs (Google Maps "My Location", PhoneAlarm, etc)

Working with the RIL for Cell Tower IDs (Google Maps "My Location", PhoneAlarm, etc)
Ladies and Gents,
I'd like to try and understand a bit more about how the RIL handles Cell Tower IDs in Windows Mobile.
I have two WinMo 6.1 phones, 1 HP iPaq RW6828 (O2 Atom rebadge) and 1 HTC S710 (Vox) Smartphone.
The iPaq is using WM6.1 OS 5.2.19400 build 19400 from NHOCBANME
The S710 is using WM6.1 Standard 5.2.19195 build 19202 from Dr Martin Gonzo
The S710 fully supports both the Google Maps "My Location" feature and PhoneAlarm's Location-based profile switching, but the Atom does not support either.
I've partially figured out some of the the details to recognise the Cell IDs - I've managed to get PhoneAlarm to log the Cell Tower IDs and facilitate Location-based switching (yay!).
However it came at the cost of disabling all GSM Data connections. It would attempt a connection but then time-out after a few minutes without connecting.
So here's what I've been looking at:
MSDN: Radio Interface Layer
Particularly:
RIL Registry Settings
Specifically the "Packet" value:
The HKEY_LOCAL_MACHINE\Comm\Cellular\RIL registry key configures the connection mode and number of concurrent connections used by Radio Interface Layer. The following table shows the named values.
Value:
Packet : REG_DWORD
Description:
Specifies the connection mode used by GPRS connections. When set to 0, a RAS-based connection is used. When set to a value greater than or equal to 1, NDIS GPRS is used.
By default, this registry key does not exist. To enable RIL NDIS packet APIs, this registry key must be [created manually or] added to Cellcore.reg.
Click to expand...
Click to collapse
By default in the iPaq the Packet key does not exist and the Contexts value is set to 2.
By comparison, the S710 has the Packet value set to 1 and Contexts set to 3.
Creating a Packet key and setting the value to 1 allows the PhoneAlarm location log to successfully log the Cell Tower IDs, however (as previously mentioned) the GPRS data connection fails to connect.
Setting the Packet value to 0 re-enables the data connection but disables the Cell Tower logging.
Chaning the iPaq Contexts value to 3 to match the S710 makes no difference either.
Does anyone have any further thoughts that may help get both Cell tower IDs and GPRS working together?
Many thanks
Tim
Bump for some views please?
MODS: I hope you don't mind if I cross-post this to the Dev/Hacking forum. Pls delete it there if you do.
Phrak said:
Bump for some views please?
MODS: I hope you don't mind if I cross-post this to the Dev/Hacking forum. Pls delete it there if you do.
Click to expand...
Click to collapse
Hi,
Have you found any solution I having the same problem.

Privacy concerns on IPV4 implementation on Mobile networks.

Edit:
I have figured out that you can have logging softwares within the system however the logging system will log all details from NAT to the client but what it cant log is the Transversing of Port numbers at the gateway...so my question is do mobile operators keep log of these tables after the expired session. So here is the scenario, to backtrace. you would need the website host to give you the ip address, source and destination port, timestamp etc to start the process, the ISP will then look at its Logs to find out the traffic requests but map each of these requests, the ISP will need to know the table which was used for transversing but according to my knowledge the table gets deleted or releases the port number and ip address information after its timed out idle.
Anyone who can let me know if network operators keep a copy of this table?
Thanks
Gents,
I was looking for some information regarding IPV4 implementation on mobile networks. I have read in detail the IPV4 implementation on mobile networks and also IPV6 theoretical implementation on mobile networks. So here is my analysis so far – For IPV4 on mobile networks.
Mobile networks use NAT for giving dynamic IP addresses to its mobile device users who connect to the internet. On the outside the mobile network operator might have a few external static or dynamic IP addresses. You can get a static external ip address for your mobile device or group of devices but you will have to pay for it. GPRS runs on the back of GSM or UTMS (3G) but looking at GPRS implementation, you have GSGN, SGSN and mobile node all working in harmony in a triangular modulation however where I am lost is with CDRs (call detail record) which are sent by CGF (charging gateway function). Do these records keep a record of internal IP assigned to the mobile device for which the packet was transmitted or not? So far what I have found looking at the format of a CDR is it records the ip of GSGN but not the mobile device. What I am trying to understand is if the mobile users can be traced back from external ip all the way back like reverse lookup? Please note this question is in regards to IPV4 on mobile networks not IPV6.
Can someone please shed some light on this?
Many thanks in advance
V

Rom that disables tethering check

I am on the Pure Nexus that disables tethering provision but I have a problem with it. I love the rom but I have Total Wireless which is a Verizon MVNO and for some reason it has a bunch of different APN settings but none of them right for Total. I only get 3G. It will also not let me add a new APN setting. If I put in my MetroPCS sim it has the correct APN plus will let me add a new APN if needed. Pure is the only one I have seen in its description that says it turns off the check. Is there another custom rom out that does this? Thanks.
Disabling the tether provisioning check is usually nothing more than adding the following line to your build.prop and rebooting:
net.tethering.noprovisioning=true
Although if this still doesn't seem to work, sometimes you also need to:
(Optional) Using a root file explorer, navigate to /data/data/com.android.providers.settings/databases/ and make a copy of settings.db
- Install and open a SQL editor and grant it root access when prompted (such as SQLite Editor)
- Tap the APPS tab and then “Settings Storage”
- Tap on settings.db then global
- Tap on the + symbol to add a new key/value pair
- In the name field type in tether_dun_required
- In the value field type in 0 (zero)
- Tap Save
Note: If you do not have a SQL editor, this can also be accomplished with adb, using the commands:
Code:
adb shell
settings put global tether_dun_required 0
Open the Android System Settings
- Under WIRELESS & NETWORKS tap More…
- Tap Cellular network settings, then Access Point Names
- Tap your active Internet or Tethering APN (will vary by carrier, might only be one)
- Make sure your APN protocol and APN roaming protocol are both set to IPv4 (it doesn’t look like tethering works with IPv6 yet)
- (If you’re using T-Mobile) Make sure your APN is set to fast.t-mobile.com
Reboot
Click to expand...
Click to collapse
It should be noted that some carriers use the number of hops left on packets that hit their servers to indicate that you're using tethering rather than actual cellphone data.
The xt_HL.ko netfilter driver included with a customer kernel should allow a user to use the IP Tables rule to change tethered traffic TTL with the default TTL of the device. This would make tethered data appear as if it's actually cellphone data.
More information about including this in a kernel can be found here. (Sorry, it's in Russian and not my page)
Most of this info was taken from Enable Wireless Tethering in the Moto X Pure and other various sources but is fairly generic for most plain Android builds.
acejavelin said:
Disabling the tether provisioning check is usually nothing more than adding the following line to your build.prop and rebooting:
net.tethering.noprovisioning=true
Although if this still doesn't seem to work, sometimes you also need to:
It should be noted that some carriers use the number of hops left on packets that hit their servers to indicate that you're using tethering rather than actual cellphone data.
The xt_HL.ko netfilter driver included with a customer kernel should allow a user to use the IP Tables rule to change tethered traffic TTL with the default TTL of the device. This would make tethered data appear as if it's actually cellphone data.
More information about including this in a kernel can be found here. (Sorry, it's in Russian and not my page)
Most of this info was taken from Enable Wireless Tethering in the Moto X Pure and other various sources but is fairly generic for most plain Android builds.
Click to expand...
Click to collapse
Thanks for the info but I guess my biggest question is I wonder why the Pure Nexus Rom will not let me add an APN for Total wireless but will for Metro? I have a G5 Plus that is an Amazon ad subsidized also and it will let me change an apn for Total???Thanks for your info though.

Categories

Resources