You are not logged in.

#1 2011-05-02 23:56:40

miro279
Member
Registered: 2010-10-02
Posts: 153

[SOLVED] can't connect networkmanager to wireless network

Trying so results in the message:

"Adding connection failed. Error code is 0/2 ()."

Can I somehow delete the whole networkmanager configuration to start with a new and clean setup?

Thanks in advance!

Last edited by miro279 (2011-05-05 20:33:27)

Offline

#2 2011-05-03 03:31:55

CalinDee
Member
Registered: 2011-05-03
Posts: 2

Re: [SOLVED] can't connect networkmanager to wireless network

Hi,

Not trying to hijack your thread here, but I have exactly the same error.  Will provide some additional detail, perhaps we can both get some assistance.

Firstly a disclaimer:  I am a complete noob when it comes to nix.  But am very keen to make the conversion.

I am getting exactly the same error as mentioned above, this happens either when attempting to add a new connection or alter an existing connection.

This makes me suspect that it is simply a permissions problem, but that could be well off the mark.

I am using KDE as my desktop env.

Have completely updated the system and installed NetworkManager and the KDE applet.

.xinitrc output:

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec ck-launch-session startkde

rc.conf output:

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(!eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.254"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus networkmanager netfs crond appset-helper)

Google yielded that I should create the following file and populate it:
output of /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla

[kdeplasma-applets-networkmanagement]
Identity=unix-group:plugdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

Please note with the above: "[kdeplasma-applets-networkmanagement]" was stipulated as "nm-applet" or similar, twas specific for the Gnome applet.  I have no clue what the name should be for the kde version, took a stab in the dark here.

Hopefully somebody may be able to point us in the right direction here.

Thanks in advance.

CD.

Offline

#3 2011-05-03 05:31:32

tobiwae
Member
From: Germany
Registered: 2008-08-20
Posts: 11

Re: [SOLVED] can't connect networkmanager to wireless network

I have the same problem since last update...

Offline

#4 2011-05-03 05:59:30

roof
Member
Registered: 2011-05-03
Posts: 2

Re: [SOLVED] can't connect networkmanager to wireless network

I had installed Arch Linux yesterday from netinstall image and have the same problem.

Last edited by roof (2011-05-03 06:05:57)

Offline

#5 2011-05-03 06:54:29

setti
Member
Registered: 2006-07-12
Posts: 20

Re: [SOLVED] can't connect networkmanager to wireless network

Same error here, but not only for wireless connections.
Beside that problem, connecting to existing connections is also not possible. It just nothing happend. Debugging the NetworkManager daemon shows no incoming action from the plasmoid.
Is there any fix out there?

Offline

#6 2011-05-03 06:54:53

CalinDee
Member
Registered: 2011-05-03
Posts: 2

Re: [SOLVED] can't connect networkmanager to wireless network

Ok, after some further tinkering the fix (for me at least) turns out to be a piece of cake.

I have removed the KDE NetworkManager frontend (kdeplasma-applets-networkmanagement)

Installed the Gnome frontend (network-manager-applet)

Restarted the machine - voila!  (restarting the network probably would have sufficed, but what can I say, too used to a windows based environs)

Am now able to edit the existing network connections and create new ones without any pain or fuss.

Have successfully connected to a wireless conn with WPA2-Personal (PSK-TKIP).

It appears the issue lies solely with the KDE frontend...


Hope that helps :-)

Offline

#7 2011-05-03 07:19:38

roof
Member
Registered: 2011-05-03
Posts: 2

Re: [SOLVED] can't connect networkmanager to wireless network

CalinDee, thank you very much!

Offline

#8 2011-05-03 07:48:10

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: [SOLVED] can't connect networkmanager to wireless network

I'm using wicd for now.. hoping for a update on networkmanager!

Offline

#9 2011-05-03 13:24:10

cnvega
Member
From: Santiago, Chile
Registered: 2011-05-03
Posts: 2

Re: [SOLVED] can't connect networkmanager to wireless network

I have the same problem since yesterday, it seems to be a bug in the last update of the kdeplasma-applets-networkmanagement packet. If you are using the KDE windows manager, install the gnome applet isn't the right solution.
When I updated yesterday, a message of "the local version is newer than repository" appears. Can somebody check this applet? I'm not using NM for now because of this bug.

C

Offline

#10 2011-05-03 13:57:28

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED] can't connect networkmanager to wireless network

https://bbs.archlinux.org/viewtopic.php?id=116428

downgrading networkmanager and kdeplasma-applets-networkmanagement like in bash's post solves this problem for me...

Last edited by Loose_Control (2011-05-03 13:58:20)

Offline

#11 2011-05-03 15:07:56

cnvega
Member
From: Santiago, Chile
Registered: 2011-05-03
Posts: 2

Re: [SOLVED] can't connect networkmanager to wireless network

Nice, that is the specific problem. Thanks Loose_Control!

I hope this broken pkg were solved for the next update.

C

Last edited by cnvega (2011-05-03 17:11:37)

Offline

#12 2011-05-03 19:45:06

eothred
Member
Registered: 2009-12-28
Posts: 25

Re: [SOLVED] can't connect networkmanager to wireless network

Same problem here I guess, using the network-manager-applet instead works as others have reported (thanks!). Is this related to the bug reported here? https://bugs.archlinux.org/task/23634

Offline

#13 2011-05-03 20:20:57

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED] can't connect networkmanager to wireless network

yes it is KlavKalashj reported the bug and the same link is in the thread linked in my last post wink

Last edited by Loose_Control (2011-05-03 20:22:20)

Offline

#14 2011-05-04 17:54:43

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: [SOLVED] can't connect networkmanager to wireless network

eothred wrote:

Same problem here I guess, using the network-manager-applet instead works as others have reported (thanks!). Is this related to the bug reported here? https://bugs.archlinux.org/task/23634


This bug seems to be closed, and was last updated on the 7th April. Should it be reopened/relogged?

Offline

#15 2011-05-05 20:32:59

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: [SOLVED] can't connect networkmanager to wireless network

new versions of networkmanager and kdeplasma-applets-networkmanagement solved the problem..

Offline

#16 2011-05-12 15:47:24

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: [SOLVED] can't connect networkmanager to wireless network

This is still not working a it should.

My wireless AP is from an android phone, so I turn it on/off to save the battery.

The laptop detects and connects to the AP when I boot the laptop.

If I turn off/on the AP, the laptop sees the AP, but it will not connect to it (automatically or manually)
I have to restart the networkmanager service for the laptop to reconnect.

Offline

Board footer

Powered by FluxBB