In quiet a few builds of the LineageOS, AOSP builds, I have noticed that after a reboot, the wifi passwords would need to be reentered, as it would not automatically reconnect if disconnected or rebooted. It may seem like the Wifi password is not sticking but what I found is that it could have something to with DHCP. If you connect to a wifi and then set a static IP, Gateway, and DNS, the wifi connection info will be preserved across disconnects and reboots.
Related
Hi everybody,
I have the same issue for a long time.
I connect to a wifi connection with DHCP enabled.
My Wifi connection works correctly, DHCP assigns my device an IP address but DNS stays empty in Wifi options.
I succeed connecting to a website if following these steps:
-I manually enter a DNS server IP.
-This stops the wifi connection
-I restart wifi
But then if I stop wifi and start it again, I cannot surf anymore.
I have to manually change DNS again (switch main and secondary DNS IP addresses)
Am I the only one to have the issue, or has someone heard of a solution ?
Any help welcome .
No one has an answer to the same problem I have too ....
No DNS if wifi is connected, on 3G it is all working fine ...
No one tests for DNS problems in cooked roms on this site ...
i would look into the settings of the wifi router to discover why it's not providing a valid dns
as it's normaly does when the wifi is set correctly
That certainly sounds like it could be the issue.
In case anyone is looking for quick and reliable DNS servers, try these 4.2.2.2 and 4.2.2.4. I seem to remember they are AT&T's but please don't quote me on that.
Hey all,
I'm having issues connecting to ANY Wi-Fi network now. I used to be able to connect to my private network and any public networks easily. Now, whenever I try and connect, the phone hangs on "Obtaining IP Address" and it eventually disconnects. I've tried:
-Using a static ip
-Turning on and off Wi-Fi and forgetting the remembered networks.
-Rebooting, airplane mode, factory reseting
And still, the phone times out on trying to get an IP. Is there something obvious I'm missing?
Try flashing a stock rom. If that doesn't work then maybe the phone needs replacing.
Hey guy,
I haven't been able to have my Droid 2 keep a stable connection to my linksys secured with WPA. It connects for a second, the drops out, again and again. Any solutions?
do you have security enabled on your router? if so turn off or change the security and try it
also is your router set to look for mac address if so set it not to
Never mind. Apparently froyo has issues with WMM. I disabled that and it started working again.
Hello:
Hoping for some help here, as I'm out of ideas.
I a running CM7 7.1 stable release on my nook color. Ever since I rooted to CM7 several months ago, I've been unable to maintain a stable connection to my university's 802.1x network. Here's what happens, from the beginning:
NC finds the signal, and I enter in my credentials as per these instructions from the university website:
"Configuration settings for BU (802.1x)
Your device may not require all of the settings included below.
Connect to: BU (802.1x)
EAP method: PEAP
Phase 2 Authentication: None (if available) or MSCHAPV2
CA Certificate: N/A (only option)
Client Certificate: N/A (only option)
Identity: <BU login name>
Anonymous Identity: <BU login name>
Wireless Password: <Kerberos password>
Related: use Automatic IP for your BU network connections
When you use BU wireless (or any BU network connection), your device should be set to use an automatic (dynamic) IP address — never use a static IP. This setting is usually already chosen on your Android device, but should you ever want to check it, here is the sequence of commands to use.
To make sure you are using Auto IP, go to:
Settings,
Wireless & Networks,
Wi-Fi Settings
Click the ‘Settings’ button
Choose Advanced Settings
And enable Auto IP"
Doing so will establish a connection. I'll get a couple of bars, but not full strength wireless. Eventually at some point, as I move from one app requiring wireless to another--let's say I switch from Pulse to the browser, or just change pages on my browser--the connection drops. I go back to the wifi settings and attempt to reconnect to the network. Sometimes it works, but eventually it will start refusing to connect, and I'll have to forget the network, restart wifi and add the network again. But the drops are so frequent that it's not even worth it since they constantly interrupt browsing, etc. So I've been just been tethering off my cell phone.
Stock nook had no problem holding a connection, hp touchpad (webOS) has no problem, nor does the laptop. I've researched here and other forums and haven't found a worthwhile solution. I know other people are having no problems maintaining a connection at their schools. I ran wifi ace and saw that there are multiple channels broadcasting BU's wifi signal--my guess is that the nook is jumping from one channel to another and losing connection along the way, perhaps? I'm no tech guru so it's just a guess.
I'm at my wits end and have exhausted all options I could access before posting here. Any help/advice/assistance to help me hold a stable connection to this 802.1x connection is MUCH APPRECIATED!
Hello, been a long time reader from my G1 to my G2 and now my nexus 4.
I am unfortunately not able to use my device on certain wifi networks which is a real bummer.
Being that i have a background in diagnosing computer problems in my real world life, i thought i would post my findings as i found some interesting things!
First i will say that the network i will use as the demonstration is secured with WPA2 PSK AES security and encryption.
I can connect to it and often find i have problems on the first connect to the network. By this i mean if i have made my wifi settings 'forget the network' and then try to connect again.
On the first time it seems to indefinitely hang, showing the message 'authenticating' on screen next to the network and if i long press on the network name and press modify, the dialog shows that i have a link speed of 1mbps.
I can usually get past this by turning wifi off and on and then reconnecting, at which point it will connect straight away and have a normal link speed. (in this example 72mbps).
After i am connected, i find that the following does not load:
-browsing webpages through chrome does not load
-the wifi icon turns grey
-play store cannot load anything
I find that i get assigned an ip address by dhcp correctly too with the right gateway and dns.
I decided to download a network tool to have a better look. I use fing personally.
I found it very interesting what i found, which no other threads about wifi issues mention.
Network discovery found every device on the local wifi network.
I was able to scan the services of my computer which is also on the network and it found everything, including a http server which i run which i could browse to.
In fact i could do everything through wifi with this device and most others.
Again it got interesting when I then took a look at my gateway, the router.
I had discovered its mac address which i can verify through my computer is correct which to my understanding, being that i can communicate through the wifi, means that i have the information available to send information to that physical device?
When trying to scan services, i find nothing, which is not true, at the very least it exposes a http server on port 80 which my computer can access.
When trying to ping i have 100% packet loss.
So at this point it is only the gateway i cannot access.
So i figure i could setup another computer which is connected to the network with a wire to share its connection through wifi onto that network and then i have a standin gateway?
I connected this computer through wifi to the network and pinged it succesfully with my phone. I then turn ICS on my wired adaptor to share to my wifi adaptor. I ensure that the wifi maintains an ip address in the right range and subnet.
I then try to ping that ip with the phone and it then gets 100% packet loss.
Could this be that when a device is configured to act as a gateway something changes about how it handles any packets sent to it that the nexus 4 is currently in compatible with?
elltg said:
So at this point it is only the gateway i cannot access.
So i figure i could setup another computer which is connected to the network with a wire to share its connection through wifi onto that network and then i have a standin gateway?
I connected this computer through wifi to the network and pinged it succesfully with my phone. I then turn ICS on my wired adaptor to share to my wifi adaptor. I ensure that the wifi maintains an ip address in the right range and subnet.
I then try to ping that ip with the phone and it then gets 100% packet loss.
Could this be that when a device is configured to act as a gateway something changes about how it handles any packets sent to it that the nexus 4 is currently in compatible with?
Click to expand...
Click to collapse
I have found a bit of a workaround that i can use!
When i said i turned on the wifi and ICS i did the following:
-Turned on wifi.
-Connected to wifi network.
-Turned on ICS on my wired network to share to my wifi
-Observed that my ip changed from 192.168.10.x to 192.168.137.1 with no gateway or dns.
-I decided to change my ip on the wireless to 192.168.10.x and gateway to my router 192.168.10.10
-I then tested.
I ran through this again but slightly different:
-Turned on wifi.
-Connected to wifi network.
-Turned on ICS on my wired network to share to my wifi
-Observed that my ip changed from 192.168.10.x to 192.168.137.1 with no gateway or dns.
-I decided to change my ip on the phone to 192.168.137.5 with gateway and dns as 192.168.137.1
-I then tested. And it works!
I know this doesnt fix the wifi issue itself, but for me, this makes a big difference as i can now use wifi at work where we also have poor mobile network coverage.
Edit:
Additionally i previously tried to setup this same computer to host a wifi network to share the connection using 'netsh' and creating a 'hostednetwork' but i found i was in the same situation where i still couldnt get the internet.