You are not logged in.

#1 2010-08-28 18:52:06

badfrog88
Member
Registered: 2010-08-13
Posts: 43

[RESOLVED] cnetworkmanager Two Issues

This is a clean install on a ASUS 1018pb netbook:

I am trying to get my wireless networking setup before I install X. I have installed and configured networkmanager and cnetworkmanager. I have also added my username to the networkmanager group. I"m currently having two issues:

1.  when I run (as user) cnetworkmanager -C "myssid" --wpa-pass "my passphrase", I get the following error mesage

Traceback (Most recent call last):
File "/usr/bin/cnetworkmanager", line 283, in <module>
  us = NetworkManagerUserSettings([]) # request_name may fail
File "/user/lib/python2.6/site-packages/networkmanager/applet/service/__init__.py", line 70, in __init__
  super(NetworkManagerUserSettings, self).__init__(conmaps, USER_SERVICE)
File "/user/lib/python2.6/site-packages/networkmanager/applet/service/__init__.py", line 29, in __init__
  do_not_queue=True)
File "/user/lib/python2.6/site-packages/dbus/service.py", line 129, in __new__
  retval = bus.request_name (name, name_flags)
File "/user/lib/python2.6/site-packages/dbus/bus.py", line 306, in request_name
  'su', (name, flags))
File "/user/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
  message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection "1:8" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file

2. when I run the above command as root, I get the following:

Entering mainloop
(13:19:08) State: CONNECTING
(13:19:16) State: CONNECTED
_ {flashing cursor}

I don't get a command prompt back.
If I open another terminal, I can work as normal.

I would like to get this resolved before I install X and the GNOME applet. I'll be using openbox.


Thanks,

Last edited by badfrog88 (2010-08-29 20:47:23)

Offline

#2 2010-08-29 01:26:45

avolkov
Member
From: New York, NY
Registered: 2010-08-29
Posts: 2
Website

Re: [RESOLVED] cnetworkmanager Two Issues

Hi. Not exactly a solution, but I had the same exact error and eventually gave up and just used the gnome networkmanager app instead (running xfce tho). To install stuff from pacman, I connected manually to my wifi until I set networkmanager up:

http://wiki.archlinux.org/index.php/Wir … nual_setup

Offline

#3 2010-08-29 01:52:01

badfrog88
Member
Registered: 2010-08-13
Posts: 43

Re: [RESOLVED] cnetworkmanager Two Issues

Thanks. I'm connected via ethernet at the moment. I'll install the GNOME applet when I get openbox running.

Offline

#4 2010-08-29 06:00:35

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: [RESOLVED] cnetworkmanager Two Issues

Another temporary solution is to install wicd and use the ncurses interface without X.

Offline

#5 2010-08-29 20:46:43

badfrog88
Member
Registered: 2010-08-13
Posts: 43

Re: [RESOLVED] cnetworkmanager Two Issues

I've installed openbox and the GNOME applet and everthing works as long as I enter a X session. I can then open another CLI (using ctr+alt+2) and I have wireless from the command prompt.  Not exactly what I wanted, but it works.
I'll mark this as resolved.

Kent

Offline

#6 2010-09-15 23:54:22

bkadoctaj
Member
Registered: 2010-05-02
Posts: 52

Re: [RESOLVED] cnetworkmanager Two Issues

I believe I've found a decent solution.  Try running this command as root:

# cnetworkmanager -C "myssid" --wpa-pass "my passphrase" &

The '&' at the end of the command should make it so after the connection is made the prompt will return.  However, I had the same result as you:

Entering mainloop
(13:19:08) State: CONNECTING
(13:19:16) State: CONNECTED
_ {flashing cursor}

Nonetheless, when I ^c (Control-C) and then type in

# ifconfig -a

my wireless interface is both up and connected.  All I know is it works.

Offline

Board footer

Powered by FluxBB