Artix Linux Forum

Init systems => runit => Topic started by: dyntif on 26 March 2024, 16:48:26

Title: Error: NetworkManager is not running
Post by: dyntif on 26 March 2024, 16:48:26
I really am a total noob when it comes to things like this. I am using artix runit linux. Xfce.
I've set up arch and artix systems in the past, usually the NetworkManager part is just installing a few packages, starting a service, and it'll just work, but I can't get it to work. I don't know what to do. I've checked the config files and the service files, I've rebooted, restarted the service, went through every step of tutorials I found, I keep getting the error:
NetworkManager not running
No matter what I do. This is probably easy to solve, but I don't know how.

Code: [Select]
dyntif-rogstrixg513ieg513ie:[root]:/home/dyntif# ln -s /etc/runit/sv/NetworkManager/ /run/runit/service
ln: failed to create symbolic link '/run/runit/service/NetworkManager': File exists
dyntif-rogstrixg513ieg513ie:[root]:/home/dyntif# sv up NetworkManager
dyntif-rogstrixg513ieg513ie:[root]:/home/dyntif# nmcli
Error: NetworkManager is not running.
Code: [Select]
dyntif-rogstrixg513ieg513ie:[root]:/home/dyntif#  sv status NetworkManager
down: NetworkManager: 1s, normally up, want up
Title: Re: Error: NetworkManager is not running
Post by: kaleidoscope on 29 March 2024, 20:40:00
I am sorry, posted in the wrong topic, don't know why it happened. 🙏
Title: Re: Error: NetworkManager is not running
Post by: dyntif on 03 April 2024, 09:37:33
What do you mean? In what topic should I post this?
Title: Re: Error: NetworkManager is not running
Post by: Hitman on 03 April 2024, 12:43:23
I think he meant he posted wrongly not you.
Moved it anyway to runit board.
Title: Re: Error: NetworkManager is not running
Post by: statzitz on 18 April 2024, 21:04:32
Hi Dyntif,

I think your problem is from the fact that connman is already running.

You can't have Networkmanager as the same time as connman running because both need to lock your network interfaces.

To stop and disable connman, do :

```
# sv d connmand
# touch /etc/runit/sv/connmand/down
```

After that, start again Networkmanager to see if it works.

If it still doesn't works, you should sent Networkmanager's log so we can check where the problem is from.
Title: Re: Error: NetworkManager is not running
Post by: dyntif on 23 April 2024, 10:12:05
It works!! Thanks so much!