You are not logged in.

#1 2010-02-22 20:28:51

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

[SOLVED] Networkmanager - Network Managment Disabled

I had a bad resume from suspend and had to restart computer, After that my networkmanager cant connect and KDE icon says viz subject. Trying to find some solution here I used google to find this : http://osdir.com/ml/debian-bugs-dist/20 … 07864.html

Stopping networkmanager daemon, rm /var/lib/NetworkManager/NetworkManager.state and starting again solved this problem.

However, this behavior looks very bad for me. If every daemon works like this, after bad resume u can throw the computer from window... And BTW I think this should be at wiki in Troubleshooting 'cause this can happen to everyone

Last edited by LukynZ (2010-02-22 20:29:35)

Offline

#2 2010-03-18 21:07:07

jichuan89
Member
From: Mountain View, CA
Registered: 2010-03-10
Posts: 9
Website

Re: [SOLVED] Networkmanager - Network Managment Disabled

I had the same problem. Thanks!

Offline

#3 2010-03-19 11:52:51

bmaster
Member
Registered: 2010-01-14
Posts: 5

Re: [SOLVED] Networkmanager - Network Managment Disabled

That happened to me yesterday after suspend to disk. Sadly network manager still disabled and i even lost WPA encryption option for wireless interfaces sad.

Offline

#4 2010-03-19 12:42:03

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: [SOLVED] Networkmanager - Network Managment Disabled

Had the same problem and this works! Thanks!

Offline

#5 2010-03-20 08:02:24

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

Re: [SOLVED] Networkmanager - Network Managment Disabled

I fix it myself by adding rm line to /etc/rc.d/networkmanager where start script is, now its fixed automatically

...
PID=`pidof -o %PPID $NETWORKMANAGER_BIN`
case "$1" in
        start)
                rm /var/lib/NetworkManager/NetworkManager.state
                stat_busy "Starting NetworkManager"
                if [ -z "$PID" ]; then
                        $NETWORKMANAGER_BIN
                fi
                if [ ! -z "$PID" -o $? -gt 0 ]; then
                        stat_fail
                else
                        add_daemon networkmanager
                        stat_done
                fi
                ;;
        stop)
...

I am not sure how much is this solution clear, but it works and thats all I need smile

Offline

#6 2010-03-20 16:55:28

bmaster
Member
Registered: 2010-01-14
Posts: 5

Re: [SOLVED] Networkmanager - Network Managment Disabled

Seems that after suspending some files became corrupted. Reinstalling force networkmanager and plasma applet solved my problem.

Offline

#7 2016-06-20 15:55:17

clever
Member
Registered: 2015-06-18
Posts: 43

Re: [SOLVED] Networkmanager - Network Managment Disabled

LukynZ wrote:

I fix it myself by adding rm line to /etc/rc.d/networkmanager where start script is, now its fixed automatically

...
PID=`pidof -o %PPID $NETWORKMANAGER_BIN`
case "$1" in
        start)
                rm /var/lib/NetworkManager/NetworkManager.state
                stat_busy "Starting NetworkManager"
                if [ -z "$PID" ]; then
                        $NETWORKMANAGER_BIN
                fi
                if [ ! -z "$PID" -o $? -gt 0 ]; then
                        stat_fail
                else
                        add_daemon networkmanager
                        stat_done
                fi
                ;;
        stop)
...

I am not sure how much is this solution clear, but it works and thats all I need smile

I have this problem when resuming from not sure what (one level after screensaver  like standby but not suspend)!!!
How to do this with automatically with systemd?

Last edited by clever (2016-06-20 16:00:59)

Offline

#8 2016-06-20 16:11:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Networkmanager - Network Managment Disabled

Closing.  This thread is over six years old and I don't recall seeing any of the members here for a long time.
Please start a new thread with your question (provided it is not for Antergros -- if it is, be sure to ask on their forums)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB