Earlier I had set some DNS Servers for use on my phone but now i want the DNS server to be decided by the router.
i.e. i want to clear my dns settings. but i do want to set a static ip for the wifi.
how do i proceed with it??
deleting the dns server from the menu provides an error(type a valid IP)
please help
Edit: i'm using 2.3.4 custom ROM.
how the heck did you set it in the first place?!
might have to have your phone "forget" the wifi hotspot, reboot, then re-add it...
Related
Hi,
I have an I9100 running Android 2.3.3 XWKDD which I have rooted. I have installed wpa_supplicant version 0.6ah so the phone now recognises adhoc networks. I have used the wifi settings menu to set a static IP address and and netmask. I have not set values for the gateway or DNS servers because I don't need them.
My problem is that when I connect to any network (including the adhoc network) the phone does NOT use the static IP address but tries to get an address using DHCP and keeps looping. I have tried killing dhcpd and then setting the ip address and netmask manually and this allows me to ping other devices on the network. However, the wireless interface is periodically reset and dhcpd is restarted.
Is there a way of disabling dhcpd or getting the phone to use its static IP settings?
N10
So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Jiraffe said:
So when I was using 2.2.2 my WIFI connection was working flawlessly with DHCP setting my wireless settings.
I flashed 2.3.4 using NFHimself's Gobstopper without any errors, did a factory reset afterwards and I get an internet connection over mobile with no problems, however on my home WIFI network w/ DHCP (on which 2.2.2 worked fine), it cannot resolve addresses past my router (can browse to the router config fine). Now if I set a static IP and the DNS servers manually, it works over WIFI, however when the WIFI radio turns back on from sleeping it gets stuck at obtaining an IP address.
So I tried leaving it with DHCP giving me an IP address, and then using Set DNS to use google's DNS servers instead of my router's IP, and it seems to work in all situations, however it leaves me unable to browse my LAN (even when one dns domain is left as my local domain server).
I installed Network Monitor II to watch my wireless settings for the three setups:
For just using DHCP, the DNS servers are both set to my router's IP
For static settings, the DNS servers are whatever i set them however i cannot browse my LAN when one is left as my router's IP
For DHCP w/ a custom DNS, it is the same as using static settings
Not sure whether to think this is a problem with the update, or a problem with my router (however no settings were changed before or after the update on it). Anyone have any ideas?
Router: Linksys WRT54GL running DD-WRT
I read somewhere that having the "Filter WAN NAT Redirection" setting enabled in DD-WRT causes this sort of behavior on some mobiles, it is not enabled.
Only thing I could find that I thought it might be is Android Bug Issue 10315 (to which I cannot post a link as I lack sufficient posts... so far), but am still unsure
I should also note that I have two routers (both identical), but only one deals with the DHCP and DNS, the other is more just a wireless AP. Thus, all of my lan is on 192.168.1.*, including both routers ( x.x.x.1 and x.x.x.2 ). uDHCPd is my DNS server on my router, but I might try dnsmasq in the next couple days.
Click to expand...
Click to collapse
I did flash NFHimself's ROM without any issues. My wireless LAN was working fine. Did not noticed any issue on my side. Try with another Wireless router without all the setup you've done. Pretty sure the issue is with your routers.
I don't understand why you are not able to reach you LAN with google's DNS configured...? Do you have some sort of DNS entry specific to your LAN configured into your router?
the problem seemed to solve itself when i switched my router's DNS server daemon from UDHCPD to dnsmasq.
And I couldn't reach my lan when i had both dns servers forced to google's servers as google's servers don't know how to route to addresses inside my lan. But that's not a bug, that is how it is supposed to work.
Good !
Sent from my MB860 using xda premium
when ever i give th ip in the wifi network the sgs2 automatically save the ::1 ip in dns 1 and there is no internet please help me to solve this problem
Sorry, neither do I understand the title nor what your exact problem is
What do you mean by "i give the ip in the wifi network"? Are you trying to give your phone a fix IP address?
What do you mean by "sgs2 automatically save the ::1 ip in dns 1"? Do you mean the property for DNS1 is set to "::1"?
Normally, when using Wifi, you're using DHCP, and the DNS server is provided by the DHCP server.
So you should check the settings on your wifi access point.
I use the Google DNS (primary 8.8.8.8, secondary 8.8.4.4) and adjusted my access point to use that so that all of my DHCP clients also use it.
On my PC I always set OpenDNS's and Google's DNS servers in my WiFi network card configuration. I prefer not to mess with my router's settings, as I want to have those DNS servers wherever I go (work/friend's house, etc.)
I would like to do the same on my LeEco Le Max 2 x829 and I'm using the stock EUI Rom 16s (that's what my phone came with and I intend to keep it until AOKP is perfect). Can it be done, at least for the WiFi? I know that changing the DNS for the cellular network is almost impossible.
Some sites suggest to set a static IP because that's how the DNS settings become visible, but they also say that it's a temporary solution that may cause problems later on and that DHCP is preferable.
So, is it possible to keep the DHCP IP address and change the default DNS for the WiFi connection?
Thanks, guys.
Try override DNS from Playstore
Hello,
At my home I am running Adguard Home for filtering DNS in my network.
All of the devices getiing this Adguard DNS from the DHCP server.
But I think after the latest firmware update of the Realme the google DNS 8.8.8.8 is automatic added to the DNS list on my phone.
So the problem with this is that if my Adguard blocks a DNS request the phone checks the DNS at 8.8.8.8 and gets a ip returned.
So my filtering is not working anymore.
My Oneplus 6T had this same issue but if you add a second DNS server in you DHCP config this problem was gone.
But Realme is putting 8.8.8.8 everytime in the config. Also when you add 3 or 4 custom DNS servers in the DHCP. Realme adds 8.8.8.8 at the end.
I checked all the wifi config settings but this is not a setting that you can disable.
Firmware version is: RMX3301_11_A.18
Does anyone else has this issue?
killabeenl said:
Hello,
At my home I am running Adguard Home for filtering DNS in my network.
All of the devices getiing this Adguard DNS from the DHCP server.
But I think after the latest firmware update of the Realme the google DNS 8.8.8.8 is automatic added to the DNS list on my phone.
So the problem with this is that if my Adguard blocks a DNS request the phone checks the DNS at 8.8.8.8 and gets a ip returned.
So my filtering is not working anymore.
My Oneplus 6T had this same issue but if you add a second DNS server in you DHCP config this problem was gone.
But Realme is putting 8.8.8.8 everytime in the config. Also when you add 3 or 4 custom DNS servers in the DHCP. Realme adds 8.8.8.8 at the end.
I checked all the wifi config settings but this is not a setting that you can disable.
Firmware version is: RMX3301_11_A.18
Does anyone else has this issue?
Click to expand...
Click to collapse
Hi!
I've the same issue.
Did you fix it?
Regards,
José
Can you block Google's DNS server IPs in your Adguard Home setup? You could even set this up just for your phone if you don't want it to impact other devices on your network.
Yes, that is possible in my firewall. Was more looking for a solution on the device it self. I will test an ip block for the google DNS servers.
Just put dns.adguard.com on settings dns on phone. Works great.
Actually had the same issue, in settings go to the Private DNS menu and set it to off. Turn on areplane mode for a few seconds and your dhcp settings should be valid again.
criszz said:
Just put dns.adguard.com on settings dns on phone. Works great.
Click to expand...
Click to collapse
very true
I have exact the same problem, but i did not understand it. Im on Pihole (with, or without its the same) and on a OP 8T without Root/its default. Alle security seetings for private DNS are off (Chrome, Firefox, System). Bute, no matter was i do, 8.8.8.8 is always there. Also if i set IP/DNS manual - 2 entrys are possible, 8.8.8.8 comes at the end.
In the first picture a make a entry on purpose wrong.