23

The Android builtin wifi tethering is designed to use 192.168.43.1/24 as the server, with netd handling the tethering, using dnsmasq. First DNS range is 192.168.42.1-254 and and 2nd DNS range is 192.168.43.1-254. Netd is not easy to change. It requires a socket to communicate with it, and that socket is taken when android starts tethering. But going through ...


22

Another "uglier" workaround involves using terminal , but it has an advantage if you already have terminal installed in your device. Simply type ip neigh in terminal and you should see an output showing connected devices' ip addresses as well as mac address (but it looks a bit cluttered though) See screenshot: Screenshot (click image for larger ...


13

With rooting (tested on 6.0.1 on 2016-05-10 and 7.1.1 on 2017-02-09) Flash TWRP 3.0 Root your system with superuser.zip Download ES file explorer Remount /system to be read-write Goto /system and edit build.prop On the last line enter: net.tethering.noprovisioning=true Then, adb shell settings put global tether_dun_required 0 reboot Without rooting You ...


11

Somehow there was a proxy set up in the APN settings … Edit: To change the proxy you have to go to the settings and click on mobile data. Select Access point names, select the active APN (or the one you're having problems with) check/reset the Proxy/Port settings.


11

On Android Device: Make sure USB Debugging is enabled in Developer Options. Set adb port prop: If rooted: Open a terminal emulator (like termux) and run the following commands: su setprop service.adb.tcp.port 5555 If not rooted: Connect your device to PC using usb and run on PC terminal/cmd: adb tcpip 5555 You can disconnect after this and continue on ...


9

If you've got access to a terminal on your phone (I guess that requires being rooted), then you can also run ip neigh show dev wlan0 to see what's in the ARP tables. That should tell you the MAC addresses and IP addresses of everything connected.


9

Unfortunately the stock Android tethering application does not work with VPNs. This limitation is an oversight in the software and not a system limitation. However there is an application called ClockworkMod Tether that will allow you to tether and use a VPN at the same time. In fact it makes use of the standard tethering application and then fixes up the ...


8

I found some information that consists of adding iptables rules using command-line in your rooted device. I tested it on my Android 4.4 on Blu studio and it works fine. Quoted text originally written by SmokeyTech1 of XDA-Developers here: You need a rooted device Make sure you have a VPN app, like OpenVPN or DroidVPN ( I use DroidVPN and its the ...


8

You could try this: adb shell am start -n com.android.settings/.TetherSettings adb shell input keyevent 20 adb shell input keyevent 66 The first command opens the Settings page for Tethering and Hotspot while the latter simulate key presses: Down and Enter respectively. Note: For different Android versions you may have to adjust the simulation of ...


8

There is a rather hidden feature, that will let you achieve this: This option is found under Settings > Data usage (Wireless and Networks). Tap on the three dots in the top right corner, and press "Mobile Hotspots." (In android 4.3) In later versions of android the similar option is "Network restrictions" > Metered connections Next you'll see a list ...


7

I have a Samsung Galaxy S4, but you should have something similar to this: System settings > Connections > More Networks > Tethering and portable hotspot > Portable Wi-Fi hotspot. If you don't see Configure button (not visible on my S4 5.0.1), try pressing device Menu button while you are at the Mobile Hotspot settings page (which shows your ...


7

Most of the solutions known to me require root (as I noted in comments). However there is a third-party application that seems to be able to handle this task as well. Hotspot manager claims to be able to monitor all connected clients on the hotspot. It gives the MAC Address as well as IP address of connected clients Some other features include: Managing ...


7

Your phone uses a different type of connection (DUN) to send tethered data but you can make the provider treat all traffic as if it is non-tethered: adb shell settings put global tether_dun_required 0 When enabling tethering on Android, the OS will first do a provisioning check with the carrier to determine if your plan allows tethering. You can remove this ...


6

Note: Partial answer regarding no. of hotspot connections that can be connected to a device. Google on the page "Set up tethering or portable Wi-Fi hotspot" has stated: If your device has mobile data, you can turn it into a portable Wi-Fi hotspot for up to 10 other devices, like laptop computers[.] See also, These features depend on your mobile ...


6

WI-FI REPEATER MODE ON ANDROID I don't know of any straight forward tool other than Android apps (which use Wi-Fi Direct) that will let use wi-fi and hotspot at the same time. Neither it's a standard feature introduced in custom ROM's so far (AFAIK). However you can do this manually if you are comfortable with commandline usage. But it's NOT possible ...


6

Android uses dnsmasq as its DHCP/DNS server (up to Pie). So create the configuration file /etc/dnsmasq.conf with option dhcp-host=<MAC>,<IP> (1). Root is required to place this file. Since /etc is a symlink to /system/etc, /system partition needs to be mounted R/W. Make sure you don't break dm-verity if enabled on your device. Set permissions: ...


5

I know this is an old post, but thought I would provide an update. It appears some manufacturers and versions of Android now DO allow for the changing of the IP subnet range for the DHCP server through the UI when using WiFi hotspot feature. Here's where to find it on an HTC One M8 running Android 6.0. YMMV. From the Mobile Hotspot screen, click the 3 ...


5

I faced a similar problem since months on my Android phone ( Jellybean and Kitkat ). The problem some how used to come and go and recently it was the same again. After spending a couple of hours with many hit and try things with my phone and router I finally found a good article which solved this problem ( at least ) for me. Solution Settings, Apps, All, ...


5

I managed to solve this without deleting hostapd file (with this method you can easily reactivate hotspot functionality renaming hostapd back to its original name). Root your phone Open up adb connection Enter these commands: su cd system cd bin mount -o rw,remount /system mv hostapd inactive_hostapd mount -o ro,remount /system Reboot your phone and you'...


5

You could make your phone to act as a VPN Gateway Requirements: root vpn server (can obtain any free openVPN from playstore) Using a VPN gateway will make tethered traffic to go through the VPN. Steps Turn on portable hotspot Open terminal as root and enter the following codes (you can paste them) iptables -t filter -F FORWARD iptables -t nat -F ...


5

Its possible, it is much easier if you have two devices (e.g 2nd smartphone, tablet or PC) Create a mobile hotpot AP using the secondary device. Once setup, connect the primary device (where you are going to setup chromecast) to the mobile hotspot AP and the TV Setup the chromecast as normal with the primary device and since the setup is once off you don't ...


5

Yes its possible, I have covered one method to achieve this already on this post. Alternatively, our fellow user, Mygod has shared one application to achieve this called VPN Hotspot and is available both on XDA Labs or F-Droid. As expected both these methods need root, for non root solution you may have to look at something like PDANet+


5

NOTE: Root is required. Default DHCP IP address range is hard-coded (1), you can't change it without rebuilding ROM with modified source code. Or use a little hack. When you switch on tethering, what happens (at least): hostapd - the daemon which manages access points - is started. Network interfaces are set up, IP address is added to Wi-Fi interface (...


4

Basically it is possible to control/watch over every data transferred by just analyzing the traffic. To do so you could use something like Wireshark, but then a lot of Internet traffic today is encrypted, which would make it impossible to gain anything from it. To access the data of connected devices would require certain other tools and would very likely ...


4

After searching around on the internet I found two apps, one called WalkieTooth and another called Atasoy LANPhone. WalkieTooth WalkieTooth allows video and audio chat over WiFi, WiFi Hotspots, Bluetooth and WiFi Direct. To set it up: Download from Google Play on both devices Select the Camera icon on both devices On the first device select 'Server', ...


4

It was hard to do but I did it, my Chromecast put out a wifi network labeled "Chromecast7002.b" I connected to it with my note 4 (the one I would later be using as a hotspot) and engaged the setup. Once I got it to ask which wifi to connect to I chose other, and for simplicity sake labeled it "Hopefully this works" and had it unprotected. I then set up my ...


4

Let's say rmnet_data1 is your Mobile Data interface (on Qualcomm devices) and wlan0 is WiFi interface. When you switch on Mobile Data, your ISP assigns rmnet_data1 an IP address, possibly dynamic and not necessarily a public IP (see details in this answer), but let's assume it is a static public IP - say 1.2.3.10. When you switch on tethering, wlan0 is ...


4

Android releases frequent Security Bulletins to address a number of vulnerabilities at operating system and hardware level. So as a thumb rule, the newer the better and safer. But if you just want to use hotspot, it's not very hard to enforce the basic security measures. Using as hotspot means your phone is working as a router. Routers do have builtin ...


4

Note: Adding / removing IP address requires root access. METHOD 1: Before Android Pie, tethering IP (192.168.43.1) was hard-coded (1, 2). But now it's randomized on each session(3). You can use Android's builtin ip command to set an additional fixed IP address (within same subnet obviously): ~# ip address add 192.168.43.100/24 dev wlan0 * Replace add ...


Only top voted, non community-wiki answers of a minimum length are eligible