Activation of Network Connection failed on Ubuntu 20.04

Click For Summary
SUMMARY

The issue of "Activation of Network Connection failed" on Ubuntu 20.04 is a recurring problem for users experiencing WiFi disconnections. The user reports that the problem persists despite changing the WiFi provider and router, indicating that the issue is not router-related. Attempts to resolve the issue by restarting the network manager with the command sudo service network-manager restart have proven ineffective, necessitating a full system restart to regain connectivity. The problem occurs on both 2.4 GHz and 5 GHz networks, and users are encouraged to investigate log files for further diagnosis.

PREREQUISITES
  • Understanding of Ubuntu 20.04 operating system
  • Familiarity with network management commands in Linux
  • Basic knowledge of WiFi frequency bands (2.4 GHz and 5 GHz)
  • Ability to access and interpret system log files
NEXT STEPS
  • Investigate system log files located in /var/log/syslog for network-related errors
  • Learn about configuring and troubleshooting NetworkManager in Ubuntu
  • Research solutions for WiFi connectivity issues specific to Ubuntu 20.04
  • Explore the use of command-line tools like iwconfig and nmcli for network diagnostics
USEFUL FOR

This discussion is beneficial for Ubuntu users, system administrators, and anyone troubleshooting WiFi connectivity issues on Ubuntu 20.04, particularly those who rely on stable internet connections for productivity.

Wrichik Basu
Science Advisor
Insights Author
Gold Member
Messages
2,180
Reaction score
2,690
I am facing this issue since some months on my laptop running Ubuntu 20.04. The WiFi disconnects suddenly and cannot reconnect, and an error message is shown in the Notification saying "Activation of Network Connection failed." This is not a problem with the router because just a few days back, I changed our WiFi provider, and they installed a new router, but I faced the problem today once again. Moreover, when this occurs, I can still connect and access the internet on the same WiFi network on my phone.

Note that when the WiFi disconnects, I can still see all the available WiFi networks, but the system can't connect.

The issue occurs arbitrarily now and then, over both 2.4 GHz and 5 GHz network. I have tried to restart the network-manager using sudo service network-manager restart, but it doesn't help. The only way to solve the problem is to restart the laptop. That is very irritating for me because I am often working with a number of applications open simultaneously like Android Studio, MATLAB, Texmaker and so on (and Chrome), and restarting the system means I will have to re-open them all over again. (Generally, I do not shut down my laptop; I suspend it overnight and wake it up in the morning.)

Upon searching, I found a number of websites like this one, but none of the solutions really worked (other than restarting). To be honest, I am not sure where exactly the problem is occurring. Are there any log files that I can check to find out why the problem is occurring?
 
Computer science news on Phys.org
What about turning the WiFi off and back on again?
 

Similar threads

Replies
27
Views
13K
  • · Replies 15 ·
Replies
15
Views
6K
Replies
6
Views
9K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
3
Views
2K
Replies
2
Views
3K