In questo post illustreremo come risolvere il problema "Attivazione della connessione di rete non riuscita" in Linux; quindi, tenetevi pronti per cogliere tutto.

In realtà, quando vedi il messaggio "Attivazione della connessione di rete non riuscita" all'interno di Linux, il più delle volte significa semplicemente che un tentativo di connessione a una rete è fallito. Un messaggio come questo indica che, a causa di un problema con la configurazione o con l'hardware, Network Manager non è riuscito ad avviare un'interfaccia di rete. Nella maggior parte dei casi, questo tipo di errori si verificano a causa di un errore nella configurazione del router o di problemi di compatibilità tra l'interfaccia di rete del sistema.

Impossibile attivare la connessione di rete.

Altre possibili cause sono problemi con i driver, hardware incompatibile o interfacce di rete disattivate.

Le soluzioni a questo errore sono descritte in dettaglio in questo articolo.

1. Disattivare/Attivare la connessione di rete






Ciò potrebbe anche essere dovuto a stack di rete intermittenti o problemi di conflitto di indirizzi IP. A volte, ricollegare la rete al router aggiornerà il suo stack o aggiornerà le sue voci IP o DNS. Disabilitare la connessione di rete e quindi ricollegarla ripristinerà le impostazioni di rete ai valori predefiniti.




Apri le Impostazioni di sistema e seleziona Rete sul lato sinistro.




Spostare l'interruttore in posizione off per disattivare la fastidiosa connessione.Disattivare la connessione Internet




Riavvia il sistema. Dopo aver riavviato, abilita la connessione di rete e controlla se il problema è scomparso.




In caso contrario, premere Alt + F2 per aprire una casella di comando Esegui, quindi digitare:editor per nm-connection




Rimuovendo tutto ciò che si trova sotto il tipo di rete con cui hai avuto problemi (ad esempio: Ethernet). Il collegamento


Chiudere tutti gli editor di rete, quindi fare clic sull'icona di rete nella barra delle applicazioni.


Disattiva la rete e riattivala di nuovo. Esegui un'azione dalla barra delle applicazioni per disattivare la connessione di rete


Riavvia il computer per verificare se il problema è stato risolto.



2. Disabilitare l'avvio rapido - Sistema a doppio avvio




Questo può essere fatto disattivando Fast Boot in Windows, in modo che Linux si connetta alla rete. Poiché Fast Boot mette alcuni componenti hardware in modalità di ibernazione, come i dispositivi di rete, Linux potrebbe non essere in grado di inizializzarli correttamente. Disattivando Fast Boot si ripristinerà l'hardware durante l'avvio e li si configurerà correttamente con Linux.




Type Control Panel in the search bar, once Windows + S is pressed, and click on Control Panel. Open Windows Control Panel




Click on Hardware and Sound to open the menu. Boot into the "Hardware and Sound" menu.




Click Power Options. Find the Power Options in the Control Panel.




From the left menu, click on Choose what the power buttons do. Control Panel: Choose What the Power Buttons Do




Now, uncheck the box to turn off Fast Startup. If this is grayed out, click the link that says Change Settings that are Currently Unavailable. Flip the switch to turn off fast startup.




Apply changes, reboot into Linux, and see if this fixes the problem. Reinstalling Linux may work, too.



3. Disable Connect Automatically for the Network




This sometimes means your device constantly tries to connect you to networks that aren't set right or aren't available; hence, the problems. By turning "Connect Automatically" off, these failed attempts will be stopped; thus, you will get to select the network when it is up and running. That means no problems and more control on your part.


• Open Settings on your Linux and click Network.


• Click the gear icon next to the network that is giving you an issue. Click the Gear Icon of the Network


• Uncheck Connect Automatically option and apply your changes. Disable Connect Automatically


• Verify if the issue in the connection is resolved.



4. Change DNS to DNSMASQ for the Network




Your system will be able to handle DNS queries faster by replacing DNSMASQ. DNSMASQ caches recent requests locally and acts like a very basic DNS forwarder and cache for quick resolution of domain names. It avoids issues with slow DNS servers and enhancing response times for the same searches over and over again. The command to run in terminal will be: Open configuration editor for Network Manager by writing sudo gedit /etc/NetworkManager/NetworkManager.conf.




Replace dns with dnsmasq and save the file.




Restart your computer to check if this problem has disappeared.



5. Set Correct Date/Time of Your System




If the system clock is set incorrectly, it may just cause issues with secure connections because SSL certificates rely on correct timestamps for their validity. If the connection problem was actually due to a date/time mismatch, then rectifying it will ensure that the certificates will be checked correctly, and thus the problem will be resolved.




Click the bottom left corner of the screen and select Settings from the pop-up menu.




On the left side menu, select Date & Time.




Slide the Off button for Auto-Date and Time.




When the time and date have been updated correctly, the problem should no longer exist. Change the Time and Date



6. Delete Bluetooth Devices in your System's Settings




Any old connected device which interferes can cause problems in establishing a newer connection. Reset the Bluetooth stack by removing those useless devices; it will let your system focus on the newer links without any previous problems.




Pull out all Bluetooth accessories linked to your computer.




Open Settings, then click on Bluetooth on the left side.




Disable Bluetooth Turn off wireless




To access the Bluetooth Control panel on Linux: Open terminal and type:bluetoothctl.




Wait for the list of Bluetooth devices and then type the following: remove using bluetoothctl Alphabetical order: AA:BB:CC:DD:EE:FF




First, find your device's ID string from gear icon > Device Name > Network Icon and replace AA:BB:CC:DD:EE:FF with it.




Test that the problem is fixed by repeating the process on all devices.




If that doesn't work check where the .crt file is located. if in a folder that has spaces in the name remove the spaces and check to see if the problem still persists.



7. Blacklist Other Communication Devices




Having other communication devices on, like Bluetooth or extra network adapters, interferes with your main network connection. You may clear any potential conflicts by excluding them from the system's network and get the system to connect reliably to the right interface.




Press the "Sudo lshw -C network" command on Linux terminal.Initialize Network Connections in Linux Terminal




Now you should see all the devices on your network. Look for that unused device, for example, cdc_ether and unplug it.




To make a new blacklist file, press this command: run "sudo nano gedit /etc/modprobe.d/blacklist-cdc theraphy.conf"Create Record to Block the Offending Connection




Into the file: blacklist cdc_ether blacklist usbnet, add these lines. The Network Device Should be blocked




Later on, before restarting your machine, remember to save the file.




Restart and check if the problem is resolved. Note that you should activate the internal 4G device by yourself whenever you need it.



8. Remove Network Drivers from the Blacklist




Because they conflict, some network drivers may be blacklisted that preclude needed drivers from being used. You may need to remove some or all of them in order for the system to load the drivers which allow the proper network interface to work.




To open the /etc/modprobe.d/blacklist.conf file in the Linux terminal, type: sudo gedit. Get the Blacklist File Opened




Open the file and check if there is any driver or module, which is connected to the network on the banned list. Remove bcma and bcmsmac entries from the list if your network card is from Broadcom.




Restart your computer to check whether this solves the problem.



9. Reinstall Network Manager




This can be due to malfunctioning Network Manager. Reinstallation will delete all the corrupted files and settings and will reset default network management to the system.




To restart the network-manager.service start Linux command prompt and write: sudo systemctl restart. disable Network Configuration




Check if the issue has been resolved.




If not, then force-reload Network Manager using the following command: sudo /etc/init.d/network-manager force-reload.




After typing your password when prompted, you can check if the problem has been solved.




This command will reinstall Network Manager and its Gnome counterpart if the above one didn't work. Remove the Network Manager application.




Check if the problem is solved.



10. Disable Power Management of the Network Card/Driver




Power management can disrupt network stability due to the turning off of the network card for saving power. This is particularly true for laptops. Disabling it, by which the network card is kept on, there will be no dropped connections or failure of activation, hence network stability is ensured.


• Open the Linux terminal and run the following commands one by one:sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get install git git clone https://github.com/pvaret/rtl8192cu-fixes.git sudo dkms add ./rtl8192cu-fixes sudo dkms install 8192cu/1.11 sudo depmod -a sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/


• Now reboot the system and check whether the issue is resolved or not.



11. Disable Hardware Encryption by Network Device




Connection failures sometimes occur due to the faulty hardware encryption of the network devices. In cases that involve driver or firmware limitations, these need to be turned off to allow software to handle encryption.




Run this from the Linux main menu: run "options rt2800pci nohwcrypt=y" - This command disables hardware encryption for the network device.




Then, run the following in the terminal:running "sudo tee /etc/modprobe.d/rt2800pci.conf" from the terminal Execute the following command: sudo modprobe -rfv rt2800pci run "modprobe -v rt2800pci" ran sed -i's/3/2/' /etc/NetworkManager/conf.d/* on the command line




Restart your computer to see if this fixed the problem.



12. Update the Kernel of Your Linux Distro to the Latest Build




Aggiorna il tuo kernel Linux per correggere bug, migliorare le prestazioni o incompatibilità hardware, poiché diversi problemi di rete sono causati da questo. Un kernel aggiornato potrebbe contenere correzioni per problemi di driver o problemi con lo stack di rete. Tuttavia, devi inserire questo comando nel terminale Linux: sudo apt-get upgrade linux-image-genericRevisiona il software di base di Linux




Riavviare il computer potrebbe risolvere il problema di connessione.



13. Aggiorna la tua variante Linux all'ultima build




Il kernel, i driver e gli strumenti di rete più recenti possono essere ottenuti da una versione aggiornata di Linux per risolvere bug e incompatibilità. Se riscontri problemi relativi a driver obsoleti, hardware incompatibile o impostazioni di configurazione non corrette, prova ad aggiornare alla versione più recente. Puoi farlo eseguendo il comando "sudo apt-get upgrade" nel terminale Linux. Aggiornamento di Ubuntu




Dopo aver inserito la password del tuo account utente, ti verrà presentato un elenco degli aggiornamenti disponibili.




Quindi, confermare l'aggiornamento premendo y e poi Invio.




Una volta completato l'aggiornamento, il problema dovrebbe essere risolto.




Solo nel caso peggiore, prova a reinstallare la distribuzione Linux. Prova ad aggiornare prima il BIOS di sistema, il gestore di rete WICD e iwconfig. Potresti anche provare a disabilitare TCP o usare IPV6 Link-Local.




Questo è tutto su come risolvere il problema di attivazione della connessione di rete non riuscita in Linux, quindi speriamo di essere stati il ​​più utili possibile.






Other Articles
Come trovare file di grandi dimensioni su Linux
Presta attenzione e potrai imparare come trovare file di grandi dimensioni in Linux, quindi presta attenzione.

Come abilitare il sottosistema Windows per Linux
Come abilitare il sottosistema Windows per Linux? Se è una delle domande più frequenti, continua a leggere perché oggi ti forniamo la risposta.

Come trasformare e utilizzare Fusion in Dragon Ball Sparking ZERO
Ti consiglierò come trasformare e utilizzare la fusione in Dragon Ball Sparking ZERO

Come risolvere il problema dell'app Youtube che non si avvia sulla TV Samsung
Ecco qua; ti insegno come risolvere il problema dell'app Youtubeche non si avvia su Samsung TV. Fai molta attenzione così impari tutto.

Come fare "dolcetto o scherzetto" con gli abitanti del villaggio in LEGO Fortnite
Oggi vi spiegherò come fare "dolcetto o scherzetto" con gli abitanti del villaggio in LEGO Fortnite

Come risolvere "Si è verificato un errore, riprova" ID di riproduzione YouTube
Come risolvere Nvidia Windows ha arrestato questo dispositivoperché ha segnalato dei problemi. (Codice 43) Se non lo sai, continua aleggere.

Come completare la missione Demon's Test in Throne and Liberty
Ti guiderò in questo documentario su come completare la missione della Prova del Demone in Throne and Liberty

Dove estrarre minerale di pietra lunare e di Marind in Throne And Liberty
Fai attenzione e scopri dove estrarre la Pietra di Luna e ilMinerale di Marind a Throne e Liberty: qui troverai tutto ciò di cui hai bisogno.

Come sbloccare i tratti in Throne And Liberty
Mettetevi comodi e imparate come sbloccare i tratti in Throne and Liberty, perché oggi ve ne parleremo.

Come battere Great Ape Vegeta in Dragon Ball Sparking ZERO
Oggi vi spiegherò come battere il Grande Scimmione Vegeta in Dragon Ball Sparking ZERO