hello all, i'm sharing my internet connection througth my wifi adapter using ralink software

my android phone(htc) is stuck at obtaining ip adress, i tried manual input i adress but not working .

ip : 192.168.1.x
gateway : 192.168.1.1
dns 1 : 8.8.4.4
dns 2 : 4.4.4.4

-------

as you can see my computer ip is :
IPv4 Address. . . . . . . . . . . : 192.168.1.5
Subnet Mask . . . . . . . . . . . : 255.255.255
Default Gateway . . . . . . . . . : 192.168.1.1

but the accesss point is saying : ip adress 192.168.23.1

can you please help me ? thank's

Dani AI

Generated

A few practical points that explain why Android often hangs on "Obtaining IP address" when a PC is acting as the hotspot, plus steps that usually fix it. This thread shows the classic vendor-SoftAP vs. Windows-ICS conflict: the Ralink soft-access-point creates its own virtual adapter and subnet/DHCP, and Windows Internet Connection Sharing (ICS) must be explicitly bound to that virtual adapter. was right to check masks and 's reboot/forget-network steps are good quick checks—but the real problem is usually a DHCP/gateway mismatch rather than the phone.

Checks and fixes to try (in roughly this order):

  • Confirm which adapter is the hotspot and that ICS is assigned to that exact virtual adapter (Control Panel -> Network Connections -> Properties -> Sharing -> "Home networking connection"). If ICS is bound to the wrong interface the phone will never get a usable lease.
  • If the vendor SoftAP provides its own DHCP server, either enable/configure that DHCP correctly or disable the vendor DHCP and let Windows provide DHCP. Two DHCP servers on the same host will cause failures.
  • When testing a static IP on Android, make sure the IP is on the hotspot's subnet, the gateway is the hotspot's IP, netmask is correct (typically 255.255.255.0), and use known public DNS (for example 8.8.8.8 / 8.8.4.4). "Appears connected but no internet" usually points to a wrong gateway or DNS.
  • Temporarily disable host firewall/antivirus (or any packet filter) to ensure DHCP packets are not blocked. Forget the SSID on Android and reconnect after changes.
  • If the vendor utility keeps conflicting, uninstalling the vendor SoftAP driver (or using Windows built-in hosted-network/mobile-hotspot or USB tethering) often fixes the issue — which is what ultimately resolved it for .

If deeper debugging is needed, use ipconfig /all to confirm which adapter holds which IP and whether a DHCP server is present; packet capture of DHCP traffic will show whether offers are reaching the phone. Preventing two competing DHCP/gateway configurations on the host is the key.

Recommended Answers

All 6 Replies

note : when i manual input the config to the phone , it says connected but there is no internet on the phone ( and i'm checking internet sharing in the adapter)

Get off the phone. Use a laptop/Pc and check your IP settings and the gateway to make sure there are no errors there. On the pc check IP with ipconfig /all and on a mac with ifconfig. Make note of the subnet mask, I suspect your mask is 255.255.0.0 and not 255.255.255.0

Hi CimmerianX
here is the result :
Subnet Mask . . . . . . . . . . . : 255.255.255.0
i just want the settings that work properly on the phone

any suggestions guys ?

Try rebooting your router or changing your router's IP. And then forget the network on your Android device and reconnect to the network.

hi ripster, thank's for your replay, i solved the problem by using usb reverse tethering software, i also deainstalled ralink drivers and it's working, no more ip adress issues.
thank's all

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.