Skip to main content
Topic: [resolved] Networkmanager starting, but inactive (Read 1727 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[resolved] Networkmanager starting, but inactive

hello, I use artix openrc with cutefish environment. does not connect automatically networkmanager

nmcli device show

Code: [Select]
    



GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
IP4.ADDRESS[1]:                         192.168.5.236/24
IP4.GATEWAY:                            192.168.5.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.5.1, mt = 600
IP4.ROUTE[2]:                           dst = 192.168.5.0/24, nh = 0.0.0.0, mt = 600
IP4.DNS[1]:                             192.168.5.1
IP4.DOMAIN[1]:                          tendawifi.com
IP6.ADDRESS[1]:                         fe80::b26a:74c7:e60:9121/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024

GENERAL.DEVICE:                         p2p-dev-wlan0
GENERAL.TYPE:                           wifi-p2p
GENERAL.HWADDR:                         (sconosciuto)
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnesso)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         eth0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         20:1A:06:C8:9A:38
GENERAL.MTU:                            1500
lines 1-29/48 63%...skipping...
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.DEVICE:                         wlan0
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         40:F0:2F:37:BC:F9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (collegato)
GENERAL.CONNECTION:                     NOVAwifi
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
IP4.ADDRESS[1]:                         192.168.5.236/24
IP4.GATEWAY:                            192.168.5.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.5.1, mt = 600
IP4.ROUTE[2]:                           dst = 192.168.5.0/24, nh = 0.0.0.0, mt = 600
IP4.DNS[1]:                             192.168.5.1
IP4.DOMAIN[1]:                          tendawifi.com
IP6.ADDRESS[1]:                         fe80::b26a:74c7:e60:9121/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024

GENERAL.DEVICE:                         p2p-dev-wlan0
GENERAL.TYPE:                           wifi-p2p
GENERAL.HWADDR:                         (sconosciuto)
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnesso)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         eth0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         20:1A:06:C8:9A:38
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (non disponibile)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               off
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          10 (non gestito)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            --
IP4.ROUTE[1]:                           dst = 127.0.0.0/8, nh = 127.0.0.1, mt = 0
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:  
[code]


Re: Networkmanager starting, but inactive

Reply #2
I have already followed this guide but nothing

Re: Networkmanager starting, but inactive

Reply #3
Hello,

I don't have the relevant answer to your problem, but I have an answer: remove networkmanager and try with connman.

Re: Networkmanager starting, but inactive

Reply #4
Ì  can't uninstall networkmanager, it takes away my desktop. i have already tried to disable and enable connman, but nothing does not connect me automatically.

Re: Networkmanager starting, but inactive

Reply #5
partially fixed. I enabled dhcp service (even if I do not know what it is), I get to conettermi automatically, even if pero to the vio I always come out the message networkmanager  start but inactive

Re: [resolved] Networkmanager starting, but inactive

Reply #6
NetworkManager needs dbus and udev to work correctly. Check if those services are up and running on your system.

Re: [resolved] Networkmanager starting, but inactive

Reply #7
I had this problem and found I had INACTIVE_TIMEOUT set to 1 in /etc/conf.d/NetworkManager.

I changed it to 30 seconds, and it connects within 5 seconds.

I don't know why my timeout was so short, but maybe it's the default in Artix, and could be changed to 10 or something going forward.

Re: [resolved] Networkmanager starting, but inactive

Reply #8
I found another hard-coded INACTIVE_TIMEOUT in /etc/init.d/NetworkManager inside the start() function, in a call to rm-online which checks if the network is running. I removed the line checking it was set and rely on the conf.d being set properly.