You are not logged in.
Pages: 1
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
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
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
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
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
i need advice how to run it from a terminal AND how to check, if my user is in the network grp pls ![]()
Offline
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
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
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
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
ok it works now, just had to add my user to the networks group
![]()
thanks at all and especially NUK ![]()
Offline
ok it works now, just had to add my user to the networks group
![]()
thanks at all and especially NUK
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
No prob, I guess.
... 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
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
Pages: 1