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
39
votes
1 answer

ADB over Bluetooth Android

I have no WIFI, I have no cable connection available. Is there hope for me to connect my device to ADB?
Juan Cortés
  • 20,634
  • 8
  • 68
  • 91
24
votes
4 answers

Captive portal on android device

I am using my android device as a mobile web server. I want to direct every user that connects through my portable Android hotspot to a specific wellcome page. Does anybody know how to implement this technique in my device (I believe this is called…
Panayotis
  • 1,743
  • 1
  • 17
  • 30
18
votes
3 answers

Android 2.3 wifi hotspot API

What is the API call I need to make in Android 2.2 (Froyo) to create a Wifi hotspot (as seen in the Tethering and Portable Hotspot settings item).
ericyue
  • 646
  • 1
  • 8
  • 20
14
votes
2 answers

How I can enable USB Tethering programmatically on an Android 4.0 device?

I want to enable USB Tethering from my app on my Android 4.0 Device? The following code works for Android 2.2 but it does not work for 4.0. Can anyone help? int USBTethering(boolean b) { try { ConnectivityManager cm =…
Gaurav Gupta
  • 575
  • 1
  • 5
  • 17
12
votes
1 answer

How to route all traffic coming from tethering?

I'm working on some test project, basically I want to route all traffic when I'm in hotspot mode into a fixed address. I have the IP range for example 192.168.0.0/24 I don't know if I can use iptables without root or JNI functions (can't find any…
TecHunter
  • 6,091
  • 2
  • 30
  • 47
12
votes
2 answers

Control Raspberry Pi via USB connected Android device

I have a Raspberry Pi with running custom server not connected to the internet (offline system). I would like to connect Android device via USB cable to rPi and communicate with it. As Raspberry Pi is not connected to the internet, it doesn't have…
Vitali V.
  • 157
  • 1
  • 1
  • 9
12
votes
7 answers

Is it possible to USB tether an android device using adb through the terminal?

I'm setting up some tests and it will require a decent number of phones to be usb tethered and configured. I've been successful in configuring them the way I want to once they have been tethered, however it would be quite tedious to tether the…
turbo
  • 1,887
  • 2
  • 21
  • 35
12
votes
2 answers

get list of all users connected using wifi tethering in android

I am trying to get list of all connected users in wifi tethering. I know that i have to read dnsmasq.leases but the question is, where can I get this file from my mobile? If i look at source code of wifi tethering open source app i get the file path…
Muhammad Umar
  • 11,391
  • 21
  • 91
  • 193
11
votes
1 answer

Android wifi hotspot client connection events

I am connecting different devices with wifi hotspot AP programatically in my android app, How can i detect the clients being connected and disconnected and to the wifi hotspot AP i turned on programmatically ? Is there any callback event in Android…
user2973411
  • 141
  • 1
  • 5
9
votes
2 answers

Android 4.4.2 reverse tethering onto MacBook Air via Bluetooth PAN - not connecting to internet

I'm trying to throttle my device's network connection while testing it on Android studio. My strategy will be to try and reverse tether the phone to my macbook Air so the computer acts as a hotspot. The computer will be connected to the internet via…
Laurent
  • 1,554
  • 19
  • 42
8
votes
1 answer

Delphi XE8 gracefully handle ETetheringException at application startup

The Delphi app tethering manager reserves 20 ports in the range from 2020-2039 to start up its communication threads. I wanted to find out what happens, when the 21st application is started on the same computer. It turns out that this application…
Lübbe Onken
  • 526
  • 2
  • 12
8
votes
1 answer

Applescript to click on a specific icon in the Mac Menu Bar

Sometimes I use PdaNet to tether using my iPhone. The desktop client for OSX is not as rich as the one for windows. One of the chief differences is, that the OSX does not allow to automatically connect to iPhone as soon as the latter is plugged…
user3104542
8
votes
2 answers

Create Wifi Hotspot Configuration in android

I am using android 4.1.1 ... I am making an application that allows the user to make his own network using Wifi Hotspot and then the clients can connect to it and share data. I have successfully created the Wifi hotspot in android but I cannot…
Khan Umair
  • 81
  • 1
  • 1
  • 2
8
votes
2 answers

Debug app using ADB over Bluetooth for on an Android-x86 netbook

I managed to set a nicely working Android-x86 on my netbook, with Bluetooth enabled and paired (!) with my Windows 7 development workstation. I was initially hoping to use adb with it just as I am doing with real phones, via USB. So I plugged in a…
an00b
  • 11,338
  • 13
  • 64
  • 101
7
votes
2 answers

Is there a way to check whether tethering is active?

can I check programmaticall wheter the android device has tethering activated? I just watched the WifiManager class. All vatraibles from the WifiInfo show the same values as iff the WIFI is turned off on the device. Thnaks, best regards
softwaresupply
  • 1,908
  • 3
  • 20
  • 34
1
2 3
11 12