Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

2 votes
0 answers
511 views
What runs the DHCP client on Android?
I am building AOSP (version 14) from sources, for a PinePhone (so I have root access). I am trying to get reverse tethering to work (i.e. the Android device connects to the network through the other device over Ethernet). I can plug an Ethernet-over-usb adapter and see that a new network interface (...
I am building AOSP (version 14) from sources, for a PinePhone (so I have root access). I am trying to get reverse tethering to work (i.e. the Android device connects to the network through the other device over Ethernet). I can plug an Ethernet-over-usb adapter and see that a new network interface (eth0) appears in the output of ip link. This interface eth0 is ` but has state DOWN. It never gets in state UP` and it never gets an IP. In this situation on a Linux distro, I would just run a DHCP client for this interface. But on AOSP, I don't have a DHCP client to run from the command line (dhcpcd is no longer used in recent versions of Android, if I understand correctly). 1. Is there a way to manually run a DHCP server from the CLI? 2. What mechanism is supposed to handle this? On some phones and under some conditions (e.g. "the WiFi is not connected"), then plugging an Ethernet cable into the Android device "just works". What should I do in my AOSP build to make this "just work" for all eth* interfaces that may appear?
JonasVautherin (121 rep)
Aug 15, 2024, 10:47 PM • Last activity: Aug 16, 2024, 08:35 AM
0 votes
0 answers
247 views
Android Reverse Tethering
What are the latest options to obtain reverse tethering for android? The [GNIREHTET][1] project has not been updated since August 2020 and does not work for most of the android applications. Other Android apps that exist and tried is the [Tetrd][2] app that is working but what other means exist or a...
What are the latest options to obtain reverse tethering for android? The GNIREHTET project has not been updated since August 2020 and does not work for most of the android applications. Other Android apps that exist and tried is the Tetrd app that is working but what other means exist or applications to achieve reverse tethering?
Barnabas (1 rep)
Oct 9, 2021, 09:05 PM • Last activity: Jun 23, 2024, 06:12 PM
3 votes
0 answers
399 views
How to share Ethernet through USB tether as WiFi hotspot?
I have a situation where I have internet via Ethernet on a Windows PC and I want to share it via WiFi but said PC has no WiFi card. So the idea is to use USB tethering (RNDIS) and then use a WiFi hotspot to share the RNDIS. Android phone is rooted and has Termux, so tools like `iptables` should be a...
I have a situation where I have internet via Ethernet on a Windows PC and I want to share it via WiFi but said PC has no WiFi card. So the idea is to use USB tethering (RNDIS) and then use a WiFi hotspot to share the RNDIS. Android phone is rooted and has Termux, so tools like iptables should be accessible. The PC with the internet could run Linux too and run iptables, but I prefer Windows if possible.
Dennis M
Jan 6, 2024, 07:30 PM • Last activity: Jan 12, 2024, 04:34 PM
2 votes
1 answers
13136 views
Enable “USB Internet” for Android 6.0
With earlier versions of Android, there was the option to connect your mobile phone via USB cable with your Windows PC and enable "USB Internet" to share the internet connection from your PC with your phone (in case you don't have Wi-Fi nor Mobile Data). But with Android 6.0, this option is no longe...
With earlier versions of Android, there was the option to connect your mobile phone via USB cable with your Windows PC and enable "USB Internet" to share the internet connection from your PC with your phone (in case you don't have Wi-Fi nor Mobile Data). But with Android 6.0, this option is no longer available from the settings. Is there a way to a) enable this setting again or b) share the internet connection (reverse tethering) via additional mirroring apps (all without hacking/rooting the phone)?
Cyman (143 rep)
May 7, 2018, 10:04 AM • Last activity: Feb 5, 2023, 02:40 PM
138 votes
7 answers
241475 views
How to set up reverse tethering over USB?
1. My HTC G2 phone is rooted and running Cyanogenmod 7 1. I don't have a data plan. 1. Sometimes I want to connect the phone to the Internet when there isn't Wi-Fi, to update Market apps, backup SMS messages to Gmail, sync new contacts from Gmail, etc. Things I can't do with USB mass storage mode. 1...
1. My HTC G2 phone is rooted and running Cyanogenmod 7 1. I don't have a data plan. 1. Sometimes I want to connect the phone to the Internet when there isn't Wi-Fi, to update Market apps, backup SMS messages to Gmail, sync new contacts from Gmail, etc. Things I can't do with USB mass storage mode. 1. I have a Windows 7 Professional computer connected to the Internet, but I'm not allowed to set up an ad-hoc Wi-Fi network. (If I do, they will notice and hunt me down.) Is there a way for the phone to access the Internet through the USB connection to the computer? If so, how do I set it up?
endolith (3041 rep)
Oct 20, 2010, 09:32 PM • Last activity: Aug 31, 2022, 10:18 PM
0 votes
1 answers
898 views
Use Reverse Tethering as Wifi
The internet obtained via reverse tethering is not detected by my tablet.But i can access the web.But i cant download via the play store.So how to make it recognizable as a **wireless fidelity** connection ?
The internet obtained via reverse tethering is not detected by my tablet.But i can access the web.But i cant download via the play store.So how to make it recognizable as a **wireless fidelity** connection ?
Hari Nandha (99 rep)
Nov 15, 2013, 05:17 PM • Last activity: Mar 30, 2022, 07:05 PM
1 votes
1 answers
1238 views
Bluetooth reverse tethering
Hey all so I have connected my HTC to my laptop via Bluetooth ( they're paired and connected) - the Bluetooth Tethering option in the phone is Enabled - I can see a Bluetooth network connection has been added in network connections and adapter panel - I'm stuck after this.... - the problem is that w...
Hey all so I have connected my HTC to my laptop via Bluetooth ( they're paired and connected) - the Bluetooth Tethering option in the phone is Enabled - I can see a Bluetooth network connection has been added in network connections and adapter panel - I'm stuck after this.... - the problem is that when I go to the sharing tab of the network connection which I'm trying to share it's internet, there it asks you to select a network connection which the internet is going to be shared too but the Bluetooth connection wont show so I could select it...
user2035341 (31 rep)
Apr 16, 2017, 09:44 AM • Last activity: Mar 19, 2022, 08:01 PM
2 votes
1 answers
1199 views
UDP multicast with reverse tethering
We are using a Wi-Fi network to communicate with other devices running our applications. And, we are using `UDP` multicasting. However, due to some new restrictions we are no longer allowed to use wifi. Is there a way to connect all the devices (via `USB`) to different computers (connected to the sa...
We are using a Wi-Fi network to communicate with other devices running our applications. And, we are using UDP multicasting. However, due to some new restrictions we are no longer allowed to use wifi. Is there a way to connect all the devices (via USB) to different computers (connected to the same local network) and have them all receive and send data with UDP multicasting? We don't need internet, just the LAN. This is only used for testing purposes. *** I am looking at this post about reverse tethering . Has anyone used UDP multicasting with this setup? Will the mentioned method solve my problem? We do not currently have a linux machine setup and it would take us a **while** to get one setup. So if anyone could confirm this, from experience, before we start doing down that road, that would be fantastic.
prolink007 (230 rep)
Aug 15, 2012, 05:30 PM • Last activity: Jan 13, 2022, 08:04 PM
1 votes
1 answers
1166 views
View local website on an Android device
Web developer here. I have two devices, a Samsung Galaxy S3 & a Samsung Note 10.1. I have developed a website which is running on PHP and I would like to view my website on these two devices without having to upload it to an online server. My local server is a WAMPSERVER. I've heard that you could u...
Web developer here. I have two devices, a Samsung Galaxy S3 & a Samsung Note 10.1. I have developed a website which is running on PHP and I would like to view my website on these two devices without having to upload it to an online server. My local server is a WAMPSERVER. I've heard that you could use Wi-Fi and connect to my PC's IP address however my wifi signal is very weak (I use a desktop upstairs, router is downstairs) so I would like a setup that requires me to physically connect my devices to my PC through a USB cable. Is there a way to do this? Thanks in advance! :)
Nazar Abubaker (111 rep)
Dec 2, 2013, 04:48 AM • Last activity: Jan 4, 2022, 06:02 AM
6 votes
1 answers
7764 views
Why is there no option for USB INTERNET in WIRELESS & NETWORK SETTINGS on my Nexus 5?
I own a Nexus 5 with Android KitKat 4.4.2. I have been trying to do reverse tethering without root as is supposedly possible from Settings → Wireless & Networks → More → USB Internet. But I can't see any USB Internet option in Wireless & Networks. Why not ?? Can someone assist me with this ? I am ha...
I own a Nexus 5 with Android KitKat 4.4.2. I have been trying to do reverse tethering without root as is supposedly possible from Settings → Wireless & Networks → More → USB Internet. But I can't see any USB Internet option in Wireless & Networks. Why not ?? Can someone assist me with this ? I am having a PC with Windows XP.
Y.S. (381 rep)
Jul 13, 2014, 01:36 PM • Last activity: Aug 30, 2021, 08:03 PM
12 votes
1 answers
10861 views
Reverse tethering via Bluetooth: How to share PC internet connectivity with android phone via Bluetooth
OS: Windows 7 SP1 x64 Phone: Galaxy Ace 3 - android 4.2 (rooted) I'm aware of normal tethering scenarios in which the user can share the Mobile Data connection with other phones/pcs via wifi-hotspot, bluetooth tethering or USB tethering and my phone is capable of all of them. Let's assume my laptop...
OS: Windows 7 SP1 x64 Phone: Galaxy Ace 3 - android 4.2 (rooted) I'm aware of normal tethering scenarios in which the user can share the Mobile Data connection with other phones/pcs via wifi-hotspot, bluetooth tethering or USB tethering and my phone is capable of all of them. Let's assume my laptop is connected to the internet via lan and I want to share the internet with my phone via bluetooth(not wifi or usb). I think it's called reverse tethering. Is there any way to accomplish this? (It seems Mac is capable of doing that: How to share your internet connection over Bluetooth ) by the way: ->this method is not working(using ICS): How to Share the Internet With Bluetooth ->BlueDUN app is for sharing mobile data/wifi connectivity of the phone with another phone/pc ->Toshiba Bluetooth Stack is not working **Update:** On the Linux front there's an application called 'blueman' that does this
wiki (475 rep)
Oct 13, 2015, 08:59 AM • Last activity: Aug 15, 2021, 11:01 AM
-2 votes
2 answers
89 views
Wifi not working / hardware, how to connect to the internet
i have an Asus K011 Tablet, which i want to connect to the internet. Hovewer wifi is damaged on the motherboard as well as bluetooth so the only possibillity is ot connect it via USB cable to my laptop and from laptop share the internet to the tablet. How can i do it , which program i should use? Th...
i have an Asus K011 Tablet, which i want to connect to the internet. Hovewer wifi is damaged on the motherboard as well as bluetooth so the only possibillity is ot connect it via USB cable to my laptop and from laptop share the internet to the tablet. How can i do it , which program i should use? Thanks for the answers
Adam Galik (1 rep)
May 19, 2020, 09:57 PM • Last activity: May 16, 2021, 05:59 AM
0 votes
3 answers
981 views
Can't Access internet through laptop wifi in my xperia u
I was able to create a hotspot through Connectify software in my laptop, but when i connect my phone to it ,it shows i am connected but i am not able to access the internet. Is there any option that should be enabled on phone?
I was able to create a hotspot through Connectify software in my laptop, but when i connect my phone to it ,it shows i am connected but i am not able to access the internet. Is there any option that should be enabled on phone?
Pabitra Kumar Senapati (1 rep)
Oct 22, 2014, 03:53 AM • Last activity: Apr 30, 2020, 08:50 PM
1 votes
1 answers
389 views
How to bring Android device and desktop PC to same network?
I have an unrooted Android device and a desktop PC running Ubuntu 18.04 with no built-in WiFi. I want to bring both the devices to the same network. I tried USB tethering from Android to desktop PC. It is getting connected, but the network IDs are different (IP of Android device is 100.81.X.X and IP...
I have an unrooted Android device and a desktop PC running Ubuntu 18.04 with no built-in WiFi. I want to bring both the devices to the same network. I tried USB tethering from Android to desktop PC. It is getting connected, but the network IDs are different (IP of Android device is 100.81.X.X and IP of desktop PC is 192.168.42.X). I also tried reverse tethering with **gnirehtet** (https://www.ubuntubuzz.com/2019/09/android-reverse-tethering-with-ubuntu-1804.html ). Using this, I am able to connect to internet from my Android, but still the desktop PC and Android are in different networks (IP of Android is 10.X.X.X and IP of desktop PC is 192.168.2.X) Is there any way I can bring both devices to the same network so that I can ping the Android device from desktop PC without any additional hardware? **EDIT :** This is the output of route command, where enp0s29u1u5 is the interface corresponding to USB tethering: output of <code class=route" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy"> Output of adb shell ip route: 192.168.42.0/24 dev rndis0 proto kernel scope link src 192.168.42.129
101010 (21 rep)
Mar 17, 2020, 10:11 AM • Last activity: Mar 19, 2020, 11:30 AM
0 votes
0 answers
977 views
Reverse tethering without rooting or third-party software
The option "USB Internet" can be found by default in the settings of some Androids, allowing to reverse tether. How could one know that the option does exist and work before buying a device ? Does it depend on the Android version only ? or the manufacturer ? both ?
The option "USB Internet" can be found by default in the settings of some Androids, allowing to reverse tether. How could one know that the option does exist and work before buying a device ? Does it depend on the Android version only ? or the manufacturer ? both ?
Pac (21 rep)
Jan 29, 2020, 11:46 AM
2 votes
2 answers
4585 views
How do I make reverse tethering work?
I've been trying this for a couple of days and I've to say it's not getting any better. I've tried stuffs from [here][1] and [here][2], but unfortunately none helped. So if there is any alternative solution to use internet on my phone from my laptop please do humor me. > Please do not suggest openin...
I've been trying this for a couple of days and I've to say it's not getting any better. I've tried stuffs from here and here , but unfortunately none helped. So if there is any alternative solution to use internet on my phone from my laptop please do humor me. > Please do not suggest opening a hotspot from my laptop as my hardware doesn't support the hostednetwork capabilities. Note : I'm running lollipop.
Pramesh Bajracharya (316 rep)
Feb 5, 2017, 05:46 AM • Last activity: Dec 17, 2019, 04:17 AM
1 votes
2 answers
2432 views
How do I turn off USB tethering or restart USB connection via computer/PC's terminal?
How do I turn off USB tethering or restart USB connection via computer/PC's terminal?
How do I turn off USB tethering or restart USB connection via computer/PC's terminal?
user42276 (547 rep)
Mar 23, 2014, 10:38 AM • Last activity: Jul 2, 2019, 05:02 AM
1 votes
0 answers
1276 views
Working inside VPN using an unrooted Android device (or Genymotion)
I am trying to use an **unrooted** Android device (or alternatively, a Genymotion emulator) to run an application that needs to be connected to a VPN. On my PC, I only need to connect via Cisco's AnyConnect, and to use a RSA token generator. However, I'm finding it quite hard to have VPN access in m...
I am trying to use an **unrooted** Android device (or alternatively, a Genymotion emulator) to run an application that needs to be connected to a VPN. On my PC, I only need to connect via Cisco's AnyConnect, and to use a RSA token generator. However, I'm finding it quite hard to have VPN access in my device. Here are all the approaches that I've followed. - Installing Cisco AnyConnect for Android didn't work for me, since this can't be done without a token. I can use the generator from my PC, but I don't have a similar software in the device. - StackOverflow's questions about the "Genymotion approach" don't have any answers, unfortunately. For example, [this older question](https://stackoverflow.com/questions/22732001/connect-to-vpn-in-genymotion-android?rq=1) and [this newer question](https://stackoverflow.com/questions/27778257/vpn-connection-using-genymotion-emulator) . - Reverse tethering also didn't work. This seems to require a rooted device. - The last approach I tried was using a laptop as a hotspot, and then connecting to this newly created WiFi network. However, although the network was created, and the Internet connection was succesfully shared, I wasn't able to connect to AnyConnect from the laptop after setting up this network. Any additional ideas on how to share this VPN access to the device will be highly appreciated. On a final note, the VPN I'm trying to connect to is a customer network, so unfortunately I'm not expecting too much help on they side. Regards
jmm (111 rep)
Feb 4, 2015, 02:34 PM • Last activity: Apr 9, 2019, 05:40 PM
3 votes
0 answers
1399 views
Help with this ADB REVERSE Tethering Script?
I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter `t` into terminal alias t='r && sz $tether && r && sz $n' tether='am start -n com.android.settings/com.android.settings.TetherSettings && input keyevent 66 && input keyevent 66' n='netcfg rndis0 d...
I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter t into terminal alias t='r && sz $tether && r && sz $n' tether='am start -n com.android.settings/com.android.settings.TetherSettings && input keyevent 66 && input keyevent 66' n='netcfg rndis0 dhcp' alias sz='ad shell' alias de='ad devices -l' alias r='ad kill-server && ad start-server' alias ad='adb' alias pu='adb push' **The issues with the above are:** (2 is most important) 1. This only works with the screen on and when notification bar isn't pulled down 2. This doesn't simulate wi-fi/other wirelessnetworking or make apps actually try to connect to net instead of checking if wifi/other wirelessnetworking is enabled 3. This code can most probably be much shorter/optimized (but at least it works) > To understand the background better please see my original question:https://android.stackexchange.com/questions/65646/i-can-reverse-tether-now-by-using-alias-but-it-stops-on-adb-shell-command
user42276 (547 rep)
Mar 21, 2014, 05:19 PM • Last activity: Feb 17, 2019, 11:39 AM
0 votes
1 answers
1736 views
Le eco le 2 Android 6.0 : How to share my computer internet on my android with USB?
Having troubles sharing my internet connection from my desktop computer to my LE ECO LE 2 compact phone. I went to Settings -> Network connections -> USB connection. From this post (a bit old, it's meant for KitKat and not Marshmallow), I expected to view an option like USB internet. But there is on...
Having troubles sharing my internet connection from my desktop computer to my LE ECO LE 2 compact phone. I went to Settings -> Network connections -> USB connection. From this post (a bit old, it's meant for KitKat and not Marshmallow), I expected to view an option like USB internet. But there is only an option called Software install that I checked. But what software is this option about and how to install it, I don't get it. I tried to connect my phone to my Windows 10 computer after checking the option, nothing special comes, no software install. I can choose several options : charging only transfer files (MTP) mass storage (MSC) MIDI Choosing MTP, I can move files from my computer to my phone. But unlike what is presented in this post, no additional network connection do appear on my computer. I tried to share my connection (because my computer have two Ethernet ports, I can activate it anyway), but that does not work. No internet on my phone. Sorry if the menus or options from this post are not strictly the same in the english version, my phone is in another language. Anyway, What I describe should be clear enough (otherwise just say, I'll explain more deeply). Can anyone help ? I guess it's something special to Sony phones, or maybe it did change from Android 4 to Android 6, but I'm a little confused...
Kamaraj Kannabiran (1 rep)
Aug 18, 2016, 04:52 PM • Last activity: Feb 6, 2019, 03:00 PM
Showing page 1 of 20 total questions