Unfortunately, there is no way to change the IP address range for the builtin tethering support, even in CyanogenMod. The Wi-Fi hotspot IP is hardcoded in android.net.wifi.WifiStateMachine.startTethering(); the USB tethering IP is hardcoded in com.android.server.connectivity.Tethering.
However, if your phone is rooted, you can try using third-party apps for ...
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 ...
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)
Screenshot (click image for larger ...
(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
You most likely have a hotspot timeout setting enabled.
You can disable it by going to your Advanced Hotspot Settings, and editing the timeout value to never.
Note that in some versions of Android in order to access the Advanced Hotspot Settings you need to first access the WiFi Hotspot Settings and then press the phone's Menu button.
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.
As mentioned in a comment it really depends on what app you are using to provide tethering.
On the stock HTC tethering app there is a view called "Manage users" which lets you see a list of connected devices listed be resolved host name. Touching each device reveals its hardware address and currently assigned IP address.
As far as I can recall it is the ...
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 ...
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 ...
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 ...
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.
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 ...
The answer is yes, there is an open-source project available that does exactly that.
It is a software designed to help you by-pass Great Firewall of China
(GFW). Different from similar softwares, it is designed to run as
router instead of running as a client installed on some device. Being
router means, you can have one thing (Android ...
Just a note for others out there, the setting is not very easy to find (at least on my Samsung Galaxy S3 mini Android 4.1.1).
Go to Wireless and network -> More settings... -> Tethering and portable hotspot -> Portable WiFi hotspot. Once there, you'll have to press the Menu button (bottom left of your phone) and up pops Timeout settings!
One can only ...
I can only recommend CyanogenMod, or, if you want to keep your ROM: HotSpot Widget.
CyanogenMod allows you to create a HotSpot Quick Setting Tile.
The widget is placed on your home screen and if you want to enable/disable the hotspot tap it.
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:
There is an app on the Android Market called "Tethering", which requires no permissions to run, which provides a shortcut to the "Tethering and portable hotspot" configuration screen.
You can put this app on your home screen and that reduces your steps to:
2) tap the Tethering icon on your home screen
3) slide portable hotspot on
I use it ...
I believe this should work - Widgetsoid2.x on Google Play
(I have verified that this allows you to create a toggle widget on ICS which does not go into settings app and does it work directly. Although since Wi-Fi Hotspot is not working on my custom ROM of ICS yet, I can't verify the actual working.)
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:
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 ...
Wi-Fi Adapter = Wi-Fi connection adapting capability of tablet.
Using it, you can connect with an existing Wi-Fi hotspot (which broadcasts the network).
Wi-Fi Hotspot = Wi-Fi connection broadcasting capability of tablet.
Using it, you can create a portable virtual hotspot similar to Wi-Fi routers which other devices can connect to.
Unfortunately, when ...
I ended up manually changing my DNS server to tether Internet from my mobile phone. My phone uses a local DNS server from my mobile carrier which I was able to trace using CompruebaIP.
Any other DNS server is blocked by my mobile carrier (Globe Telecom). I reckon that my phone's DNS service is not properly working. When tethering, the DNS provider should be ...
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 ...
Take a look at Network Discovery -- it lists all devices within the same network, together with some details on them, as e.g. IP, MAC address, available services:
Network Discovery (source: Google Play; click images for larger variants)
Other port scanners will do as well.
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.
Settings, Apps, All, ...
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[.]
These features depend on your mobile ...
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:
mount -o rw,remount /system
mv hostapd inactive_hostapd
mount -o ro,remount /system
Reboot your phone and you'...
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 ...