I installed some updates and after a restart the network manager thing in the taskbar said NetworkManager wasnt running so i tried to run it in terminal and it said i didnt have permission so i ran it with sudo and it worked. How do I get it to automatically start?

(I also posted this here: https://piefed.social/c/linuxquestions@lemmy.zip/p/2244268/networkmanager-on-kubuntu-doesn-t-run-on-startup)

  • Clippy@piefed.socialOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    il y a 12 jours

    I get an error:

    Failed to enable unit: Unit NetworkManager.service does not exist

    • Sanctus@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      il y a 12 jours

      Oof,

      sudo apt install --reinstall network-manager

      Thats what I’d do instead of recrafting the service or whatever. Kubuntu ships with network manager so it seems broken to me but maybe someone who actually uses Kubuntu can be more insightful.

      Edit: wait I am dumb, you can’t get to the internet huh?

      If you can’t get to the internet, at least grep for the package

      dpkg -l | grep network-manager

      to see if it didnt get nuked somehow. If it prints to the console its there.

      Then you need to check the services in etc/systemd/system/ for one called NetworkManager. Its probably not there.

      • Successful_Try543@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        il y a 11 jours

        Edit: wait I am dumb, you can’t get to the internet huh?

        They mention that they can start NM manually, so they likely have internet.