The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
1
vote
0answers
77 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
0answers
28 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 ...
2
votes
1answer
132 views

How to change the default DHCP IP address range on Android 7.1.2?

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
2answers
5k views

What can be the reason for “internet may not be available” though the IP address was got

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" ...
2
votes
1answer
389 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 ...
0
votes
1answer
791 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: "...
1
vote
1answer
4k 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
2answers
2k 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
1answer
15k 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
0answers
528 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
0answers
893 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
1answer
352 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 ...
3
votes
1answer
2k 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 ...
1
vote
0answers
2k 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
0answers
2k 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
1answer
991 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
1answer
1k 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
1answer
16k 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 ...
4
votes
0answers
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 ...
9
votes
5answers
7k 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
1answer
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 ...
5
votes
3answers
14k 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
1answer
3k 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
0answers
31 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
2answers
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 ...
1
vote
1answer
9k 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
5answers
15k 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
1answer
295 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
0answers
570 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
1answer
2k 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
1answer
1k 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.
3
votes
1answer
1k views

Samsung Galaxy S - Problem obtaining IP address. “NAK in request”

I can't obtain an ip address to my Android smartphone from my wifi router. Observations: The smartphone connection to other routers or thru cellular data is ok. My router's wifi connection to my PC ...
3
votes
1answer
394 views

Is there a way to set the IP configuration on a per network basis?

I connect to multiple wifi networks. On some of the networks I have to use a static IP address. Most with DHCP configurations are without the option to use static IP addressing. For this reason I ...
10
votes
2answers
14k views

How to change DHCP config?

I am trying to access an ims core from the ims client in my Android device, however I need to modify the dhcp client to add the ip of the core as one of the DNS. In case of a Linux OS the following ...
59
votes
7answers
149k 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 ...