You are not logged in.

#1 2011-11-18 10:11:21

koberkober
Member
Registered: 2011-11-18
Posts: 10

Network manager problems

Hi!
I have got some problem, just installed arch following the unofficial guide for newbies [or sonething like that^^], installed gdm and gnome-shell.
Now i cant get my Networkmanager to connect me with a wireless lan network.
If i dont add networkmanager to the demons and let network there and connect with

sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
sudo dhcpcd wlan0

everything works!

Can anybody help me?
Pls tell me which output u need so u can help me, i am new to all of this!


thx in advance!

Offline

#2 2011-11-18 10:37:00

koberkober
Member
Registered: 2011-11-18
Posts: 10

Re: Network manager problems

ok maybe i should write down what i did after installing:
these are my demons:
DAEMONS=(hwclock syslog-ng netfs crond dbus networkmanager gdm)

networkmanager.conf:
[main]
plugins=keyfile

then i created this file, cause i read it in the network section of the wiki:

/etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla

containing this:

[nm-applet]
Identity=unix-group:network
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
[Allow user philipp to create wireless connections for all users]
Identity=unix-user:philipp
Action=org.freedesktop.network-manager-settings.system.modify
ResultAny=no
ResultInactive=no
ResultActive=yes






hope this helps...

Offline

#3 2011-11-18 10:42:34

rozanbiology
Member
Registered: 2011-10-03
Posts: 10

Re: Network manager problems

Are you sure your network is up?
Try 

sudo ip link set wlan0 up

Is it a secured network you try to connect to? Then you might want to try something like netcfg.


Love, Peace, Unity and Open Source!

Offline

#4 2011-11-18 10:45:27

koberkober
Member
Registered: 2011-11-18
Posts: 10

Re: Network manager problems

yeah my network is up, everytime i try to connect via the GUI it says:

Sorry, this didnt work. Try again

what about netcfg? the network is secured via WPA

Offline

#5 2011-11-18 10:48:13

nuk
Member
Registered: 2011-04-10
Posts: 6

Re: Network manager problems

Can you run the GUI from a terminal and see if it pops any error messages?

Is your current user added in the "network" group?

Offline

#6 2011-11-18 10:52:57

koberkober
Member
Registered: 2011-11-18
Posts: 10

Re: Network manager problems

i need advice how to run it from a terminal AND how to check, if my user is in the network grp pls smile

Offline

#7 2011-11-18 11:05:29

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Network manager problems

everything you did and suggested doesn't have any relevance to the problem. your user doesn't have to be in any groups to work, that pkla file is not needed

look in /var/log/daemon.log


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-11-18 11:11:42

nuk
Member
Registered: 2011-04-10
Posts: 6

Re: Network manager problems

http://bit.ly/rsfOWO

https://wiki.archlinux.org/index.php/Us … management < a bit of reading material.

To run it from a terminal simply open a terminal window (alt + f2 , "xterm" or "gnome-terminal") of course and type "sudo NetworkManager" (notice the capital N and M)

Offline

#9 2011-11-18 11:23:00

koberkober
Member
Registered: 2011-11-18
Posts: 10

Re: Network manager problems

daemon.log:

Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmClient: disposing /org/gnome/SessionManager/Client2
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/Client2
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmManager: Client removed: /org/gnome/SessionManager/Client2
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmManager: last client disconnected - exiting
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmManager: ending phase EXIT
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): Unreffing manager
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmManager: disposing manager
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: Clearing object store
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: Unreffing object: 0x1a25870
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: Unreffing object: 0x1a25950
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App2
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App1
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: Clearing object store
Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: Clearing object store
Nov 18 11:02:17 localhost gdm-simple-slave[796]: WARNING: Child process 894 was already dead.

Nov 18 11:02:17 localhost gnome-session[894]: DEBUG(+): GsmStore: Clearing object store
Nov 18 11:02:17 localhost gdm-simple-slave[796]: WARNING: Child process 894 was already dead.
Nov 18 10:02:19 localhost rtkit-daemon[966]: Successfully made thread 1088 of process 1088 (/usr/bin/pulseaudio) owned by '1000' high priority at nic$
Nov 18 10:02:19 localhost rtkit-daemon[966]: Supervising 4 threads of 2 processes of 2 users.
Nov 18 11:02:19 localhost dbus[723]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper)
Nov 18 11:02:19 localhost dbus[723]: [system] Successfully activated service 'org.freedesktop.ColorManager'
Nov 18 10:02:20 localhost rtkit-daemon[966]: Successfully made thread 1121 of process 1121 (/usr/bin/pulseaudio) owned by '1000' high priority at nic$
Nov 18 10:02:20 localhost rtkit-daemon[966]: Supervising 5 threads of 3 processes of 2 users.
Nov 18 11:02:20 localhost dbus[723]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Nov 18 11:02:21 localhost dbus[723]: [system] Successfully activated service 'org.freedesktop.UDisks'
Nov 18 11:02:24 localhost goa[1155]: goa-daemon version 3.2.1 starting [main.c:112, main()]
Nov 18 11:02:51 localhost dbus[723]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out



these are the last few lines....

what do the mean? anything in there that indicates my problem? wonder, any idea?

Offline

#10 2011-11-18 11:25:22

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Network manager problems

i don't really need all file and those lines. The networkmanager lines are important in this problem, usually are latest in that file.

tail -n 50 /var/log/daemon.log


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2011-11-18 11:28:10

koberkober
Member
Registered: 2011-11-18
Posts: 10

Re: Network manager problems

ok it works now, just had to add my user to the networks group smile smile

thanks at all and especially NUK smile

Offline

#12 2011-11-18 11:28:34

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Network manager problems

koberkober wrote:

ok it works now, just had to add my user to the networks group smile smile

thanks at all and especially NUK smile

WHAT? Like i said, everything you did there is useless. just rm it and remove your user from the group. It works out of the box.

Last edited by wonder (2011-11-18 11:29:23)


Give what you have. To someone, it may be better than you dare to think.

Offline

#13 2011-11-18 11:39:55

nuk
Member
Registered: 2011-04-10
Posts: 6

Re: Network manager problems

No prob, I guess.

wonder wrote:

... Like i said, everything you did there is useless ...

It seems that his problem was fixed, how can "everything" he did be useless? Will it give him conflicts in the future?

Offline

#14 2011-11-18 12:21:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Network manager problems

nuk wrote:

No prob, I guess.

wonder wrote:

... Like i said, everything you did there is useless ...

It seems that his problem was fixed, how can "everything" he did be useless? Will it give him conflicts in the future?

is useless because everything he did made the problem appear in the first place because that pkla enforced the policy that only users from network group are allowed to use networkmanager, the second rule doesn't have any effect because org.freedesktop.network-manager-settings.system.modify doesn't exist and even if existed by default ALL connections are now system wide, unless is a vpn.


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB