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
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.
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.
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 ...
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 ...
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 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 ...
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 ...
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 ...
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 ...
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 ...
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:
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.
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 Discovery1 -- 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.
1: This app is no longer available on Play Store.
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, ...
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'...
You could make your phone to act as a VPN Gateway
vpn server (can obtain any free openVPN from playstore)
Using a VPN gateway will make tethered traffic to go through the VPN.
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 ...
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 ...
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+
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 ...
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 (...
XDA developer capslock66 has developed a reverse tethering tool which is the simplest yet (and hopefully in future too). Only requirement is a rooted phone. You can download it from here-
Android reverse tethering via usb
It comes as a zip file with all the adb files and dependencies. Once you open the application, it will do all the settings on your phone ...
From what I understand - If you use a strong password in either wpa-psk or wpa2-psk it's more or less "unbreakable". Even if you use a legacy cipher like TKIP you still need to intercept the 4 way handshake to get the authentication packets. When you gotten that, then the hashed string need to be brute forced.
Android hotspots running wpa2-psk will use the ...