A Linux-disztribúció lehet nem aktiválják hálózati kapcsolat miatt a helytelen beállítás a hálózat. A rendszer hibás dátum / idő beállítása szintén okozhatja a vitatott hibát.
Az érintett felhasználó akkor találkozik a hibával, amikor bejelentkezik a rendszerbe, vagy megpróbálja használni az internetet. Néhány felhasználó az operációs rendszer telepítése után szembesült vele, míg mások egy idő után. Ez a kérdés nem korlátozódik egy adott Linux terjesztésre, szinte az összes disztribúciót érinti. Sőt, a probléma előfordulhat az Ethernet-en, valamint a Wi-Fi-kapcsolaton is.

Mielőtt továbblépne a megoldásokra, ellenőrizze, hogy az útválasztó és a modem csatlakoztatva van-e . Ha a probléma USB modemmel van, akkor próbáljon meg csatlakozni a rendszer másik portjához . Ezenkívül indítsa újra a rendszert és a hálózati berendezéseket. Ha az ethernet és a Wi-Fi sem működik, akkor próbáljon meg USB-kulcs segítségével csatlakozni az internethez, vagy próbálja meg használni a telefon hotspotját . Ezenkívül engedélyezze / tiltsa le a rendszer repülőgépes módját , és ellenőrizze, hogy a probléma megoldódott-e.
1. megoldás: Tiltsa le / engedélyezze a hálózati kapcsolatot
A problémát egy ideiglenes szoftverhiba okozhatja, és a hálózati kapcsolat újraindításával lehet elhárítani. Illusztrációként megvitatjuk az Ubuntu folyamatát.
- Nyissa meg a rendszer beállításait , és az ablak bal oldali ablaktáblájában kattintson a Hálózat elemre .
- Most kapcsolja ki a problémás kapcsolatot a kapcsoló kikapcsolt helyzetbe kapcsolásával.
- Ezután indítsa újra a rendszert. Újraindításkor engedélyezze a hálózati kapcsolatot, és ellenőrizze, hogy a probléma megoldódott-e.
- Ha nem, nyomja meg egyszerre az Alt + F2 billentyűket a futtatás parancsmező megnyitásához és írja be:
nm-connection-editor
- Most bővítse ki azt a hálózattípust, amellyel pl. Ethernet kapcsán volt problémája, és törölje az összes bejegyzést.
- Ezután zárja be az összes hálózati szerkesztőt, és kattintson a hálózati ikonra a tálcán.
- Most tiltsa le a hálózatot, majd engedélyezze újra.
- Most indítsa újra a rendszert, majd ellenőrizze, hogy a probléma megoldódott.
2. megoldás: Tiltsa le a gyors indítást (kettős rendszerindító rendszer)
Ismert, hogy a Windows gyors indítási opciója problémákat vet fel kettős rendszerindító rendszerrel Linux alatt. Ugyanez lehet az oka a jelenlegi kérdésnek. Ebben az összefüggésben a gyors indítás letiltása a Windows-ban megoldhatja a problémát.
- A rendszer Windows környezetében kattintson a Windows keresőmezőre, és írja be a Vezérlőpult parancsot . A megjelenő keresési eredmények között kattintson a Vezérlőpult elemre .
- Most kattintson a Hardver és hang elemre .
- Ezután kattintson az Energiagazdálkodási lehetőségek elemre .
- Most az ablak bal oldali ablaktáblájában kattintson a Válassza ki a bekapcsológombokat elemre .
- Törölje a jelet a Gyors indítás bekapcsolása lehetőségről . Ha az opció szürkén jelenik meg, kattintson a Jelenleg nem elérhető beállítások módosítása elemre, majd törölje az említett lehetőség jelölését.
- Most mentse a módosításokat, és indítsa el a Linux környezetbe, hogy ellenőrizze, megoldódott-e a probléma. Lehet, hogy teljesen el kell távolítania / újra kell telepítenie a Linux terjesztését.
3. megoldás: Tiltsa le az Automatikus csatlakozás lehetőséget a hálózathoz
Nagyon bosszantó lehet a felhasználó számára, ha a hibajelzéseket olyan kapcsolattípusokról kapja meg, amelyeket nem használ, például USB ethernet-t. Megszabadulhat az adott hálózat felszólításától, ha kikapcsolja az Automatikus csatlakozás lehetőséget.
- Nyissa meg a Linux disztribúció Beállításai elemét, és kattintson a Hálózat elemre .
- Ezután kattintson a problémás hálózat melletti fogaskerék ikonra.
- Most törölje a jelet az Automatikus csatlakozás lehetőségről, és alkalmazza a módosításokat.
- Ezután ellenőrizze, hogy a csatlakozási probléma megoldódott-e.
4. megoldás: Módosítsa a DNS-t DNSMASQ-ra a hálózat számára
Előfordulhat, hogy a vita tárgya a hiba, ha a rendszerének problémái vannak a DNS-sel. Ebben a forgatókönyvben az ingyenes DNSMASQ-ra való váltás (amely alacsony rendszererőforrásokat igényel) megoldhatja a problémát.
- Hajtsa végre a következő parancsot a Linux terminálon:
sudo gedit /etc/NetworkManager/NetworkManager.conf
- Most módosítsa a dns-t a dnsmasq- szal, és a módosítások mentése után zárja be a fájlt.
- Indítsa újra a rendszert, majd ellenőrizze, hogy a probléma megoldódott-e.
5. megoldás: Helyes dátum / idő beállítások a rendszerben
A rendszer dátum / idő beállításai különböző szerepet játszanak a rendszer működésében. A megbeszélés során fellépő hibával találkozhat, ha a rendszer dátum / idő beállítása nem megfelelő. Ebben az összefüggésben a rendszer dátum / idő beállításainak javítása megoldhatja a problémát.
- A képernyő bal alsó részén kattintson az Alkalmazások megjelenítése elemre, majd a Beállítások elemre .
- Kattintson az ablak bal oldali ablaktábláján a Dátum és idő elemre .
- Ezután tiltsa le az Automatikus dátum és idő beállítást .
- Now correct the date and time of your system and then check if the issue has been resolved.
Solution 6: Delete the Bluetooth Devices in the Settings of Your System
If you have configured many Bluetooth devices, which are not available (at the occurrence of the error), then the error is triggered as the network manager will not be able to connect any of those devices. In this context, deleting the Bluetooth devices may solve the problem.
- Remove any Bluetooth devices connected to your system.
- Open Settings of your system and in the left pane of the window, click on Bluetooth.
- Now disable Bluetooth.
- Now launch the Linux terminal and type:
bluetoothctl
- Now a list of all Bluetooth devices will be shown. Then type the following command:
bluetoothctl remove AA:BB:CC:DD:EE:FF
- Replace AA:BB:CC:DD:EE:FF with the ID string of the device. You can find the ID string by selecting the network icon>>Device Name>>Gear Icon.
- Repeat the process for all the Bluetooth devices and then check if the problem is solved.
- If not, check the path of the .crt file. If there are spaces in the name of the folder (in which .crt file is stored), remove spaces and then check if the problem is solved.
Solution 7: Blacklist Other Communication Devices
You may encounter the error under discussion if there is second ethernet/Wi-Fi like device present on the system like a built-in 4G device and your system is trying to use that device to connect to the internet. In this scenario, blacklisting other communication devices may solve the problem.
- Open the Linux terminal and type:
sudo lshw -C network
- Then a list of network devices will show up. Now check for the device that you are not using. For example, cdc_ether (which you are not using) is shown in the network devices.
- Now, type the following command in the terminal (which will create a new blacklist file):
sudo -H gedit /etc/modprobe.d/blacklist-cdc_ether.conf
- Now add following two lines in the file:
blacklist cdc_ether blacklist usbnet
- Now save the file and restart your system.
- Upon restart, check if the issue has been resolved. Keep in mind that whenever you have to use the internal 4G device, you should enable it.
Solution 8: Remove the Network Drivers from the Blacklist
You may encounter the error under discussion if the network device is blacklisted in the system. In this context, removing the files from the blacklist may solve the problem.
- Type the following command in the Linux terminal and press the enter key:
sudo gedit /etc/modprobe.b/blacklist.conf
- Now, in the file opened, check if the network-related drivers/modules are blacklisted. For example, if you are using a Broadcom network card, then remove the entries related to bcma and bcmsmac.
- Now restart your system and then check if the problem is solved.
Solution 9: Reinstall the Network Manager
The network manager is responsible for all the network-related operations in a Linux distro. You may encounter the error at hand if the installation of your network manager has corrupted. In this context, reinstalling the network manager may solve the problem.
- Launch the Linux Shell of your system and type the following command:
sudo systemctl restart network-manager.service
- Now check if the problem is solved.
- If not, then run the following command:
sudo /etc/init.d/network-manager force-reload
- If asked for, then enter your user password and then check if the problem is solved.
- If not, then run the following command:
sudo apt-get install -d --reinstall network-manager network-manager-gnome
- Now check if the problem is solved.
Solution 10: Disable Power Management of the Network Card/Driver
Power management implementation is known to cause issues for network connections. The same could be the reason for the current error. In this context, disabling power management may solve the problem. For illustration, we will discuss the process for Ubuntu and RTL8192CU driver.
- Open the Linux terminal and execute the following commands one by one:
sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get install git git clone //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 your system and then check if the problem is solved.
Solution 11: Disable the Hardware Encryption by the Network Device
You may encounter the error under discussion if your network device is having trouble in encryption. In this context, disabling the hardware encryption may solve the problem. For elucidation, we will discuss the process for Ubuntu and RT2800PCI device.
- Execute the following command in the Linux terminal:
echo "options rt2800pci nohwcrypt=y"
- Then execute the following commands one by one:
sudo tee /etc/modprobe.d/rt2800pci.conf sudo modprobe -rfv rt2800pci sudo modprobe -v rt2800pci sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
- Now restart your system and then check if the problem has been solved.
Solution 12: Update the Kernel of Your Linux Distro to the Latest Build
The Linux kernel is the central core of the OS and is a mediator between software applications and computer hardware. It is the foundation of all the different types of Linux distro. The kernel is regularly updated to cater to new technological advancements and patch the known bugs. You may encounter the error under discussion if the kernel of your Linux distro is an outdated one. In this context, updating the Linux kernel may solve the problem. We will discuss the process for Ubuntu.
- Open the Linux shell and type:
sudo apt-get upgrade linux-image-generic
- Now restart your system and then check if the connection problem has been solved.
Solution 13: Upgrade Your Linux Variant to the Latest Build
To add new features and patch the known bugs, every variant of Linux is updated. You may encounter the error under discussion if you are using an outdated version of the Linux distro. In this context, updating the distro may solve the problem. For elucidation, we will discuss the process for Ubuntu.
- Open the Linux terminal and type:
sudo apt-get upgrade
- Enter the password of the user account and a list of available updates will be shown.
- Press the y key to confirm the update and then the Enter key.
- Most várja meg a frissítési folyamat befejezését, majd ellenőrizze, hogy a probléma megoldódott-e.
Ha eddig semmi sem segített, akkor lehet, hogy újratelepítenie kell a Linux terjesztését. De az újratelepítés előtt érdemes kipróbálni az iwconfig parancsot. Próbálja meg frissíteni a rendszer BIOS-át is. Sőt, próbálkozzon a WICD hálózatkezelővel . Ezenkívül próbálja meg használni az IPV6-ot (Link-Local), vagy tiltsa le a TCP-t .
Címkék linux