System stuck with NetworkManager

That’s why I researched the problem further and found a better way.

  1. Unplug your device before booting.
  2. Disable NetworkManager with these commands to prevent the kernel from freezing.
systemctl stop NetworkManager
systemctl disable NetworkManager
  1. Reconnect your device and check which driver your device is using. See https://unix.stackexchange.com/questions/60078/find-out-which-modules-are-associated-with-a-usb-device
  2. Stop and blacklist your driver. Open /etc/modprobe.d and create a new .conf file and add the line blacklist your-driver.
rmmod your-driver
cd /etc/modprobe.d/.
nano blacklist.conf

# Now add the following line and save.
# blacklist your-driver
  1. Install the correct driver. This step will vary depending on your driver.
  2. Enable ‘NetworkManager’ again.
systemctl enable NetworkManager
systemctl start NetworkManager

And the kernel shouldn’t freeze again.

2 Likes