[Q] wifi is connected but no internet access - HTC Inspire 4G

hello, I'm using an htc inspire 4g. I connect to wifi but no internet access. other devices connect to the router. I tried resetting the phone and it still doesn't work. Can someone help me fix this???
here's the software information.
Android version 2.3.5
Htc sense version: 3.0
Software number: 3.20.502.52 710RD
Kernel version:2.6.35.10-ga 375925
Baseband version: 12.69a.29u_26.17.14.11_M
Build number: 3.20.502.CL380259 release keys
Browser version: webKit/533.1

You should check the settings for the WiFi network. Make sure gateway is set to the address of the router, DNS server is set to the address provided by your ISP (unless your router is providing a DNS service), and select DHCP as the means to get an IP address, or specify a static address if desired.
Sent from my Inspire 4G using xda app-developers app
---------- Post added at 10:50 PM ---------- Previous post was at 10:44 PM ----------
And subnet mask should most likely be set to 255.255.255.0
Sent from my Inspire 4G using xda app-developers app

Still not working
:crying:
MidnightJava said:
You should check the settings for the WiFi network. Make sure gateway is set to the address of the router, DNS server is set to the address provided by your ISP (unless your router is providing a DNS service), and select DHCP as the means to get an IP address, or specify a static address if desired.
Sent from my Inspire 4G using xda app-developers app
---------- Post added at 10:50 PM ---------- Previous post was at 10:44 PM ----------
And subnet mask should most likely be set to 255.255.255.0
Sent from my Inspire 4G using xda app-developers app
Click to expand...
Click to collapse
could u break it a down a bit more. The netmask was empty so i eneterd the one you gave me. i also type in the IP address that came up under the wifi that I'm connect to. I entered the IP at the gateway address. It's still not working.
Click to expand...
Click to collapse

The IP address you enter for the gateway address needs to be the local address and not the Internet address. Your router has one address that it presents to other hosts on the Internet, and one that it presents locally to systems on your home network. The former is your public IP address, and it will be assigned by your ISP. If you google "whats my IP address" on a working system on your network, and click one of the links in the result, you'll see your public IP address displayed. This is NOT what you want to enter for gateway address in your network configuration on your HTC.
You need the private address of the router. It probably starts with 192.168, and 192.168.1.1 would be a good guess. You need to consult your router documentation to see what it is. Also note that it could have been changed through the web interface to the router, by whomever configured your router. To verify you have the correct private LAN address, type http://<some IP address> in your browser, and you should see a router configuration screen, probably prompting you for a password. If you can't figure out the LAN address, post the make and model of your wireless router, and we can tell you the default LAN address, or you could google for that info also.
What do you have selected for how the IP address is specified? I guess the precise wording varies from ROM to ROM, but you can either define your own (static) IP address or select to have the router's DHCP server assign an IP address. You should select the latter, as it's simpler to configure. Then you need to make sure you have the correct DNS address. You can probably set this to the router's LAN address, which will work if the router is configured to pass through DNS requests. If that doesn't work, your ISP should somewhere tell you what DNS addresses (prime and backup) you should be using. You could also look at the network config of a working system on your LAN, and copy those settings on your HTC.
When all these settings are made, see if there is a selection to renew the DHCP lease, and do that if you find it. If you don't have that option, and it's still not working, select to "forget" the network, then connect to it again and enter all the settings from scratch and submit it.
Since you're connected to WiFi, it sounds like you have the correct password and security type set. The fact that you're connected to WiFi and not Internet suggests something is wrong with your IP configuration. Hopefully one of the things mentioned above will get you going.

It worked... Thank you
MidnightJava said:
The IP address you enter for the gateway address needs to be the local address and not the Internet address. Your router has one address that it presents to other hosts on the Internet, and one that it presents locally to systems on your home network. The former is your public IP address, and it will be assigned by your ISP. If you google "whats my IP address" on a working system on your network, and click one of the links in the result, you'll see your public IP address displayed. This is NOT what you want to enter for gateway address in your network configuration on your HTC.
You need the private address of the router. It probably starts with 192.168, and 192.168.1.1 would be a good guess. You need to consult your router documentation to see what it is. Also note that it could have been changed through the web interface to the router, by whomever configured your router. To verify you have the correct private LAN address, type in your browser, and you should see a router configuration screen, probably prompting you for a password. If you can't figure out the LAN address, post the make and model of your wireless router, and we can tell you the default LAN address, or you could google for that info also.
What do you have selected for how the IP address is specified? I guess the precise wording varies from ROM to ROM, but you can either define your own (static) IP address or select to have the router's DHCP server assign an IP address. You should select the latter, as it's simpler to configure. Then you need to make sure you have the correct DNS address. You can probably set this to the router's LAN address, which will work if the router is configured to pass through DNS requests. If that doesn't work, your ISP should somewhere tell you what DNS addresses (prime and backup) you should be using. You could also look at the network config of a working system on your LAN, and copy those settings on your HTC.
When all these settings are made, see if there is a selection to renew the DHCP lease, and do that if you find it. If you don't have that option, and it's still not working, select to "forget" the network, then connect to it again and enter all the settings from scratch and submit it.
Since you're connected to WiFi, it sounds like you have the correct password and security type set. The fact that you're connected to WiFi and not Internet suggests something is wrong with your IP configuration. Hopefully one of the things mentioned above will get you going.
Click to expand...
Click to collapse
Thank you very much it is working now. I reset the phone again and then enter the IP address, gateway address and DNS 1 and DNS 2. I"m so gratfeul. Thanks again.I used the info from the PC I am using
Click to expand...
Click to collapse

You're welcome. Glad to hear it's working.

Related

Specifying DNS Servers for WiFi Connection

Hi Folks,
I have set up my wife's SPV E650 to hook up to our wireless network at home so she can connect to the internet through the home wireless network. We have static IP's on our LAN. Although I have specified a static IP for the E650's wireless connection, I cannot find out where I specify the DNS servers to allow her to connect to the internet via our ISP, (I know the DNS server IPs, I just can't find out where I enter that info on the E650). So at the moment, I can connect to the home network, but cannot get onto t'internet!
It is quite likely that I am being a spaz and am missing something obvious... regardless, if you can help me, let me know!
Cheers
MW
even if you have a static IP you should not have to specify a static DNS because your default gateway should be your router IP address and your router should automatically give the DNS servers to any device that pulls that ip address
Disabled said:
even if you have a static IP you should not have to specify a static DNS because your default gateway should be your router IP address and your router should automatically give the DNS servers to any device that pulls that ip address
Click to expand...
Click to collapse
Thanks for your response.
All the other devices on my home network (laptop, PC, Xbox 360, SPV M3100) ask for the DNS server to be specified in a static IP environment, and they all connect to the internet just fine through the wireless network.
I am sure you are right, but I know that none of the above mentioned devices connect to the internet without the DNS servers specified.
So, question remains, how do I specify the DNS servers on the E650? Maybe a registry entry?
@mortalwombat,
i have the same problem with my htc s710.
Even though I run the wireless network with static IPs, I set my HTC S710 to get the IP "from a server" (= dynamic IP setting).
I did this after I tried with an IP Adress within my IP Adress Range.
So what happened is that my S710 somehow gets an IP Adress from my router that is almost in my regular IP Range.
You can try to set an static IP Adress within your Range first and then switch to dynamic IP Adress on you device..
Marcus

[Q] How to set a fixed IP address

How to set a fixed IP address
Go to your WiFi settings. Where you have your list of WiFi networks, push and hold the network you want to have static IP on. After a second or two, a dialogue comes up where you can Forget network or Modify network. Select Modify Network. In the settings you have one that is called "IP settings", currently configured to DHCP. Select static in that menu and then you will be able to fill in all the details for your static address (IP, Netmask, Gateway, DNS servers, Netmask). Note, the netmask is called Network prefix length and you specify how many bits that are locked rather than the normal "255.255.255.0" syntax.
thanks, man
Sent from my MB860 using XDA App
bithir said:
Go to your WiFi settings. Where you have your list of WiFi networks, push and hold the network you want to have static IP on. After a second or two, a dialogue comes up where you can Forget network or Modify network. Select Modify Network. In the settings you have one that is called "IP settings", currently configured to DHCP. Select static in that menu and then you will be able to fill in all the details for your static address (IP, Netmask, Gateway, DNS servers, Netmask). Note, the netmask is called Network prefix length and you specify how many bits that are locked rather than the normal "255.255.255.0" syntax.
Click to expand...
Click to collapse
I have a vibrant T959 and was wondering if I set it to have a static IP address, what else does it affect on the workings of the phone. I am using the phone to give me a wifi hotspot and then I am using the signal to send to my MoFi wireless router to give my FTA satellite reciever the internet but I don't want my IP to change evey time I turn off my wifi hotspot. My FTA reciever needs a constant IP address. Thanks for any help you can give me. I am new to a lot of this.
Thanks a lot, I just bought the eee Pad and in my way setting things..

IP address changer

Hi,
Could you send me link where I can download
App which can change IP address if exist?
Thanks
if you need to change the adress of your Wifi connection, simply go to your wifi settings, do a long press on the network and select "edit". Here you can change the IP Adress.
No, I need to configure manualy IP address because WIFI AP doesnt give IP addresses and I am not administrator of this AP and its company wifi.
Exist this program ?
you should be able to connect to the Wifi AP. Once done, it should either provide you with an IP via DHCP, or if this is indeed disabled as you say a zeroconf ip. If it's DHCP you don't seem to be able to modify the IP, but for zeroconf:
select the wifi network in your wifi setting, press and hold it, select "edit". Right under "proxy on/off" you should be able to edit your IP Adress, subnet mask and gateway adress as well as your DNS Servers.
Localhorst86 said:
you should be able to connect to the Wifi AP. Once done, it should either provide you with an IP via DHCP, or if this is indeed disabled as you say a zeroconf ip. If it's DHCP you don't seem to be able to modify the IP, but for zeroconf:
select the wifi network in your wifi setting, press and hold it, select "edit". Right under "proxy on/off" you should be able to edit your IP Adress, subnet mask and gateway adress as well as your DNS Servers.
Click to expand...
Click to collapse
Your advice it's nice bul****. If you are connected to wifi
you can allow only proxy server if you edit selected
wifi network and nothing else.
I ment program which allows me change ip address before
I log to wifi network.
I hope thats clear.
marek1 said:
Your advice it's nice bul****. If you are connected to wifi
you can allow only proxy server if you edit selected
wifi network and nothing else.
I ment program which allows me change ip address before
I log to wifi network.
I hope thats clear.
Click to expand...
Click to collapse
No its not clear man ...
Why you want to change the ip of your phone to a static one for all networks yoy log in...
When your phone finds the network you want to log in connect to the net providing the password ... then after connecting and not haviing an ip address, keep the name of the network pressed with your finger and there you can change the ip address..
Did you try this yourself?
colossus_r said:
When your phone finds the network you want to log in connect to the net providing the password ... then after connecting and not haviing an ip address, keep the name of the network pressed with your finger and there you can change the ip address..
Click to expand...
Click to collapse
Did you try this yourself, and it worked? If yes, I wonder big time because that's exactly what did not work for me and my HTC Radar at my home Wifi network: Without a DHCP server running on the Access Point (no need for, only static IP addresses in use) the phone did not connect, just hang for a minute or so and then timed out. Only after I activated a DHCP server to dish out an IP to the phone it connected.
colossus_r said:
No its not clear man ...
Why you want to change the ip of your phone to a static one for all networks yoy log in...
When your phone finds the network you want to log in connect to the net providing the password ... then after connecting and not haviing an ip address, keep the name of the network pressed with your finger and there you can change the ip address..
Click to expand...
Click to collapse
Well this should not work.
Did you test your solution, looks strange?
Ap exist and it's new
OK, go listen to my pray.
Now I am happy.
http://forum.xda-developers.com/showthread.php?p=25772667&posted=1#post25772667
colossus_r said:
No its not clear man ...
Why you want to change the ip of your phone to a static one for all networks yoy log in...
When your phone finds the network you want to log in connect to the net providing the password ... then after connecting and not haviing an ip address, keep the name of the network pressed with your finger and there you can change the ip address..
Click to expand...
Click to collapse
suppose(and this case is real in my case and applies to me..) u r not the admin of wifi router(u r nt connection owner) and u r in ur school and u want to connect to school wifi..but the router connects to only a limited set of ips..network admin has disabled dhcp server as in my ase..without preconfiguring the ip address before connection, u cant connect to ap..thats tragedy..dont think, oh i have never undergone such circumstances and ur network admin is a jack***..i know but i am helpless in this situation..all my classmates and my seniors are android device owners..so network admin doesn't change all settings just for helping a single person(at least in india..they ll ask u to use internet through library computers like dumbasses..)
THIS SUBSTANTIATES THE NECESSITY OF A FEATURE WHICH ALLOWS U TO SET A STATIC IP BEFORE LOGGING INTO ACCESS POINT..
also this feature helps to prevent all the little more work consuming process of logging into router, assigning static ip to ur device, and getting the static ip on device from router itself(but still thats DHCP only)..
Try Hotspot Switch IP. Is a free android app which allows you to change IP automatically by timer, remotely via web server, and also you can do it in app. Link: https://play.google.com/store/apps/details?id=hotspot.wifi.change.ip&pli=1

A weird restriction to access internet from wifi

Ask Question
I had a small quarrel with my stepfather, and then he didn’t let me access the home internet. When I try to connect to our home wifi normally, it says "obtaining ip address" and loops for minutes until it says "failed to obtain ip address." But when I try to connect by setting static ip from my phone, it connects immediately but says " no internet." I assumed he might have blacklisted me, but I am unable to connect even my laptop and other phones. Suspecting that my stepfather had enabled whitelist or MAC filtering, I tried to spoof MAC address using kali linux, but I couldn't connect to the wifi with spoofed MAC. I need internet but my stepfather won't listen to me. Since he is not in home right now and won't return for a month, I don't have a connected device to access the setup page and see the settings of our Digicom ( DG-M342T) router. I am also unable to physically access the router but I have the password( Authentication type - WEP). How do I fix this? I would really appreciate your help.
You could download the router's management app and then view the connected devices list on your phone. Check your router's setup guide to see which app you need to download.
jwoegerbauer said:
You could download the router's management app and then view the connected devices list on your phone. Check your router's setup guide to see which app you need to download.
Click to expand...
Click to collapse
I can't access the setup page by typing 192.168.10.1 in the url or from other Router management apps on the play store. It says " Can't reach the page." I also checked the guide where it says to open admin page by typing 192.168.10.1 on the browser , but there is no mention of any management apps.
Making changes to your router you’d need to know the IP address of the router. A list of wellknown router IPs here:
How to Find Your Router IP Address in 3 Steps | ExpressVPN
Learn what an IP address is, the differences between a local and public IP address, and how to find your router’s IP on Windows and Mac.
www.expressvpn.com
jwoegerbauer said:
Making changes to your router you’d need to know the IP address of the router. A list of wellknown router IPs here:
How to Find Your Router IP Address in 3 Steps | ExpressVPN
Learn what an IP address is, the differences between a local and public IP address, and how to find your router’s IP on Windows and Mac.
www.expressvpn.com
Click to expand...
Click to collapse
Thanks for your reply jwoegerbauer. As I mentioned earlier in my post, if I connect to wifi just by typing password, it loops "obtaining ip address" for long period, and therefore I have to set static ip address through the advance setting of wifi just to connect to it. My router's local ip address is 192.168.10.1 . I used to access the admin page before the restriction through this ip address. But now it says "Can't reach the page." The problem is about not being able to access internet and admin page after connecting to the router.
Clear your local DNS cache to make sure you have the recent version from your ISP for 192.168.10.1. For Windows machine, you can do this by going to Start > Command Prompt > Type ipconfig /flushdns and then hit Enter.
Assumed that router's IP really is 192.168.10.1 and it still doesn't work then maybe ISP is blocking it. You may try to use an alternate DNS service such as Cloudflare for example.
I flushed the dns in windows. Now I can connect to the wifi without setting statip ip (in windows), but I still can't access internet. If I try to open any website, it says "
Hmmm… can't reach this page" and then says "You are not connected." I installed cloudflare WARP in windows but it was no use , since it requires internet access to function.
These are the screenshots of my android to explain what exactly happens:
1. When I try to connect to wifi just by typing it's password (loops at "obtaining ip address")
2. Setting the static ip manually
3. Instantly connected after setting static ip
4. Connected but No internet
5. Can't access router setup page
Cloudflare Warp? Confused.
How to change DNS Server to Cloudflare is explained in detail here:
How To Change DNS To 1.1.1.1 [ CloudFlare ] In Windows 10 Laptop And PC Full Tutorial - TECHWIBE
Are you having a slow Internet speed and websites are taking too long to load with your Window 10 OS (laptop or PC). Then this guide will definitely help you
www.techwibe.com
I downloaded an application( Cloudflare WARP) form the cloudflare website linked below. I checked the website you linked and changed the DNS accordingly, but I still can't access internet. My android phone is not even connecting without static ip and I am tired of manually setting it and not being able to use internet.
Windows · Cloudflare WARP client docs
The Cloudflare WARP client allows individuals or organizations to have a faster, more secure and private experience online.
developers.cloudflare.com
No further ideas on my part.
jwoegerbauer said:
No further ideas on my part.
Click to expand...
Click to collapse
Well thanks for your help jwoegerbauer. Below is the screenshot of ipconfig command after flushing dns. It looks like I haven't been assigned an ip address, the subnet is different, and the gateway is blank. Do you have any idea what this means? What could be a valid ip adress to connect manually with static ip?

Assigning a static IP address to a phones hotspot

How can I assign a static IP address to my phones hotspot?
I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet.
I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access.
A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses?
Can someone please help?
Thanks,
normanscr said:
How can I assign a static IP address to my phones hotspot?
I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet.
I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access.
A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses?
Can someone please help?
Thanks,
Click to expand...
Click to collapse
I don't know the answer to your question directly as your situation is more complicated than is mine but I will try to help in so much as you can at least check what your current settings are.
My setup is only similar to yours in that I have apps (such as vysor & scrcpy) on Windows which are expecting a static IP address from my phone. However, where my setup differs from yours is I'm not using my phone as a hotspot - the router is assigning the IP addresses.
However, maybe what I've learned by randomizing my MAC address on each connection can help you - where I say maybe - as I your situation is using the phone as a hotspot and mine is passively accepting the IP address handed to the phone by the router.
In Android 11, the phone's Wi-Fi radio MAC address can be randomized per SSID, in which case the "address reservation" feature of most routers (often incorrectly called "static" IP addresses) won't work as intended. Worse, in Android 12, in Developer options, you can set a switch to randomize the Wi-Fi radio MAC address of the phone on every connection, regardless of the SSID.
Hence, you have to set the "static" IP address request in the phone itself, so that the router will respect that request for a static IP address.
(As an extra complexity, my SSID broadcast is hidden for privacy reasons (not for security - but privacy), which complicates things only a tiny bit as you have to turn off auto-reconnect for privacy.)
See the images below where maybe (but maybe not!) this information will help you track down why in your (hotspot) case, this static IP address requrest isn't being honored in your hotstpot setup.
normanscr said:
How can I assign a static IP address to my phones hotspot?
I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet.
I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access.
A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses?
Can someone please help?
Thanks,
Click to expand...
Click to collapse
Hi ,
if You are the lucky owner of a rooted phone you can try this:
How do I assign a permanent static IP address to hotspot in Android 10
I would like to assign a permanent static IP address to hotspot in Android 10 (Unofficial LineageOS 17.1 for Natrium by LuK1337, rooted with Magisk v20.3 and updated to Jan 11, 2020 build). Now whenever I turn on the hotspot, it assigns a...
forum.xda-developers.com
To assign a static IP address to your phone's hotspot:
Go to your phone's settings and find the hotspot or tethering settings.
Look for the option to set the IP address as "Static" or "Manual."
Enter the desired IP address, subnet mask, gateway, and DNS server information.
Save the settings and restart the hotspot.
For more details, you can check out https://1921681.mobi/192-168-100-1/. Hope this helps.

Categories

Resources