Questions tagged [dhcp]
DHCP stands for Dynamic Host Configuration Protocol and is commonly referred to as the service that dynamically assigns IP addresses -- which makes it easy to e.g. connect to other Wifi networks without knowing anything about their configuration. The DHCP server also tells its clients the default gateway and DNS servers to use.
54
questions
1
vote
0
answers
48
views
What runs the DHCP client on Android?
I am building AOSP (version 14) from sources, for a PinePhone (so I have root access). I am trying to get reverse tethering to work (i.e. the Android device connects to the network through the other ...
1
vote
1
answer
184
views
How to tell an Android device that only has ADB connectivity about an NTP server?
In a comment on this question Robert asked:
Have you tried to provide an NTP server in your local network and announce it via DHCP?
How can I do that, please? I have several development devices ...
2
votes
0
answers
399
views
Make/force my cellular network connection have static IP address, or manual IP
I live a conflict area with internet blocked. I have Samsung a54 phone. They block your internet by blacklisting IPs assigned by certain towers on network registering. eg. 10.111.. is blocked while 10....
1
vote
2
answers
653
views
Making Android Use Local DNS Server
I have local DNS (bind9) and DHCP (isc-dhcp-server) working to the point where my desktop and servers can see each other using the domain voncorax.internal. However, I also have two Samsung devices ...
0
votes
0
answers
19
views
No internet from one AP
I have four Asus APs throughout my home, with the same two SSIDs, one for 2.4 and one for 5GHz. If I connect my Android device to the 5GHz band, then it works fine on 3 APs until it roams to one of ...
0
votes
1
answer
355
views
What does "network time" mean on a WiFi-only device?
I have a tablet (no phone network, just WiFi) running Android 12. In the Settings | Date and Time sub-dialog when I select Automatic date & time, there is a 3 way choice:
Use network provided ...
0
votes
0
answers
721
views
Is there a way to have a static IP address on PC if I'm using USB tethering?
I need a static IP address on my PC. It uses a USB tethered phone (Xiaomi Redmi Note 10) for internet connection, so I'm not sure how to go about that. I tried to assign one through network settings ...
0
votes
0
answers
45
views
Some tablets respond to pings, others don't
There are dozens of tablets on my table that are all connected to the same 5GHz Wi-Fi network. All IP addresses were given by DHCP in subnet 192.168.34.0/24. I want to find the ip addresses of all of ...
0
votes
0
answers
2k
views
How to Run Captive Portal Server on Android Device using Hotspot SoftAp and DHCP options
Goal:
I want to run a web server that provides a Captive portal service on an Android Device, using the native Android Soft AP/Hotspot, Termux, NodeJs, and the "new" way to detect captive ...
0
votes
2
answers
531
views
Hotspot DHCP issues without mobile data (dhcp4 request timed out)
By default, does the Android "hotspot" functionality provide a DHCP server to its clients? Or does it just pass DHCP info on from the network that it's connected to?
I'm trying to create a ...
1
vote
0
answers
1k
views
Android ignores DHCP "Search domain" unless it's on a VPN
So I have a single subnet, flat LAN, multiple wired access points all in bridge mode.
I have ISC-DHCP server and Bind9 DNS server configured for dynamic DNS hosts etc. The DNS provides a local zone ...
2
votes
0
answers
11k
views
How do I force a new DHCP IP address on my Android?
I have a Linux system with the default DHCP server (ISC) and an Android phone Galaxy J7 which connects and gets its IP address from the DHCP server.
Right now, the Galaxy J7 was allocated an address ...
3
votes
2
answers
5k
views
How can I permanently assign a static IP address to Wi-Fi clients? (Lineage OS 17.1 Android 10)
My phone Moto X 4 has LineageOS 17.1 installed and is rooted with magisk. I use the phone's hot spot as main mean to connect to the internet.
In this scenario the android device acts as DHCP server, ...
4
votes
1
answer
3k
views
How to reset static IP address back to DHCP for ethernet
I have setup a static ip address for eth0 with adb command ip addr add $ipAddress dev eth0 plus other commands to set the netmask, route and dns values.
My question is how to I go back to a non static ...
1
vote
1
answer
758
views
How to share a 4G data connection over wired Ethernet?
I understand that Android is principally an wired-Ethernet client. i.e. it requests and receives a DHCP address. The internet is on the other side of the Ethernet cable.
Does any version of Android ...
2
votes
1
answer
4k
views
Is dhcpcd used in newer Android versions? How to configure new DHCP client?
Basically, there's a file /etc/dhcpcd/dhcpcd.conf . Is this file or dhcpcd used at all? My phone runs Android 7.1.2 and I wanted to change the default hostname using the hostname somename line in this ...
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], ...
0
votes
1
answer
693
views
Why I am getting a strange DNS server in my dhcp client android phone?
Sorry for bad english.
I have a DHCP server router with IP 192.168.0.254
Everything goes well, but my phone and my tablet gets a very strange DNS 1 server: 80980492081
Here is a screenshot:
This is ...
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 ...
1
vote
0
answers
92
views
incorrectly receiving DNS settings from AP when connecting to public wifi
I had to fly recently. The flight had in-flight entertainment through gogoinflight, but I couldn't access it on my phone while everyone around me could. I thought the problem was with the router but ...
3
votes
1
answer
15k
views
How to change the default hotspot DHCP IP address range on Android?
As the title says I look for a way to permanently change the default IP address range form 192.168.43.xxx to 192.168.1.xxx.
Reason: On my router some of my devices get a static IP trough DHCP, in the ...
0
votes
2
answers
5k
views
What can be the reason for "internet may not be available" though the IP address was obtained
Only one device with Android (SM-G390F, Android 7.0, G390FXXU2ARA1, 3.18.14-12962328) at my home stopped connecting to Internet through my WiFi router with the message "internet may not be available" ...
7
votes
2
answers
11k
views
How to assign Mobile Data's public IP to host connected on hotspot?
I've looked around but found nothing on this subject.
I have an Android phone with a public IP given by sprint. Tethering on Android uses NAT, so if I want to access any of the devices behind the ...
2
votes
1
answer
1k
views
Android DHCP Port Redirection
I am working on a MirrorLink implementation for the Google Pixel (Android 8.1.0). I must implement a DHCP server; however, Android applications cannot listen on reserved ports.
The Android ...
1
vote
1
answer
1k
views
Cannot connect: Obtaining IP address
This is not a duplicate of 'Android stuck on obtaining IP address' and similar questions
When I try to connect to my home network with my android phone, it displays this message and never connects:
"...
3
votes
1
answer
9k
views
Change android name from "android-..." [closed]
I have many android devices connected to my network but they are all showing as android-[string of hexacecimal].
My OnePlus 3t (v7.1.1) is one of the devices. I have changed the name of the device ...
0
votes
2
answers
3k
views
Does Android USB Shared connection runs a DHCP Server?
I'm aware of USB Shared connection of android and I've been using it to give connection to my computer.
Also I've an old domestic router which has RJ45 and wireless interfaces. I've been thinking ...
2
votes
1
answer
16k
views
How to setup a reverse USB tethering connection (multiplatform)?
I've tried to setup a reverse USB tethering connection to share an internet connection from a macbook to a smart phone running Android 7.0 using this tutorial but I can't seem to get there 100%.
Here'...
0
votes
0
answers
864
views
Change DNS to openDNS but keep DHCP, NOT static
I want to change my DNS settings to open DNS but I want to keep the setting at DHCP not static since that won't work on this network. Is this possible?
0
votes
0
answers
1k
views
andriod wifi dhcp problem: trying to solve via restoring a modified backup
It's not the first time this problem is listed. Suddenly connecting to any wireless networks fails by getting stuck on obtaining IP address. This happened after I enabled airplane mode for the first ...
2
votes
1
answer
436
views
HTC One M8 Network Name
I have a verizon HTC One M8 running Android 6.0. I recently noticed that the network name that appears on my routers DHCP list for this device is "X2E GmbH". I confirmed that this device is indeed ...
5
votes
1
answer
4k
views
Change DNS but stay on DHCP
I have a "Minix Neo X8-H Plus" Android TV box, running Android 4.4 (KitKat).
I want to change the DNS servers on the WiFi connection, but to do that, I only get that choice if I change to a static IP ...
2
votes
0
answers
3k
views
Wifi Hotspot dnsmasq no DHCP ACK
I am creating a Wifi hotspot with hostapd and providing DHCP/DNS through dnsmasq on an Android 5.0.1 device. When a client connects to the Wifi hotspot it is subsequently unable to obtain an IP ...
2
votes
0
answers
3k
views
How do I repair Android DHCP issues?
My phone plan comes standard with a lot of data and as a result, I've been regularly using the Mobile Hotspot feature built into it, on my laptop. The phone is a Samsung Galaxy S5 and is rooted on a ...
0
votes
1
answer
1k
views
fail to connect to public wifi networks with cyanogenmod
I changed my pre-installed OS to Cyanogenmod 9 on my Xperia Neo V and since then I cannot connect to any free public network that requires simple registration (like airports, cafes, etc).
My phone ...
4
votes
1
answer
2k
views
Does android save a log of its own IP addresses?
I have a Wifi network to which I connect at work. The IP address has always been DHCP, but today the DHCP server is down. If I can figure out what IP address I had, I can set it statically (after ...
15
votes
1
answer
23k
views
Identifying an Android device by its hostname
Every Android device in our network has the hostname android_[some-hex-number].domain.local. I do have one device which requested 10 IP addresses (different MACs, but always the same hostname). Is ...
7
votes
0
answers
1k
views
How can I get Android devices to see a classless static route?
This seems to be a problem that a few people are having. I have DHCP set up on a Windows 2008 server. Amongst all the options I have set, is option 121 (Classless Static Routes). I have two routes set ...
11
votes
5
answers
8k
views
Endless “Obtaining IP Address” loop
Possible duplicates:
https://android.stackexchange.com/questions/60139/ice-cream-sandwich-cant-obtain-ip-address-what-do-i-need-to-delete-to-reset-wi
Device stuck on "obtaining IP address", ...
2
votes
1
answer
5k
views
Reset DHCP cache for Asus Memo Pad HD7 'Avoided due to poor connection'
Only the other day, my tablet now refuses to connect to any Wi-Fi spot.
I've tried resetting both the tablet and the router to no avail. After looking around, it seems to be some form of issue with ...
7
votes
3
answers
16k
views
WiFi network not accessible with modified MAC address
I've recently bought a Nexus 7 to use as a demo client for a system I am currently developing. For the time being, the system requires the client to have a particular MAC address in order to work. I'...
7
votes
1
answer
5k
views
AFWall+ allow DHCP+DNS services without allow all root?
Picked up AFWall+ today when heard it is the fork of Droidwall (which had been sold off to Avast).
Bonus is that AFWall+ has an entry for "(Tethering) - DHCP+DNS services".
Problem is that entry doesn'...
0
votes
0
answers
41
views
Android phone as hotspot and using wireless connection [duplicate]
Is it possible to make an Android phone a hotspot and make it use wireless connection?
Is there any programmatical control over DHCP?
2
votes
2
answers
2k
views
Samsung Note 2 does not assign received IP
I am trying to connect a Samsung Note II ( OS: Android 4.0, Ice cream Sandwich) through Wi-Fi to a DHCP Server. The DHCP server(192.168.3.29) is running on a Virtual Machine with OS as Ubuntu 12.10 64 ...
2
votes
1
answer
11k
views
Unable to open secure HTTPS websites on the tablet Android
My laptop and tablet are connected to the same access point. The LAN port of the WiFi point is connected to the router that uses DHCP protocol. I can access all the websites including secure ones ...
7
votes
5
answers
16k
views
DroidWall and Wireless Tethering
I have a very simple problem: when I run Wifi Tether on my Galaxy S3 the computer won't get the IP address unless I disable DroidWall firewall.
DW runs in whitelist mode, but I ran across its menu to ...
2
votes
1
answer
311
views
Problem accessing Internet in 4.0 ICS
For some strange reason, my Android 4.0 ICS tablet is no longer able to access the Internet.
First, via wifi, it could'n connect to two distinct networks.
Then later, I tried to connect it to home ...
2
votes
0
answers
777
views
Android not registering A and PTR records with DNS server
I have been running ISC BIND and DHCP servers on my private lan for quite some time now. Recently, I configured the two servers to enable Dynamic DNS updates to my private zone. It seems to be working,...
2
votes
1
answer
3k
views
How do I change my "Vendor Class ID"?
My device's "Vendor Class ID" is dhcpcd-5.2.10:Linux-3.0.8-gb55e9ac:armv7l:herring. I don't know what Vendor Class ID is, but how do I change it to something else?
My question is not related to ...
1
vote
1
answer
2k
views
Configuring DHCP client on my Android board
I am running Android on my development board and want to configure DHCP client on it. Can anyone tell the details of what steps to be followed to configure DHCP client on Android?