Linked Questions
11 questions linked to/from Connecting to WiFi via ADB Shell
71 votes
7 answers
181k views
How do I change the name of my Android device?
My Android device is the Nexus One. But this should apply to all current Android devices. How do I change the name of my Android device? When I connect to my wireless router's client tables, my ...
9 votes
2 answers
19k views
How does Android do DNS name resolution?
I am learning about how Windows does name resolution and need to know how Android does it so an app will work on my Windows laptop and from my Android Phone. Borrowing from a post on superuser.com, ...
5 votes
1 answer
16k views
How to make Ethernet work on Android over OTG?
I am trying to use an LTE modem connected to an Android 7 device over an OTG cable. The kernel recognizes the device and registers it with cdc_ether, but I am unable to use the connection from the ...
6 votes
1 answer
7k views
How to configure DNS properly while two LANs are running?
The device can't ping www.google.com but ping 8.8.8.8 is okay. My OS is Android 6.0.1, the kernel is 4.1.15 I've tried the resolv.conf and /etc/hosts. But these methods seem can not work on Android. ...
7 votes
1 answer
3k views
hostapd not working from adb shell [duplicate]
I have a LG G3 running 5.1.1 and I can successfully enable Portable Wi-Fi hotspot through the Settings menu. I can see my portable Wi-Fi SSID on another Android device when enabled through the ...
4 votes
2 answers
1k views
How to remove the android OS version from the DHCP request?
When my phone connects to my home WiFi network, it sends DHCP request in order to get an IP address. It looks like the following: 22:50:53.743535 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], ...
1 vote
0 answers
2k views
How to get IP address from DHCP running on WiFi AP using adb shell?
I am connecting to my WiFi network from adb shell using the following command: iw dev wlan1 connect -w WiFi-AP There is a DHCP server running on the AP as well, but whenever I try to get IP address ...
2 votes
0 answers
1k views
Internet access via external Wi-Fi adapter
Good afternoon, colleagues. There is: Samsung S7, LineageOS 15.1, root, terminal, kalinethunter, drivers for AR9271 in kernel; WIFI USB adapter Alfa atheros AR9271; USB-miniUSB cable. Required: ...
1 vote
0 answers
881 views
Oreo 8.1 - Trouble enabling ADB for system by modifying /system/build.prop in TWRP adb shell
I've followed https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bd and have doublechecked that the build.prop is indeed modified i.e. system was mounted in read-write mode. Unfortunately ...
0 votes
0 answers
484 views
Connecting external wifi adapter to android 6
This question may be asked before but I couldn't find a working answer so I will ask again. I got a Android 6 device which has root permissions. But its kernel is the stock one. I want to connect a ...
0 votes
0 answers
273 views
Change mobile phone into proxy gateway
I have a WiFi network in my home. Fiber connection as default. I'm looking for a way to hook my mobile phone into my local network, and create a "gateway" proxy on it. I installed something ...