No way to have this DAMN TIM card working with tethering. My interface from netcfg is ccmni0 I have therefore tried the following and none of them worked:
su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE"
su -c "iptables -tnat -I natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE"
Also tried the script on the other post suggested by traketto and:
GScript crashes, whereas Smanager returns the attached error!....Thank you anyway for your help!!...
This issue probably requires Developer actions to be solved … anyway I’m posting on General section cause it’s not a properly developer thread …
Since Android 4.1.2 there’s a problem in tethering for all people that has a carrier plan that doesn’t include Tethering. I’m on Vodafone Italy with “mobile internet” plan (2GB/month). I have never had problem with tethering my data connection from my phone to a laptop or tablet but starting from Android 4.1.2 upgrade I noticed that when I activate built in wifi hotspot the APN is automatically and secretly changed from the default one (mobile.vodafone.it) to a new one (web.omnitel.it) that charges my bill with additional costs … It happened to me in the past using branded phone with branded firmware, but after rooting and switching to CyanogeMod firmware the problem was solved … now I’m on an unlocked Galaxy Nexus with CM or others custom ROM …
On 4.1.2 I bypassed this problem using dedicated app “Wifi Tether for Root”, but now on 4.2.1 also this app doesn’t work anymore (ok this is another issue, here you can find more details).
Well … rather bad … I did a lot of research on the web, and here is the most interesting thing I found:
A person working for Roger carrier stated this (see original thread and full post here ):
So, can someone confirm this behavior? Is there some Developer that can intercept the section of Android OS code that apply this flag to the data download and find the way to avoid this annoying issue??
I want to tether again without pay additional money! I’m paying for 2GB/month! What do you care, Vodafone, how I use it??
Thanks in advance!
After some time someone found a solution, at least for all users with ROOT:
Here is the solution script
Here is a method to setup the script on boot
Android 4.1.2 introduced that ability (and requirement) for Android devices to properly flag when data is for tethering purposes. This is the first time this has been used in a vanilla release of Android.
For everyone frustrated by this update to Android: Android respecting a carrier's request to know if data is for a tethered device IS NOT A BUG. IT IS A FEATURE. It's not a feature for users like you and me, it's a feature for manufacturers like Samsung and HTC, so they can in turn build devices that carriers can have more control over.
So, to be clear, THIS IS NOT A BUG. Google INTENDED to respect carrier tethering rules.
I think I'm in the same situation as you with Vodafone Italy :silly:
I'm running CyanogenMod 10.1 (so Android 4.1.2) with a Samsung Galaxy S2 and can't get the wi-fi thetering work: all seems ok, other devices can see and connect to the hot-spot, but can't get any data from it...
I thought it was some problems with the nightly builds of CM, but other people are reporting that wi-fi tethering is correctly working.
Now I read your message while searching some information about the Galaxy Nexus (my Galaxy S2 developed a faulty loudspeaker, and I'm considering to get it repaired under warranty then sell it and buy a Galaxy Nexus, I've found it at 269€) and maybe we have the same problem, but I've got Vodafone to lock the web.omnitel.it APN, to prevent costly surprises...
I think problems arise with operators that make distinctions between different kinds of APN (like Vodafone Italy with web.omnitel.it and mobile.vodafone.it) and not with the ones that don't care about the APN you use (to my knowledge, TIM Italy doesn't care about the APN you use)
I'll keep an eye on this topic and let you know if I find some news!