This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Netowork manager disabled

Tags: None
(comma "," separated)
User avatar
martinpola
Registered Member
Posts
40
Karma
0
OS

Netowork manager disabled

Wed Apr 07, 2010 12:59 pm
Hello!

This problem came up yesterday. I don't know what I did, maybe it's my fault, maybe KDE's. I guess it's my fault.

I can't connect to my network anymore, neither wireless or wired. If I click the Network manager-icon in the system tray, I see this:
http://img706.imageshack.us/my.php?imag ... anager.png

I'm using Kubuntu 10.04 (the beta), and it could be some failed upgrade, but I doubt that.

I did "ifconfig" in a Konsole, and released that the network really was off. So, i did "sudo ifconfig eth0 up", and the same with eth1. That worked fine, but still the Network manager is disabled. How do I enable it?
http://img706.imageshack.us/my.php?image=terminald.png

Thanks in advice!
Martin
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: Netowork manager disabled

Wed Apr 07, 2010 3:14 pm
You have an IPV6 address, but no IPV4 address. I don't know what tools kubuntu offer you for network configuration, but I'd be inclined to try to disable IPV6. The trouble is that networkManager and the network service don't play well together, so it's often hard to know what configurations to edit. One thing I'd try is going to /etc/sysconfig/network-scripts/ and in each of ifcfg-eth0 and ifcfg-eth1 set the following line:

IPV6INIT=no

I can't guarantee that it will allow IPV4 to start up, but it gives it a chance. The other possibility is to get rid of networkManager altogether. You ifup commands then will work properly with the network service - you are not supposed to use those commands with networkManager. 'service network restart', run as root, should then give you a connection.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
martinpola
Registered Member
Posts
40
Karma
0
OS

Re: Netowork manager disabled

Wed Apr 07, 2010 7:55 pm
annew wrote:You have an IPV6 address, but no IPV4 address. I don't know what tools kubuntu offer you for network configuration, but I'd be inclined to try to disable IPV6. The trouble is that networkManager and the network service don't play well together, so it's often hard to know what configurations to edit. One thing I'd try is going to /etc/sysconfig/network-scripts/ and in each of ifcfg-eth0 and ifcfg-eth1 set the following line:

IPV6INIT=no

I can't guarantee that it will allow IPV4 to start up, but it gives it a chance. The other possibility is to get rid of networkManager altogether. You ifup commands then will work properly with the network service - you are not supposed to use those commands with networkManager. 'service network restart', run as root, should then give you a connection.

I tried to edit the file and to do "service network restart". Sadly, none of them worked. :/

The file didn't exist, not even the folder as it was supposed to be in.
When I did "sudo service network restart", I got:
network: unrecognized service

I'm not so used to this... Thanks once again!
Martin
User avatar
LBL
Registered Member
Posts
131
Karma
0
OS

Re: Netowork manager disabled

Fri Apr 09, 2010 8:42 am
Did your system was in SuspendToRAM/SuspendToDisc and then crashed? I often have this problem then. Sadly KNetworkManager is not able to wake the NetworkManager up.

Try using
Code: Select all
qdbus --system org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.wake

in konsole.

Maybe all the names are a bit different (hopefully not). I use Fedora. If this doesn't work try qdbusviewer and search for the correct names there. (Use system tab).


42: There is no other answer. There are only different ways to express it.
0x2A
0o52
0b101010
brg
Registered Member
Posts
3
Karma
0

Re: Netowork manager disabled

Thu Jun 10, 2010 7:36 am
Same situation.
System go to Suspend .. when awaking keyboard leds is blinking (I think kernel panic :)), after restart - "network manager disabled".

Code: Select all
brg@brg-work:~$ qdbus --system org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.wake
Error: org.freedesktop.NetworkManager.AlreadyAsleepOrAwake
Already awake


brg@brg-work:~$ sudo service network-manager stop
network-manager stop/waiting
brg@brg-work:~$ sudo rm /var/lib/NetworkManager/NetworkManager.state
brg@brg-work:~$ sudo service network-manager start
network-manager start/running, process 3148



This is no help me =(
dreamz
Registered Member
Posts
70
Karma
0
OS

Re: Netowork manager disabled

Thu Jun 10, 2010 10:48 pm
in arch linux, i do this:

Code: Select all
/etc/rc.d/networkmanager stop
rm /var/lib/NetworkManager/NetworkManager.state
/etc/rc.d/networkmanager start


maybe you can try something similar in kubuntu.
SyncMaster
Registered Member
Posts
121
Karma
0
OS

Re: Netowork manager disabled

Sun Jun 13, 2010 11:44 am
brg wrote:Same situation.
System go to Suspend .. when awaking keyboard leds is blinking (I think kernel panic :)), after restart - "network manager disabled".

Code: Select all
brg@brg-work:~$ qdbus --system org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.wake
Error: org.freedesktop.NetworkManager.AlreadyAsleepOrAwake
Already awake


brg@brg-work:~$ sudo service network-manager stop
network-manager stop/waiting
brg@brg-work:~$ sudo rm /var/lib/NetworkManager/NetworkManager.state
brg@brg-work:~$ sudo service network-manager start
network-manager start/running, process 3148



This is no help me =(


This also happened to me today. My luck was that I had my laptop with me and I could read this topic. Anyway I solved using the following:

syncmaster@sync:~$ ps -ef | grep knetworkmanager
syncmaster@sync:~$ kill <pid knettworkmanager> (obtained with the previous command)
syncmaster@sync:~$ rm /var/lib/NetworkManager/NetworkManager.state
syncmaster@sync:~$ knetworkmanager
syncmaster@sync:~$ qdbus --system org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.wake

This for the users that are not "power users" is a bit of a pain... I imagine that most of them reinstall... There is no way from the interface to enable Knetworkmanager, and it should exist a simple way to do that.
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

Re: Netowork manager disabled

Mon Jun 14, 2010 1:14 pm
dreamz wrote:in arch linux, i do this:

Code: Select all
/etc/rc.d/networkmanager stop
rm /var/lib/NetworkManager/NetworkManager.state
/etc/rc.d/networkmanager start


maybe you can try something similar in kubuntu.

Instead of removing /var/lib/NetworkManager/NetworkManager.state you can change the line
Code: Select all
NetworkingEnabled=false

to
Code: Select all
NetworkingEnabled=true

This was working on my Kubuntu, too.


Image
brg
Registered Member
Posts
3
Karma
0

Re: Netowork manager disabled

Wed Jun 16, 2010 12:18 pm
Yes, I understand what I can change only this line.
I am delete, edit .state file .. restart /etc/init.d/network-manager .. but a see only http://i50.tinypic.com/300v0k1.png

And in System Settings and don't see connections, but ifconfig say another
http://i45.tinypic.com/2qwej5d.jpg
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Netowork manager disabled

Thu Jun 17, 2010 4:18 am
Please right click on the icon to show physical wired devices. The items shown in System Settings for wired devices are only profiles for use with Wired devices, not the wired devices themselves. ( For instance you might have different configurations for a work network and a home network )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
brg
Registered Member
Posts
3
Karma
0

Re: Netowork manager disabled

Thu Jun 17, 2010 5:26 am
No, it is desktop computer on work (only one permanent network).

I solve my problem .. after crash while network manager is sleep, I edit /etc/network/interfaces and add eth0 interface with dhcp, because i have only lo interface and I need internet .. after awaking NM, I am forgot about this. Commenting eth0 lines configuration and reboot, after this NM is connecting.
SyncMaster
Registered Member
Posts
121
Karma
0
OS

Re: Netowork manager disabled

Fri Jun 18, 2010 4:17 pm
JanGerrit wrote:
dreamz wrote:in arch linux, i do this:

Code: Select all
/etc/rc.d/networkmanager stop
rm /var/lib/NetworkManager/NetworkManager.state
/etc/rc.d/networkmanager start


maybe you can try something similar in kubuntu.

Instead of removing /var/lib/NetworkManager/NetworkManager.state you can change the line
Code: Select all
NetworkingEnabled=false

to
Code: Select all
NetworkingEnabled=true

This was working on my Kubuntu, too.


It happened to me again, and only changing the line from false to true, wasn't enough... I need also to execute the qdbus command.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar