Reverse WiFi Tether Script - Miscellaneous Android Development

Hello Hackers!
I know enough about shell scripts and networking that I was able to create a script that connects to a WiFi network from your remembered networks and enables NAT from hosts on the WiFi network to the 4G LTE data connection.
All you have to do after it's ready is either change the gateway on any PC on the network to the IP address of your phone or add a static route for a specific destination to route to your phone's IP address.
This script requires root access and a way to run shell scripts. I use the SManager app to run it, you just have to make sure it's set to run as root.
If you have a data connection other than 4G LTE then I expect it will most likely have a different interface, you will have to use OS Monitor to see which interface it uses then modify this script to use that interface.
There are a couple issues that I have with it. One is sometimes I have to run it a couple times before DHCP will work and the other issue is the WiFi seems to lag badly causing the internet to perform much slower than it should. Can someone have a look please?
If you make changes to the script then make sure you convert it to UNIX format or SH won't read it correctly. If you have Linux on your PC you can use the command "fromdos" to convert it.
I have attached a zip file with both the on and off scripts below. If anyone has more experience than I and would like to improve it then please let me know and I will include the improvements. :highfive:
Thank you!

Related

WPA Enterprise Auth - confirmed working

WiFi on campus here uses WPA enterprise auth - good. I was shocked when I saw that the phone seemingly didn't support it. Network didn't even appear in the list, and Add Network only supports WPA Personal / WEP. How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
I've been using campus wifi successfully for a few days now. It seems to integrate well enough - the wifi settings menu doesn't seem to break at all, the enterprise-authed network and status are listed correctly including the 'lock' icon, etc.
These instructions are slightly modified from being specific to the particular university (posted locally too, you see). If you can rub some braincells together, this can be adapted. The parts regarding a certificates file may or may not be needed in your setup, for example.
* Get a root shell
* cd /data/misc/wifi/
* cat wpa_supplicant.conf
* The existing supplicant config is displayed - copy and paste it into a text editor (the beginning bits are important, as are your existing networks)
* Paste in a working wpa_supplicant.conf section for your network at the end
* Fill in username and password in the new section. Replace the path for cacerts.pem with /data/misc/wifi/cacerts.pem
* Save the new config onto the SD card
* Save the cacerts.pem (same site) onto the SD card also
* On the handset: In the settings/storage menu, disable the SD card for USB storage (otherwise, can't access it from the shell)
* rm wpa_supplicant.conf
* cp would be used here normally, but it isn't in the stock image: dd if=/sdcard/wpa_supplicant.conf of=wpa_supplicant.conf
* chmod 666 wpa_supplicant.conf (Warning! Readable/Writable by EVERYONE! Use 664 such that only root can write it if you want, but this will possibly disallow changes by the settings app - if chown was available, ownership would be reverted back to wifi:wifi)
* dd if=/sdcard/cacerts.pem of=cacerts.pem
* chmod 444 cacerts.pem (needs to be readable by wifi user)
* The network should appear in the wifi menu and connect if you enable wifi. Reboot if not maybe?
Problems:
* Permissions are a bit wonky due to lack of chown. The process would be cleaner with busybox installed (possible with root), but this process is written to work on a stock RC29 handset.
* It will almost surely fail following an update. Try not to give up root before the WiFi UI is patched
* Maybe there's a reason that enterprise auth is absent from the settings UI
* WiFi settings page may or may not break. WiFi settings page may or may not undo your changes.
A quick troubleshooting tip: if you've dealt with wpa_supplicant before, note that wpa_cli is available to root. Helpful to diagnose any issues that crop up.
Enjoy.
How Apple of them. But WHY? It's wpa_supplicant behind the scenes
Click to expand...
Click to collapse
I suspect it's because the majority of consumers only access wifi networks secured through psk or mac-address. iirc my university used mac-address too. Not sure if that's changed by now. In any case, I wouldn't hold my breath for official support on the G1. Maybe on some future Android device with enterprise in mind.
Anyway, good tips and good first post. Welcome to the forum
busybox has chown
WPA2
Can I ask a question?
The SSID for your campus wifi is not broadcasted, correct? if this is true, then it won't show up and the only way to get access is to add it manually.
Now when you go to add it manually, did you try to change the type of security before you flipped out the keyboard? Just wondering since WPA2 is clearly seen if you have the keyboard in and if you have it out it looks like WPA2 isn't an option but if you try to move the security box with a swipe up with your finger, WPA2 will be shown. I haven't had a single problem attaching to my home or work network using WPA2 PSK since RC19 and beyond.
Yep, busybox has chown - which makes the whole thing cleaner and safer. My instructions were written originally with no assumptions as to previous modding, incl how to get telnet.
The wifi network here does broadcast, but is filtered out due to "unsupported" security. Add network lists wpa2 personal but not enterprise.
I modified my wpa_supplicant.conf file using your instructions and it worked!
Thanks!
Dave
vSymm said:
How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
Click to expand...
Click to collapse
Because there's a substantial amount of UI work that needs to be done for WPA2-Enterprise compared with the relatively common WPA2-PSK.
My advice? If official support is something you'd like, go write it and submit a patch to the Android devs.
Not working
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Confirm that the permissions were set correctly on wpa_supplicant.conf
I'm sure you can find an example for that particular setup online somewhere.
happyface_0 said:
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Click to expand...
Click to collapse
try this:
adb shell
cd /data/misc/wifi
chown 1010:1010 wpa_supplicant.conf
Worked for me too, but the connection was really unstable. I've added the option bssid to wpa_supplicant.conf to prevent roaming. Now it works really well on my desk, but I haven´t tried the rest of the company.
need help connecting
I'm trying to connect to a campus network, I see the SSID detected (as following), and It tries to connect and aborts by itself.
my wpa_supplicant.conf shows this:
network={
ssid="Techwifi"
scan_ssid=1
key_mgmt=NONE
priority=2
}
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
linulli said:
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
Click to expand...
Click to collapse
Yes, I have it working.
Code:
network={
ssid="ssidname"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="user"
password="pass"
phase2="auth=PAP"
}
Note: It seems to drain my G1's battery pretty nicely and it starts to get hot after being connected for a bit. Also, my G1 added disabled=1 to the end of this network after the ADP1 v1.1 update, strange.
Thanks happyface_0,
so I will have a few minutes online.
Is there a way to alter your wpa_supplicant settings on an unrooted German G1 , or how can i downgrade and then alter the settings, does anyone know?
I'd love to know that too, i really want to use wifi at work.
Can we do anything to help you help us?
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Gedomania said:
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Click to expand...
Click to collapse
Neither WPA-Enterprise nor WPA-2 Enterprise are available yet without actually editing the wpa_supplicant configuration manually, even on RC33.
Hmm thats pretty sad, is it actually possible to write a program which can edit the Wpa_supplicant file so that we can manually insert the settings we need to get WPA 2 Enterprise working , even on phones without root?

[Request] Patch for enabling ad-hoc wifi networks in ROMs

Devs,
I use my office LAN connection as a net connection for my 32a Magic phone by creating an ad-hoc network and sharing the LAN connection - basically the opposite of WiFi tethering. I have been successfully using that by following the instructions at http://modmygphone.com/forums/showthread.php?t=22681 (which is applicable for all android phones, I guess). Ad-hoc networks are not enabled by default. The procedure requires changes in the "system/etc/wifi/tiwlan.ini" and "/data/misc/wifi/wpa_supplicant.conf" files.
Making these changes with the Magic touchscreen keyboard is quite tedious.
My request is for ROM developers to:
a) Enable this in their ROMs by default (I guess everyone would benefit from enabled ad-hoc wifi); OR
b) If someone could create a patch that overwrites these files with modified variants that is easy to apply over ANY other ROM (would be useful for those who tend to change ROMs often )
I searched for a solution and posted a question in Sapphire General, but no one chastised me/answered, so am reposting here (on second thoughts, I should have posted here in the first place).
Thanks!
post the modified files here, so ppl can create an update file.
+1 - it would be lovely to have a patch for that!
This would be great for someone like me in a country that charges a lot of money for 3G. Hope it gets implemented.
Files to be changed
I have attached the two modified files:
1) tiwlan.ini (remove .txt) needs to update the one in /system/etc/wifi/
2) wpa_supplicant.conf (remove .txt) needs to update the one in /data/misc/wifi/
This will require you to create an open (no encryption) Wifi network called "androidwifishare" (case sensitive, without the quotes) and share your LAN connection.
Note that overwriting wpa_supplicant.conf will make your phone forget all stored Wifi networks and their keys
slash12345 said:
Making these changes with the Magic touchscreen keyboard is quite tedious.
Click to expand...
Click to collapse
Why don't you just "adb pull", edit on the computer, and then "adb push" the modified files back into the cell phone ? You should be able to do this into any rom, with no need to package this into an "update.zip"
I don't understand anyway why should you create an ad-hoc network .. wireless access points are very cheap, like starting from 30$, why one would use his PC and a dedicated wifi card to create an ad-hoc network nowadays ?
ziokendo said:
Why don't you just "adb pull", edit on the computer, and then "adb push" the modified files back into the cell phone ? You should be able to do this into any rom, with no need to package this into an "update.zip"
Click to expand...
Click to collapse
Because, it's easier to have a wifiupdate.zip that can be stored in the SDCard and can be applied at any time after changing a ROM (without the need for looking around in a PC) using Amon_RA's recovery
ziokendo said:
I don't understand anyway why should you create an ad-hoc network .. wireless access points are very cheap, like starting from 30$, why one would use his PC and a dedicated wifi card to create an ad-hoc network nowadays ?
Click to expand...
Click to collapse
a) Not everyone has a WiFi network _in office_ (please refer to my original post)
b) Its a good way to avoid network data costs (which are high)
c) You get good transfer rates, much better than the mobile network (no 3G here)
As simple as that
i know this thread is kinda old and "dead" but i tried this with my girlfriends magic
works but as soon as the magic connects to the wifi of my G1 it reboots
strange thing
i noticed that this also happens with the free Wifi spot from Mcdonalds at our city
what could that be and why won't it happen when the magic connects to my access point??
thx for help in advance
by
KK
EDIT:
Magic ROM: Cursorsense 1.2.6.1
Device: HTC Magic PVT 32A

Spoofing Mac Address?

I have been trying to spoof my mac address on my phone. I am a pen tester so please don't lecture me on the ethics behind this because I know. It is very simple to do on linux, so I thought it would be possible on Android.
I installed busybox and terminal emulator and ran the su command. So far, i can run 'busybox ip link set eth0 address XX:XX:XX:XX:XX:XX' 'busybox ip link set eth0 broadcast XX:XX:XX:XX:XX:XX'. Everytime I do this, it changes the mac address, but breaks the wifi functionality. The only way to fix the wifi was to disable, then re-enable it, but that resets the wifi. I was wondering if we could colaborate on this and maybe get somewhere.
I have also seen this somewhere, but am not sure if it will work.
ip link set address NEWMAC dev eth0
Sorry for digging out this old thread, but I was trying the same and failing in the same way as you were.
The only difference is, I do not change the broadcast address, because imo this should remain on "all FF" (please tell me, why the broadcast should be set to the new MAC).
If I change it and fire up 'ip link show eth0', it shows the changed MAC.
The settings menu still shows the real MAC.
As in your case, the WiFi-connection (naturally) terminates (the router (access point) cannot know about the change). If I try to reconnect to the router, I get the error that my password is wrong. When checking the router's log, I see an entry about a failed connection attempt from the changed MAC address.
The only explanation I have is that the WPA2 encryption somehow incorporates the actual "real" MAC address so the encryption fails and as a consequence the connection is refused.
So-far, I haven't tried it without encryption.
Another question would be, what exactly is executed, when you activate WIFI on the phone? Which script?
I know that the network device (in my case "eth0") is created at this point.
If WIFI is down, no such device exists.
I would suspect some script that creates the interface, activates it and starts a demon that handles the connection stuff.
Maybe it would help to inject the spoof code after the interface was created, but before it is activated? So-far, I couldn't identify the correct script/command. Does anyone know?
Knowing the command that creates the network interfaces would also help when searching for the script.

Tips to get VPNC Working on Your Transformer

After finding bits and pieces of help all around these forums, I have assembled consolidated instructions on the steps I needed to take to get the VPNC Widget working on my Transformer (running Prime 2.1.1).
Install the newest version of VPNC from the Market
Install the newest version of Busybox from the Market
Open a terminal window
Switch user to root
su -​Change the /system filesystem to read-write
mount -o,rw,remount -t ext4 /dev/block/mmcblk0p1/system​
Rename /system/bin/ip to /system/bin/ip.bak
mv /system/bin/ip /system/bin/ip.bak​
Change the /system filesystem back to read only
mount -o,ro,remount -t ext4 /dev/block/mmcblk0p1/system​
Update the vpnc-script
cd /data/data/com.gmail.mjm4456.vpncwidget/files
chmod 777 vpnc-script
vi vpnc-script​
Change MYBOX="$0-box" to ="'
I commented out the original, and added the new entry as a new line:
press i to get to insert mode
add a # in front of the line above so it reads #MYBOX="$0-box"
create a new line that says MYBOX=""
press the Volume-Up and e key to leave insert mode
enter :w to write the file
enter :q to close the vi session
chmod 500 vpnc-script​
The VPNC Widget should now work
This did the trick. I did manage to connect to vpn with vpn connections app, but it would freeze when trying to disconnect. This one disconnects easily so I can get back to home network. Thanks.
Hmm, I must be weird.....I installed a "VPNC Widget", entered the information, and can access my companies VPN just as if I was using a regular Linux box; and the only major tweak I've made to my TF was changing to Prime.
Sent from my Transformer TF101 using Tapatalk
Cross posting from the Cisco VPN thread, how can I configure the password to prompt me for my token?
Edit in:
Just leave the PW field blank and it prompts me
Also, I was able to make all your modifications from Root Explorer
I'm running stock prime kernel and I get an error that the advanced routing is not enabled. My VPN disconnects after a random amount of time. Does Roach's OC kernel contain the advanced routing? Can a kernel be recommended that has that? I'd like to be able to maintain a VPN session for longer than 30 mintues.
jefbal99 said:
I'm running stock prime kernel and I get an error that the advanced routing is not enabled. My VPN disconnects after a random amount of time. Does Roach's OC kernel contain the advanced routing? Can a kernel be recommended that has that? I'd like to be able to maintain a VPN session for longer than 30 mintues.
Click to expand...
Click to collapse
I haven't found one yet. I just tried Clemsyn's new kernel, but same thing
I have upgraded to ICS and found I can now VPN using the native application included with ICS. I used the same credentials in the IPSEC Xauth PSK setup as I did in the VPNC Widget setup, and it worked perfectly. Should be no more random disconnect issues.
dm36415 said:
I have upgraded to ICS and found I can now VPN using the native application included with ICS. I used the same credentials in the IPSEC Xauth PSK setup as I did in the VPNC Widget setup, and it worked perfectly. Should be no more random disconnect issues.
Click to expand...
Click to collapse
Yeah, but did you actually use your VPN after connecting? It seems that ICS has a bug and it really doesn't work (do some google searches).
So close, yet so far away... Back to VPNC Widget....
works great for me here ,only issues i have seen are folks using junos pulse but that seems to be a juniper thing YMMV
I guess I should clarify - I'm connecting to a Cisco IPSec VPN using a pre-shared key. Are you saying that you have this working with the current version of ICS (4.0.3)? No that I think of it, I think it's only broke in 4.0.3 - was ok before that....

Unlimited Tethering LG V10 Tmobile H901

So i've been a user of xda for quite sometime, however i never really contributed before so i'd like to share my latest discoveries and hopefully i can help someone in the future.
(Please note this is for intermediate users i will not be going into full details. Feel free to google any keywords here for further information)
Please note this will erase your device!
Disclaimer: I am not responsible for anything you do to your device ie: damages. Proceed at your own risk
This is a tutorial on how to get unlimited tethering on an LG V10 Tmobile
First you will need to unlock bootloader and get TWRP so you can flash SuperSU and get root.
I used a combination of these two guides. DOTtech i just used to get LGUP. I do not believe the .kdz (refurbish) step is necessary.
https://dottech.org/198032/how-to-root-lg-v10-t-mobile-h901-on-android-6-0-marshmallow/
http://forum.xda-developers.com/tmobile-lg-v10/general/root-android-6-0-h901-t3382819
make sure you use this .tot file from xda (most updated, July) link
once you have flashed the tot file. make sure you download supersu and save it on your phone. Link Here .You will need to boot into recovery mode. The best way i found to boot into recovery mode is to use "adb reboot recovery" command via adb command terminal. For help on setting up adb, usb debugging, and oem unlock. follow the youtube video below. Do not follow his recovery flash steps. (That is Outdated!). once you have adb set up, phone on, open a terminal, navigate to your adb folder and run the "adb reboot recovery" command. Phone will boot into TWRP. Find your SuperSU file. Flash it. You are now rooted!
https://www.youtube.com/watch?v=PPLwFGxLQA4
once you have root....
you will need wifi tether router from fabio grasso. Buy it. best money ever spent.
next you will need to edit your build prop.
download es file explorer. build prop is just a text file. enable root explorer in es file explorer. navigate to your root folder/system.
under system you will find build.prop. open with es text editor. at the end of the text file insert
net.tethering.noprovisioning=true
hit back. and it will ask you to save. save it!
This will allow our wifi tether router app to work properly.
reboot your phone.
open your wifi tether router app. The most important setting here is under method. Use Native! This will tell wifi tether router to port it's connection through your native hotspot app.
You should now be ready to go.
Now, how do we prevent Tmobile from noticing our traffic is being tethered?
We need to change a few settings on our computers. You will want to change your defaultTTL to 65 (decimal) on all your PCs.
For details on that follow this youtube video
https://www.youtube.com/watch?v=PZOqm98kzIU
for windows 10 its a little bit different. Use this command in a terminal.
netsh int ipv4 set glob defaultcurhoplimit=65
This should prevent Tmobile from noticing and counting your hotspot data.
If i missed anything, please feel free to message me along with any other questions.
Cheers!
Hi,
What are your setup parameters for Wi-Fi Tether?
Sent from my LG-H901 using XDA-Developers mobile app
Encryption wpa2-psk
wifi channel 1
interface wlan0
method 4 -native tether
auto disconnect wifi when start tethering (check)
wifi scanning autodisabler (check)
i also root disabled all tmobile apps especially com.tmobile.pr.adapt
Good Luck!
When was the last time you've checked your usage? I'm using a vpn (in addition to build.prop and settings.db "hacks") as well, so not sure how they see it now. I'll change my TTL on the pc as next precaution. Vpn used to be the bullet proof method, but they're getting sneakier.
RussianBear said:
When was the last time you've checked your usage? I'm using a vpn (in addition to build.prop and settings.db "hacks") as well, so not sure how they see it now. I'll change my TTL on the pc as next precaution. Vpn used to be the bullet proof method, but they're getting sneakier.
Click to expand...
Click to collapse
My apologies to everyone, i guess my post was a little premature. I just got the text message today saying i've used 80% of my mobile hotspot. RussianBear, i am interested in your settings.db hack. What is the purpose of that hack, and also what vpn do you use?
The TTL was a game changer for me with my S5. The problem i am running into with the LG V10 is that in the wifi tether router app, the hostapd method would not work anymore. I "enable wifi router" and i can't see my hotspot.
Russianbear, how far along have you gotten with this. Maybe we can help each other. Can you see your hotspot via wifi tether router? What are your wifi tether router settings? The only way i was able to activate it was with the Native method, however i believe the native hotspot embedded with the phone sends packets to tmobile.
I was wondering also if a custom rom can help me in this situation. It seems as though the native hotspot does not allow third party apps like "wifi tether router" to activate the hotspot. Can anyone recommend a good stable custom rom that can help me accomplish this?
Cheers!
jontav said:
My apologies to everyone, i guess my post was a little premature. I just got the text message today saying i've used 80% of my mobile hotspot. RussianBear, i am interested in your settings.db hack. What is the purpose of that hack, and also what vpn do you use?
The TTL was a game changer for me with my S5. The problem i am running into with the LG V10 is that in the wifi tether router app, the hostapd method would not work anymore. I "enable wifi router" and i can't see my hotspot.
Russianbear, how far along have you gotten with this. Maybe we can help each other. Can you see your hotspot via wifi tether router? What are your wifi tether router settings? The only way i was able to activate it was with the Native method, however i believe the native hotspot embedded with the phone sends packets to tmobile.
I was wondering also if a custom rom can help me in this situation. It seems as though the native hotspot does not allow third party apps like "wifi tether router" to activate the hotspot. Can anyone recommend a good stable custom rom that can help me accomplish this?
Cheers!
Click to expand...
Click to collapse
I'm using private internet access vpn. Not currently using any play store apps, just my native usb/wi-fi tether, but it looks like they upped their game this month, as I've already ran out of hotspot data lol
The settings db "hack" was forcing zero flag inside a settings database. In MM it was moved to this location:
/data/system/users/userid/settings_[system|global|secure].xml"
On V10 it's under global.xml - search for tether_dun and make sure that's 0.
You can also try using adb or terminal emulator and execute commands found here:
https://pmf.silvrback.com/fixing-tethering-on-android-kitkat
I'm using the same settings but my usage keeps going up
Sent from my LG-H901 using XDA-Developers mobile app
I have to find a way to get wifi tether router working on this phone. Wifi tether plus DefaultTTL will fix this. If anybody tries wifi tether and gets it to work with LG V10 please let me know. Maybe its my phone. I did use the .tot file in this thread
http://forum.xda-developers.com/tmobile-lg-v10/general/root-android-6-0-h901-t3382819
I'm thinking maybe that might have corrupted something and is not letting me activate my hotspot via wifi tether router.
Looks like adjusting ttl has worked for now.
RussianBear said:
Looks like adjusting ttl has worked for now.
Click to expand...
Click to collapse
Can you please explain where and how you did this?
I'll try this, but dont think it will work. I've used Wifi Tether Router alot before, but that was before Tmo started cracking down on heavy tether users not too long ago. Now if I try to use it, they always notice quickly. I also did the no provisioning trick but same results. I created a new APN with a guide I found, same thing. I didnt change any values on my other devices' end. I've heard it helps if you use a different DNS server but dont know for sure. It may also help if you use a different user agent.
I do believe the days of unlimited tethering with Tmo are over, I've tried lots of tricks but didnt get far.
luckydog98 said:
Can you please explain where and how you did this?
Click to expand...
Click to collapse
use the video from the op above.
AnonVendetta said:
I'll try this, but dont think it will work. I've used Wifi Tether Router alot before, but that was before Tmo started cracking down on heavy tether users not too long ago. Now if I try to use it, they always notice quickly. I also did the no provisioning trick but same results. I created a new APN with a guide I found, same thing. I didnt change any values on my other devices' end. I've heard it helps if you use a different DNS server but dont know for sure. It may also help if you use a different user agent.
I do believe the days of unlimited tethering with Tmo are over, I've tried lots of tricks but didnt get far.
Click to expand...
Click to collapse
Invest into a good vpn service.
@RussianBear: I actually use a VPN on my phone most of the time. However, by default, Android wont direct tethering to a VPN. I found a guide awhile back that shows how to use terminal commands to forcibly route through a VPN, it worked for quite awhile, but Tmo caught on eventually. I made sure the VPN and my script were already running before activating tethering. A VPN is supposed to be encrypted, so how they detected ne is beyond me. I guess they saw the sheer amount of data I was using and suspected tethering (over 500GB in one month, at the highest point).
AnonVendetta said:
@RussianBear: I actually use a VPN on my phone most of the time. However, by default, Android wont direct tethering to a VPN. I found a guide awhile back that shows how to use terminal commands to forcibly route through a VPN, it worked for quite awhile, but Tmo caught on eventually. I made sure the VPN and my script were already running before activating tethering. A VPN is supposed to be encrypted, so how they detected ne is beyond me. I guess they saw the sheer amount of data I was using and suspected tethering (over 500GB in one month, at the highest point).
Click to expand...
Click to collapse
Can you not enable vpn on the clients instead? I have my asus router set up with my vpn settings, so anything connecting to it automatically gets passed thru the vpn ip instead. Lower your ttl on desktop/laptop, do the build.prop entry, set ipv to 4 in settings, and set tether dun to 0 in settings.xml (I made a script for that). You should be to go with your vpn then.
Honestly I see almost no point in having unlimited tethering since your data is slowed down around 26gbs. I'm fine with the 7gb I have rn. If I were to make use of unlimited tethering, I'd need truly unlimited since I do very heavy usage on any of my computer's. Usually 700-900 GB a month(and that's only download. Upload is around 200gb a month). Used to have an at&t business hotspot that I paid $125/month and used 300 or so GB a month for three months with no slow downs on it.
xBØYxTØYx said:
Honestly I see almost no point in having unlimited tethering since your data is slowed down around 26gbs. I'm fine with the 7gb I have rn. If I were to make use of unlimited tethering, I'd need truly unlimited since I do very heavy usage on any of my computer's. Usually 700-900 GB a month(and that's only download. Upload is around 200gb a month). Used to have an at&t business hotspot that I paid $125/month and used 300 or so GB a month for three months with no slow downs on it.
Click to expand...
Click to collapse
Gotta pay to play. They "prioritize" your after 26, so it's not like it'll be slow 24/7. Annoying, sure. However, I haven't had home internet going on two years now. Worth it to me, based on my usage. With this tmo one stuff, they offer unlimited tethering, but of course, your primary usage has to be from your phone...
The victory was only half-way declared... They somehow know when device(s) that connect to my router are tethered. Router is setup with an openvpn configuration and connects to the vpn server automatically. All IPs check out, as well as ttl values, but they're still able to tell. One thing that was strange was if I did not enable vpn thru the router, but instead thru the client, the speeds remained constant - undetected. This is fine and dandy, but I'd lose my chromecast functionality this way... If things get rough and I can't finger this one out, I might hop onto to their unlimited everything for $95/month instead of the simple choice one I got now.
RussianBear said:
use the video from the op above..
Invest into a good vpn service.
Click to expand...
Click to collapse
If you have good home internet with VPN supported router, you can run VPN through your home
mingkee said:
If you have good home internet with VPN supported router, you can run VPN through your home
Click to expand...
Click to collapse
Yes, but somehow they can tell...even with a vpn setup thru a router.
RussianBear said:
Yes, but somehow they can tell...even with a vpn setup thru a router.
Click to expand...
Click to collapse
They can tell tho the t mobile app the one the shows your data you have to delete it and delete this the one that has the red # by it, that how they track you and can see everything on your phone and know it you have root or not and anything you do on your phone .

Categories

Resources