NetworkManager on Kubuntu doesn't run on startup

2 months ago by Clippy to c/linux4noobs

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/...)

UPDATE:
fixed with sudo apt install --reinstall network-manager

Sanctus 3 points 2 months ago

sudo systemctl enable NetworkManager

In a terminal should just add it to start up when the service is enabled.

path: 0 25011172, hotness: undefined, score: 3, children: 5
Monkey 4 points 2 months ago

I get an error:

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

path: 0 25011172 25011184, hotness: undefined, score: 4, children: 4
Sanctus 4 points 2 months ago

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.

path: 0 25011172 25011184 25011292, hotness: undefined, score: 4, children: 2
Successful_Try543 2 points 2 months ago

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.

path: 0 25011172 25011184 25011292 25030852, hotness: undefined, score: 2, children: 0
Monkey 2 points 2 months ago

sorry for the late reply, sudo apt install --reinstall network-manager fixed it Thank you so much

path: 0 25011172 25011184 25011292 25285109, hotness: undefined, score: 2, children: 0
moonpiedumplings 2 points 2 months ago path: 0 25011172 25011184 25013056, hotness: undefined, score: 2, children: 0
linux4noobs
linux4noobs

@programming.dev

login for more options
4496
307
69

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?
  • Mention your Linux distro and relevant system details.
  • Describe what you've tried so far.
  • Share your solution even if you found it yourself.
  • Do not delete your post. This allows other people to see possible solutions if they have a similar problem.
  • Properly format any scripts, code, logs, or error messages.
  • Be mindful to omit any sensitive information such as usernames, passwords, IP addresses, etc.

Community Rules

  • Keep discussions respectful and amiable. This community is a space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We were all a noob at one point. Differing opinions and ideas is a normal part of discourse, but it must remain civil. Offenders will be warned and/or removed.
  • Posts must be Linux oriented
  • Spam or affiliate links will not be tolerated.

go to feed...