Questions tagged [tethering]

Tethering is the act of sharing a data connection in a mobile phone with other computers. The sharing is typically done over WiFi or USB. This is done to provide Internet access to the other computers.

Tethering refers to connecting one device to another. In the context of mobile phones or Internet tablets, tethering allows sharing the Internet connection of the phone or tablet with other devices such as laptops. Connection of the phone or tablet with other devices can be done over wireless LAN (Wi-Fi), over Bluetooth or by physical connection using a cable for example, through USB.

If tethering is done over Wi-Fi, the feature may be branded as a Mobile Hotspot. The Internet-connected mobile device can thus act as a portable wireless access point and router for devices connected to it.

Many mobile phones are equipped with software to offer tethered Internet access. Windows Mobile 6.5, Windows Phone 7, Android (starting from version 2.2), and iOS 3.0 (or later) offer tethering over a Bluetooth PAN or a USB connection. Tethering over Wi-Fi, also known as Personal Hotspot, is available on iOS starting with iOS 4.2.5 (or later) on iPhone 4, 4S, 5, iPad (3rd generation), certain Windows Mobile 6.5 devices like the HTC HD2, Windows Phone 7 devices (varies by manufacturer and model), and certain Android phones (varies widely depending on carrier, manufacturer, and software version).

For IPv4 networks, the tethering normally works via NAT on the handset's existing data connection, so from the network point-of-view, there is just one device with a single IPv4 network address, though it is technically possible to attempt to identify multiple machines. On some networks, this feature is only contractually available by paying to add a tethering package to a data plan or choosing a data plan that includes tethering. This is done primarily because with a computer sharing the network connection, there may well be a substantial increase in the customer's mobile data use, for which the network may not have budgeted in their network design and pricing structures.

Some network-provided handsets have carrier-specific software that may deny the inbuilt tethering ability normally available on the handset, or only enable it if the subscriber pays an additional fee. Some operators have asked Google or any mobile producer using Android to completely remove tethering support from the operating system on certain handsets. Handsets purchased SIM-free, without a network provider subsidy are often unhindered with regards to tethering.

There are, however, several ways to enable tethering on affected devices without paying for it, including rooting Android devices or jailbreaking iOS devices and installing a tethering application on the device. Tethering is also available as a downloadable third-party application on most Symbian mobile phones as well as on the MeeGo platform and on WebOS mobiles phones.

Source:http://en.wikipedia.org/wiki/Tethering

178 questions
3
votes
2 answers

WP7 Debugging without Tethering over USB?

i want to Debug some Networkproblem cases in my Application. But i can't really test it because my Phone has internet over USB. If I disconnect it from USB i can't debug... So is there anyway, I can disable the Tethering over USB on my Phone? Edit:…
MrTouch
  • 654
  • 2
  • 12
  • 28
2
votes
1 answer

Initiate a bluetooth tether programmatically

The Android bluetooth class is fairly easy to use with regards to enabling, discovering, listing paired devices, and connecting to bluetooth devices. My plan was to initiate a connection to another bluetooth device that provides tethering via…
Paul
  • 538
  • 6
  • 23
2
votes
0 answers

iOS detect if device is used as wifi hotspot

I need to find out from my app, if the current device is used as personal wifi hotspot. And if there is any way to know which is the iPhone local ip (on the hotspot network). I found that the iPhone set itself 172.20.10.1 address, but I'd like to…
2
votes
2 answers

Delphi apps won't tether on Windows 10

How do I get Windows 10 or its firewall to allow my Delphi 10.2 tethering app to get access to the internet? When either the desktop or the mobile app is run on Windows 10, there is no request for permission from the firewall and tethering fails. In…
Mike at Bookup
  • 1,211
  • 14
  • 32
2
votes
1 answer

Setting Tethering/hotspot for Nougat

I use this code to activate or deactivate the tethering hotspot so other devices can use the Internet data of my device. It used to work well but it is not working anymore for Nougat, do you have any hint? thanks. This is the code I use: private…
Ton
  • 9,235
  • 15
  • 59
  • 103
2
votes
1 answer

Is there a way to read/write tethering (wifi) on an android phone programmatically?

Is there any way to read/write Pre-defined default configure Mobile hotspot data such as Network name, security, password by programmatically. Thanks in advance
kgsharathkumar
  • 1,369
  • 1
  • 19
  • 36
2
votes
2 answers

ssh through tethered android phone to AWS EC2 server

Disclaimer: I don't know this is the actual problem, I just suspect it is. I have set up an Amazon Web Services EC2 instance as a remote git server. I have had to configure it to only accept incoming traffic from a single IP address though I had…
OhNoNotScott
  • 824
  • 2
  • 9
  • 12
2
votes
3 answers

How to find the WiFi tethering state through ADB?

I was just wondering how to find the state of Wifi tethering through ADB. Although, there are some options to find the state through WifiManager() as described in this answer, I just want to know if its possible through ADB?
Nagaraja Thangavelu
  • 1,168
  • 1
  • 15
  • 31
2
votes
0 answers

Detecting WiFi Tethering traffic using TrafficStats API?

Anyone know how this can be done? The TrafficStats source code notes that there is a supposed to be a special UID (UID_TETHERING) used to track this, but using the getUidTxBytes and getUidRxBytes APIs always return zero. I've seen other apps have…
maignacio
  • 173
  • 3
  • 8
2
votes
1 answer

detect hotspot enabling in iOS with private api's

ok so i want to detect weather the user has enabled hotspot/tethering or not in a iOS device. I can use private api's knowing it wont make it to the app store. i was trying to go through private api's list/ runtime headers but there are too many to…
hemant
  • 1,771
  • 4
  • 31
  • 43
2
votes
0 answers

getTetherableIfaces returns nothing

The objective is to enable USB tethering programmatically. For this I'm relying on reflection and ConnectivityManager. getTetheredIfaces returns the interface rndis0 when tethering is enabled via the phone menu and nothing when…
Daniel
  • 2,380
  • 29
  • 44
2
votes
0 answers

Disable sharing internet when connected through WiFi-Hotspot?

I am building an android-app where two users are connected through WiFi-Hotspot. I create the connection programmatically. Lets say User A creates WiFi-Hotspot and User B connects to this hotspot. Now I make them chat with each other using socket.…
unrealsoul007
  • 3,809
  • 1
  • 17
  • 33
2
votes
1 answer

Get ip of RNDIS adapter created using USB tethering of Android?

When I connect an Android device to a Windows PC through USB tethering, it creates a network adapter, a Remote NDIS. This adapter's ip address, gateway etc values are set by Android phone(I think). Is there a way to get these values in Android code…
Amit Aalok
  • 21
  • 1
  • 3
2
votes
0 answers

reverse tethering : ping failed from device to PC

I am trying to reverse tether my rooted samsung s duos via usb. First of all i enabled the usb tethering option in the phone, then provided static ip of 192.168.42.128 for new connection on windows PC and set static ip of 192.168.42.129 for my…
tap1cse
  • 31
  • 1
  • 3
2
votes
0 answers

Share iPhone's internet connection with a non apple device. Tethering

I have a non Apple device used to process some data. It has bluetooth support. It can be paired with the iPhone via bluetooth. The device must use iPhone's internet connection to access a remote server. See the flow: I pair the device with the…
John Smith
  • 2,012
  • 1
  • 21
  • 33