Im stuck with this problem since last night and i have been continuously browsing through the forum to see the fixes of my problem. Yesterday I changed my battery to a newer one and ever since that I’m not able to use any wifi network in my home. I have tried turning off the wifi, resetting the Network Manager and so on. Has anyone ever been in my situation? And if yes, please lend me your help Immediately.
Also, I have tried connecting a specific network through the terminal. Every time I try to connect to a Wifi Network, it freezes or does not respond for some weird reason and after about 30 seconds, it displays a pop up “connection failed activation of network connection failed” and this cycle repeats every 30 seconds no matter how I try to connect to any network. But the interesting catch is that I’m able to connect to my mobile hotspot and use the internet. But I’m not unable to use the three Wifi Networks in my home. Please help me.
This seems it may be the result of the way NetworkManager stores the connection details. By default each connection to a specific AP uses a random MAC address for the interface and if that presented MAC address does not match what the AP expects it may not allow connection.
You can reset the by manually telling it to connect, but first telling the system to forget the already stored information for that AP then create a new connection.
You also can manually clear out the remembered connection details by first running the command sudo ls /etc/NetworkManager/system-connections where you should see a file named <your AP name>.nmconnection. You then can remove that file with sudo rm /etc/NetworkManager/system-connections/your AP name>.nmconnection.
After doing this the next time you attempt to connect it would be forced to create a new config file for that particular AP and it should work.
Having 3 wifi hotspots may be an issue unless they are merely repeaters with a single controlling AP.
Is it possible that you have configured the AP with a reserved IP for your system? If so then that stores a MAC address for your system on the AP and if your system presents a different MAC it may impact the connections as well.
Hi, this did not work. I removed the file too and its the same as usual. I do not remember altering any network settings. It was working fine. But day before yesterday, I changed my laptop battery to a newer one. Now I’m really not able to connect to any of those networks. All the networks that I’ve mentioned are not in the same building so they have their own separate spaces and each of the networks have different ISP. But my main concern is, how is my hotspot working fine whereas not my Wifi Connections. I tried to connect to one of my Wifi Network and after following your help, it still returns the same. It looks like it’s trying to connect but it fails and returns that pop up that I’ve mentioned in the main thread. I’m stuck with this. Could this be a firmware issue? Or a driver issue?
You should review WiFi settings in UEFI/BIOS. Replacing a battery may reset some configuration details to defaults. Many systems can enable WiFi at boot with simplified drivers that can conflict with linux so should be disabled. Other systems need WiFi enabled in UEFI/BIOS.
I tried in both cases. When it is enabled, the wifi networks show up but not connected. When it is disabled, wifi networks are not visible. Yes I tried in windows also. But mobile hotspot works fine. If it was a hardware issue it shouldn’t be working with Mobile Hotspot network too. IDK, I’m so tired now.
Right, until someone further comes to help you, keep the WIFI at boot from BIOS enabled as it lets your OS use WIFI adapter.
Do you have any other laptop with your or other device atleast? Are you able to connect to the home wifi with the other device, i suspect that it could be a problem with your home wiif itself.