You are not logged in.
Pages: 1
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 RuI 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
Looks like you might be missing polkit and polkit-gnome
Offline
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 usersBut 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 directoryI 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
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
Pages: 1