obtaining Ip address problem - Verizon Samsung Galaxy S III

Hi I recently updated my phone to i9300XXELKC and now I can't connect to my wifi network the phone stockes at obtaining ip then stops and tries again and when I put my phone on static ip it connects but there is a dns error when I use the browsers .
I thought this was the new rom's fault so I updated to XXELL5 but the problem remains . I hate this dhcp ip problem so plZzzzzz help me .

Might want to try the i9300 forums. These are for the Verizon SCH - I535 version.

BigErnM said:
Might want to try the i9300 forums. These are for the Verizon SCH - I535 version.
Click to expand...
Click to collapse
oops sorry I was in a rush cause I had an exam and I didn't notice

I had the same problem with my GS3, just set a static ip address and put them up address of your router in the DNS section, ie: if your router is 192.168.1.1 put that in the box. Best of luck!
Sent from my Verizon Galaxy S III using xda-premium

Static ip won't help, yes you can connect to wifi, but cannot get connection to internet. This is a bug of android, and ITs in Princeton univ. had some investigation. 412 should have fixed it
Sent from my HTC Z710e using xda premium

Related

WiFi DNS Does not Update

I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
starmena said:
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Click to expand...
Click to collapse
Ok so DHCP is assigning your network config, but you want to use different DNS servers than the DHCP allocated ones?
starmena said:
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Click to expand...
Click to collapse
On my HTC Hero running an Android 2.1 ROM, unless "Static IP" is selected, I dont even get the option to change the DNS servers (option is greyed-out).
One way to manually change DNS is via shell if you have root access on your phone using ADB shell (or ssh, telnet etc if your ROM supports them), see this thread [Q] Help! Changing DNS settings .
Any network config tools on the app store?
-jc
starmena said:
I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
Click to expand...
Click to collapse
I'm confused by your question. If you have DHCP turned off your device's are not going to grab an IP address from your router. Why don't you turn on DHCP and let your router assign IP addresses. As doing so your devices will also use the DNS setting from the router which will be your ISP's DNS ip address. Unless you change your DNS settings in your router to one of the many public DNS servers available. My recommendation is turn DHCP to "ON" on your router. Maybe start your DHCP IP assignment at 192.168.1.100 and go up to 150. That way you can use the range from .2 to .99 for static IP's. This is how I configured my router but I'm also using DD-WRT firmware on my router which highly customizes the router. Alternately you can change your routers DNS ip setting to Open DNS server so there would be no need for you to change it on the phone if you are using WIFI. Just let your router do all that work for you. Hope this helps. Viva Santiago Rep Dom y NYC.

[Q] Why's my Droid using Google's DNS?

I've just installed SSHDroid Pro on my phone and by SSH'ing into it I've come across some interesting DNS behaviour. I was having trouble visting one of my servers over my home WiFi with a hostname from DynDNS.org - the Nexus S can't find it and nslookup fails. But when I try it from a PC at home it's all fine.
# nslookup xxx.dyndns-remote.com
Server: 8.8.8.8
Address 1: 8.8.8.8
nslookup: can't resolve 'xxx.dyndns-remote.com'
How come my Nexus S is using these DNS settings? It should be getting its IP address from a DHCP server on my LAN, and the DNS settings handed out by DHCP certainly isn't Google's DNS. Is it hard coded into the Nexus S or something horrible like that?
philled said:
I've just installed SSHDroid Pro on my phone and by SSH'ing into it I've come across some interesting DNS behaviour. I was having trouble visting one of my servers over my home WiFi with a hostname from DynDNS.org - the Nexus S can't find it and nslookup fails. But when I try it from a PC at home it's all fine.
# nslookup xxx.dyndns-remote.com
Server: 8.8.8.8
Address 1: 8.8.8.8
nslookup: can't resolve 'xxx.dyndns-remote.com'
How come my Nexus S is using these DNS settings? It should be getting its IP address from a DHCP server on my LAN, and the DNS settings handed out by DHCP certainly isn't Google's DNS. Is it hard coded into the Nexus S or something horrible like that?
Click to expand...
Click to collapse
I think it may be one of the apps trying to get phone's IP for access.
Do you have your wifi set to never switch from wifi to mobile data while using wifi. If that isn't checked some phones switch back to mobile data.
Sent from my Nexus S 4G using XDA App
pierre1321 said:
Do you have your wifi set to never switch from wifi to mobile data while using wifi. If that isn't checked some phones switch back to mobile data.
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Where are those settings?
Sent from my Nexus S 4G using XDA App
obsanity said:
Where are those settings?
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Press menu while in wifi settings
Sent from my Nexus S 4G using Tapatalk
Yeah, just tap on sleep policy and select never.
dreamsforgotten said:
Press menu while in wifi settings
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App
pierre1321 said:
Do you have your wifi set to never switch from wifi to mobile data while using wifi. If that isn't checked some phones switch back to mobile
Click to expand...
Click to collapse
No, it's set to Never.
That's what i was asking you, not sure what else it could be.
philled said:
No, it's set to Never.
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App
I thought I had managed to resolve this but I haven't. If I connect to my WiFi and get a command line up in the Terminal app and run "nslookup machine.on.mylan" it shows me that it's using 8.8.8.8 as the DNS server. Surely it should be using the DNS server passed over in the DHCP settings when connected to the WiFi network? How do people connect their Android to machines on their private LAN if it can't use your own private DNS server?

Wifi issue - constant reconnection

Hi,
It seems that my 1S have a wifi issue.
I can successfully connect to a wifi network, but every 2-3 sec signal is lost, then the wifi icon in the status bar disappears, then it reappears and reconnect and so on.
I am running an unlocked german tmobile (from ebay), SW version 1.77.111.5
Is someone else having the same issue?
I dont have a device which is in that connect-disconnect loop, but it does not hold onto the Wifi signal, it seems to want to fall back to using 3G/HSDPA if it can, and only after a few mins of data on the 3G/HSDPA connection does it attempt to connect to Wifi.
Does you Wifi AP broadcast its SSID? Are there many devices on the same Wifi channel as the one you are using? Use Wifi-Analyser to find out.
pzboyz said:
I dont have a device which is in that connect-disconnect loop, but it does not hold onto the Wifi signal, it seems to want to fall back to using 3G/HSDPA if it can, and only after a few mins of data on the 3G/HSDPA connection does it attempt to connect to Wifi.
Does you Wifi AP broadcast its SSID? Are there many devices on the same Wifi channel as the one you are using? Use Wifi-Analyser to find out.
Click to expand...
Click to collapse
yes the ap broadcasts its SSID
As for WIFI channel, I'll check it out
Yea I get problem at work I think its more of a router issue cause at my house it stays connected to my WiFi all day
Sent from my HTC VLE_U using XDA
jguedj said:
Hi,
It seems that my 1S have a wifi issue.
I can successfully connect to a wifi network, but every 2-3 sec signal is lost, then the wifi icon in the status bar disappears, then it reappears and reconnect and so on.
I am running an unlocked german tmobile (from ebay), SW version 1.77.111.5
Is someone else having the same issue?
Click to expand...
Click to collapse
I'm having same issue - anyone found a solution.
It is really annoying, as quite often when I go to refresh email/facebook/twitter/ etc its says cannot update (or whatever app error), but if I wait a few moments again, it works. Really annoying when playing Draw Something, as it interrupts the game!
Any ideas - is it phone, or is it something on my router??
M
I was having this exact same issue. I went into settings, Wi-Fi, Menu, Advanced, and checked the "Best Wi-Fi performance" option and ever since I have had no problems.
jguedj said:
Hi,
It seems that my 1S have a wifi issue.
I can successfully connect to a wifi network, but every 2-3 sec signal is lost, then the wifi icon in the status bar disappears, then it reappears and reconnect and so on.
I am running an unlocked german tmobile (from ebay), SW version 1.77.111.5
Is someone else having the same issue?
Click to expand...
Click to collapse
Ok i think i had the same issue and i read in some threads around and you can try this:
1 - Connect to your wireless network but in settings disable DHCP and assign an manual IP (and you can disable the "best WiFi performance" because it drain lots of battery.
2 - Take out the SIM cover and pull up with care the contact pins for better connection with cover
Now i have a strong wifi signal without drops, before this i was thinking in return back my 1S but not now.
Sorry my bad English
If i help hit the "Thanks"
MRKikas said:
Ok i think i had the same issue and i read in some threads around and you can try this:
1 - Connect to your wireless network but in settings disable DHCP and assign an manual IP (and you can disable the "best WiFi performance" because it drain lots of battery.
2 - Take out the SIM cover and pull up with care the contact pins for better connection with cover
Now i have a strong wifi signal without drops, before this i was thinking in return back my 1S but not now.
Sorry my bad English
If i help hit the "Thanks"
Click to expand...
Click to collapse
Cannot find manual settings for ip. Please can someone direct me...
Sent from my HTC One S using XDA
Android_Mark said:
Cannot find manual settings for ip. Please can someone direct me...
Sent from my HTC One S using XDA
Click to expand...
Click to collapse
First select "forget Network " then select your Network again, then bellow the password field select the manual configuration...
Sent from my HTC One S using xda premium
MRKikas said:
First select "forget Network " then select your Network again, then bellow the password field select the manual configuration...
Click to expand...
Click to collapse
I decided to attempt this manual configuration as well...and it works great! Very fast login, and my network speed even seems quicker (although it probably isn't, but who knows)?
But I had a few problems along the way, but managed to fix them. Here is what you need to do:
First, before you do this, you need to use any network info app to see what your wifi router gateway is. You can pick an IP number based on that number... [Also, while it is unlikely anyone did this, you should confirm that the router doesn't do any MAC filtering (this just means the router will only connect with specific devices based on their wifi radio unique ID number... it's a overzealous way to prevent someone hacking your router and it prevents any non-authorized device from associating with it).]
Once you get that info, change the setting under wifi connect from DHCP to "Static", and below this, enter the gateway and a IP number based on your gateway... Most routers have NAT configurations that allow ~100 or 255 devices, like 192.68.X.2 thru 192.68.X.255 (or 10.1.X.2 thru 10.1.X.255) where the IP number where X=1 is typically the gateway. So just pick a number where the last number is between ~10 and 50 (just in case your router hasn't allotted the full 255 addresses). This is a good range to choose from because if your router has DHCP on (which is typical), your household probably does not have more than 10 or 11 devices connected at any given time....so you are picking an IP address at the end of this range.... So for instance, if your gateway is 192.68.1.1, pick a static IP address of 192.68.1.11 or 192.68.1.15.
Below this enter "24" for Network Prefix Length.
Below this, it has boxes for DNS servers. I ran into some problems here. I figured that since my wireless router has DNS servers already configured in its settings, I could skip this (it lets you hit connect without entering then). You can try this, and it may work (depending on your router/setup), but when I left them blank, I noticed frequent reconnections and no signal really at all.
In my case I had to enter DNS server addresses. I already had purchased an app called "Set DNS Pro" (there is a free version though) so I used that to select publicly available DNS servers. If you don't want to use the app, you can enter Google's DNS servers, 8.8.8.8 and 8.8.4.4, or check with your ISP to use theirs (which they prefer because it is easier to keep track of or control your web browsing).
So my takeaway from this was that if you do not enter DNS, you might have problems.
Sent from my HTC One-S (rooted), stock ROM

Change Wi-fi ip

Hello,
I'm using custom ROM (CanGalaxyS4 v3). When I connected my phone in my college then my ip is being 192.168.1.101
Unfortunately, this ip has banned in my college. If I want to use Wi-fi then I must have to change my ip.
is there any working way? I' tried couple of wifi change app but it;s not working.
Please help me guys. Thanks in advance.
HemZone said:
Hello,
I'm using custom ROM (CanGalaxyS4 v3). When I connected my phone in my college then my ip is being 192.168.1.101
Unfortunately, this ip has banned in my college. If I want to use Wi-fi then I must have to change my ip.
is there any working way? I' tried couple of wifi change app but it;s not working.
Please help me guys. Thanks in advance.
Click to expand...
Click to collapse
Just ask one of your friends weather their wifi is connecting or not. If yes. Just copy their IP address, that's what I do
Sent from my Micromax A110 using xda app-developers app
HemZone said:
Hello,
I'm using custom ROM (CanGalaxyS4 v3). When I connected my phone in my college then my ip is being 192.168.1.101
Unfortunately, this ip has banned in my college. If I want to use Wi-fi then I must have to change my ip.
is there any working way? I' tried couple of wifi change app but it;s not working.
Please help me guys. Thanks in advance.
Click to expand...
Click to collapse
Hi,
follow the below steps to change your wifi IP
go to wifi settings....
long press the college's network name to modify it
tick the option "show advanced options"
change "IP settings" from DHCP to static
then change your IP from the option "IP address"....try changing the last no. 101 to something else.....
save the settings....DONE !!!
ashishk87 said:
Hi,
follow the below steps to change your wifi IP
go to wifi settings....
long press the college's network name to modify it
tick the option "show advanced options"
change "IP settings" from DHCP to static
then change your IP from the option "IP address"....try changing the last no. 101 to something else.....
save the settings....DONE !!!
Click to expand...
Click to collapse
Thanks a lot :good:

Question S22 Ultra using wrong DNS server?

I just upgraded from an S9+ to the S22 Ultra, and I'm having some DNS problems. I run my own local DNS, and my DHCP server hands out that address as DNS 1 and OpenDNS as DNS 2. I've checked the settings on my phone, and it is getting those addresses in that order from DHCP. But whenever my phone goes to resolve an address it uses OpenDNS, not my primary server and I have no idea why.
I know there was a recent issue with Android no longer resolving ".local" domains, but I don't think that relates to this issue since I'm using ".workgroup".
I have no idea how to start troubleshooting this and I'm hoping someone can point me in the right direction. Thanks!
Maybe this from
Local DNS resolution suddenly stopped working... - Google Pixel Community
Ran into the same problem however I have resolved the issue temporarily by using IP address of server instead of base url i-e https://example.dev.local to the IP address such as 10.10.10.152
raul6 said:
Maybe this from
Local DNS resolution suddenly stopped working... - Google Pixel Community
Ran into the same problem however I have resolved the issue temporarily by using IP address of server instead of base url i-e https://example.dev.local to the IP address such as 10.10.10.152
Click to expand...
Click to collapse
That does seem like a similar issue, with no apparent resolution unfortunately. I should be able to access local resources via IP, but then that kind of ruins the purpose of using DNS. Thanks for the reply anyway.
davel23 said:
I just upgraded from an S9+ to the S22 Ultra, and I'm having some DNS problems. I run my own local DNS, and my DHCP server hands out that address as DNS 1 and OpenDNS as DNS 2. I've checked the settings on my phone, and it is getting those addresses in that order from DHCP. But whenever my phone goes to resolve an address it uses OpenDNS, not my primary server and I have no idea why.
I know there was a recent issue with Android no longer resolving ".local" domains, but I don't think that relates to this issue since I'm using ".workgroup".
I have no idea how to start troubleshooting this and I'm hoping someone can point me in the right direction. Thanks!
Click to expand...
Click to collapse
DNS 1 and 2 aren't necessarily used in any order, it's random which one the phone accesses each time. It's not reliable to use 2 DNS servers and assume it's always going to use the first one.
Have you tried to only hand out the local DNS and nothing for DNS 2 to see if it works properly? Then you can narrow down if it is in fact an issue with DNS resolution or the phone using the wrong DNS server that you gave it.
peacey8 said:
DNS 1 and 2 aren't necessarily used in any order, it's random which one the phone accesses each time. It's not reliable to use 2 DNS servers and assume it's always going to use the first one.
Have you tried to only hand out the local DNS and nothing for DNS 2 to see if it works properly? Then you can narrow down if it is in fact an issue with DNS resolution or the phone using the wrong DNS server that you gave it.
Click to expand...
Click to collapse
Yeah, I just removed OpenDNS from my DHCP config and it works fine. I suppose I don't need OpenDNS in there, I just had it as a fallback.

Categories

Resources