You are not logged in.

#1 2012-09-17 05:06:40

proudzhu
Member
Registered: 2012-09-13
Posts: 17

NetworkManager not working normally?

Hello!
I used to set up two connections by the NetworkManager:Local and ADSL.
The first is a static ip config in my college and the other one is a pppoe service.
But since I changed to systemd, I found that I cannot switch between them. I have seen the wiki ,but it doesn't work.
PS: Local is used as the default connection.
I use xfce4.10 and slim.
Then I check the logs, in user.log
it says:

Sep 17 12:26:24 archlinux NetworkManager[272]: <error> [1347855984.216283] [nm-manager-auth.c:87] pk_authority_get(): Failed to initialize PolicyKit: (1) Error initializing authority: Could not connect: No such file or directory
Sep 17 12:26:24 archlinux NetworkManager[272]: <error> [1347855984.223032] [nm-manager-auth.c:87] pk_authority_get(): Failed to initialize PolicyKit: (1) Error initializing authority: Could not connect: No such file or directory
archlinux NetworkManager[272]: <warn> disconnected by the system bus.
Sep 17 12:26:33 archlinux NetworkManager[272]: <info> reconnected to the system bus.
Sep 17 12:26:55 archlinux NetworkManager[272]: <warn> disconnected by the system bus.
Sep 17 12:26:58 archlinux NetworkManager[272]: <info> reconnected to the system bus.
Sep 17 12:27:01 archlinux NetworkManager[272]: <info> Policy set 'Local' (eth0) as default for IPv6 routing and DNS.
Sep 17 12:27:03 archlinux NetworkManager[272]: <info> Policy set 'Local' (eth0) as default for IPv6 routing and DNS.
Sep 17 12:27:05 archlinux NetworkManager[272]: <info> Policy set 'Local' (eth0) as default for IPv6 routing and DNS.
Sep 17 12:27:06 archlinux NetworkManager[272]: <info> Policy set 'Local' (eth0) as default for IPv6 routing and DNS.
Sep 17 12:27:06 archlinux NetworkManager[272]: <info> Policy set 'Local' (eth0) as default for IPv6 routing and DNS.
Sep 17 12:27:08 archlinux NetworkManager[272]: <info> Policy set 'Local' (eth0) as default for IPv6 routing and DNS.
Sep 17 12:27:21 archlinux NetworkManager[272]: <warn> disconnected by the system bus.
Sep 17 12:27:23 archlinux NetworkManager[272]: <info> reconnected to the system bus.
Sep 17 12:27:31 archlinux NetworkManager[272]: <info> caught signal 15, shutting down normally.
Sep 17 12:27:31 archlinux NetworkManager[272]: <info> (wlan0): now unmanaged
Sep 17 12:27:31 archlinux NetworkManager[272]: <info> (wlan0): device state change: unavailable -> unmanaged (reason 'removed') [20 10 36]

systemctl --failed gives me the following:

$ systemdctl --failed
NetworkManager.service      loaded failed failed     Network Manager
systemd-...runlevel.service loaded failed failed     Update UTMP about System Ru

I also find a same problem here,
https://bbs.archlinux.org/viewtopic.php?id=147937
But it uses initscripts.
Thanks in advance.

Last edited by proudzhu (2012-09-17 06:29:11)

Offline

#2 2012-09-17 11:47:01

techwiz
Member
Registered: 2012-01-26
Posts: 48

Re: NetworkManager not working normally?

Looks like you might be missing polkit and polkit-gnome

Offline

#3 2012-09-18 07:58:28

proudzhu
Member
Registered: 2012-09-13
Posts: 17

Re: NetworkManager not working normally?

techwiz wrote:

Looks like you might be missing polkit and polkit-gnome

I have tried all the options on the wiki here.
https://wiki.archlinux.org/index.php/Ne … ermissions
I have add myself to the wheel and network group, and also have the file

 /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla 
 $ groups proudzhu
   lp wheel log network video audio optical storage power users

But it also doesn't work.
When I try option 1

 $ sudo /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
          (polkit-gnome-authentication-agent-1:936): polkit-gnome-1-WARNING **: Error getting authority: Error initializing authority: Could not connect: No such file or directory

I reinstalled polkit-gnome and polkit yesterday.Then today when i tried to switch to ADSL, it comes out a dialog
says

    Connection activation failed
    (32) Not authorized to control networking.

Also I have been confused by the wiki about the ck-launch-session.
https://wiki.archlinux.org/index.php/Ne … ermissions
says i should add it to the ~/.xinitrc
But as i use slim1.3.4,
https://wiki.archlinux.org/index.php/SL … vironments
says i shouldn't add it.s
Hope someone could help me solve these problems

Offline

#4 2012-10-26 03:56:40

admiralspark
Member
From: Alaska, USA
Registered: 2011-01-07
Posts: 87

Re: NetworkManager not working normally?

proudzhu,

I, as well, am experiencing this issue, and am doing some research into solutions. If I find anything, I will drop it here, but it appears to be unrelated to policykit (as long as you have polkit and polkit-gnome installed).


Team Ignition Kernel Developer
linux-ideapad developer/maintainer
Flame Kernel developer for Galaxy Nexus and Galaxy S3
Want a cheap, reliable VPS with AWESOME customer service?

Offline

Board footer

Powered by FluxBB