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 ...
It is not detectable, but using tethering on Android with an second device leaves a lot of traces:
User-Agent Headers within HTTP that come from non-mobile browser
Increased Traffic consumption
Connection to services that are not available on Android/Smartphone devices (e.g. World of Warcraft)
and many more I can't think of atm.
But I have never heard of ...
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 ...
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 ...
In Android 4.2 and later, you can tell Android which Wi-Fi networks are mobile hotspots. In the device Settings, go to the Data usage page, then open the overflow menu (the three dots in the top-right) and click Mobile hotspots. It shows a list of Wi-Fi networks known to the device: tick any that are mobile hotspots.
Then, when you're on a network that's ...
Here's a version I developed that does it exactly like this - be aware there could be bugs in this, it may not work for CDMA/EVO as am in the EU using GSM!
It is a client/server based architecture.
To install the application, do the following:
Plug in cable into device
adb install WifiTether3G-release.apk
The gist of the app is this:
If you have no reason to why the wifi drops, you might try changing the wifi sleep policy. The wifi sleep policy handles when or if the wifi connection shall switch to mobile data. If this option is set to the default value, When screen turns off, wifi connection automatically switches off when the phone has been idle for a while. You can try setting this to ...
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.
Here is the ultimate answer:
First, on your phone, install a terminal-emulator from Android market, then run
which will show you the detailed processor information of your phone (ARM5 in my case).
Afterwards, you need to install an ARM5 cross-compiler environment on your Linux box (download Ubuntu and VirtualBox if you are a Windows/...
Try enabling airplane mode. It will shut down all the radios on your device - cell, wifi, bluetooth. Then try explicitly turning the wifi back on. Not all devices support this - driver issues, I think - but in many you will wind up with the cell radio disabled and the wifi on.
I had the same problem with wifi tethering after I installed Droidwall. Though the wifi connection was successful but I got no internet access.
I got it working simply by adding the DNS in my laptop. Hope, it works for you or anyone facing the same problem.
Change/Add DNS 188.8.131.52 and 184.108.40.206 in your PC/Laptop. That's it.
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 ...
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'...
After a lot of digging the clue came from Wi-Fi Direct.
The concept explained
Wi-Fi direct is a wireless standard that allows creation of a
connection between any two devices without a wireless access point (or
going through a router).
Wi-Fi direct uses a Wi-Fi protected setup (WPS) protocol when connecting two devices.
Additional protocols have ...
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 ...
IIRC you can't put an wireless interface in promiscuous mode when it's used. But this may not be true for all interfaces/chipsets/drivers.
You can install Shark for Root, which is a cut-down wireshark for Android. It does sniff on Layer 2 and above without promiscuous mode, so the results are not the same as sniffing with e.g. kismet. On the other hand you ...
Most likely, your X8 is broadcasting the wireless network in ad-hoc mode rather than infrastructure (AP) mode. Android does not natively support ad-hoc wireless connections, which is why your tablet cannot see or connect to the hotspot.
Your options depend largely on the state of your devices. If your phone is rooted then you can try a custom ROM or kernel ...
Android, starting from 4.0, does officially support a form of p2p wifi networking called Wifi Direct. A Wifi Direct-capable device can create an access point which any other Wifi-capable device can access. I don't know about Nexus 7 specifically, but Galaxy Nexus does support Wifi Direct so I'd presume that so is Nexus 7.
Maybe this is too late for some of you but this is a solution for Android 4.2:
Basically you need TUN module since the standard configuration does not include it:
Google Play - TUN.ko installer
Bluetooth thethering - fix solution
The WiFi password IMHO is only setup once, when you configure your device's hotspot. Lateron, you simply activate/deactivate it.
To automate the latter, you could e.g. use Tasker:
Condition: "Device Boot"
Task: "WiFi Tether" → set On
With this profile activated, your Hotspot would be automatically be enabled as soon as the ...
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.
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 (...
You can't monitor your Wi-Fi network using tethering even if Android supports promiscuous mode for the Wi-Fi chipset.
Tethering does NAT internally and assigns you an IP in a 192.168.* private range via a DHCP daemon running on your phone. There's no way you can see pure Wi-Fi traffic this way.
What you can do:
Have a custom firmware installed (e.g....