Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KNetworkManager with wpa_supplicant & KNM install [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu Apr 17, 2008 1:19 am    Post subject: KNetworkManager with wpa_supplicant & KNM install [SOLVE Reply with quote

Hi,

I've got wpa_supplicant working with my Intel 4965AGN wireless card, but I don't like the GUI app that goes with it. However, I do like KNetworkManager, but I have two problems with using it:

1) Is it possible to use KNetworkManager with wpa_supplicant, or are they not compatible? I saw that Kwlan can be used with wpa_supplicant, but I like KNetworkManager, and would like to use it if possible.

2) I've tried to install KNetworkManager, but Portage says that the package is masked. I've attempted to unmask it using http://gentoo-wiki.com/TIP_Dealing_with_masked_packages , but it's not working - I keep getting the message that the package is masked. I added KNetworkManager to both /etc/portage/package.keywords and /etc/portage/package.unmask with their respective syntaxes, and I still get the message. I know the documentation tends to be out of date - has something changed in Portage that I need to know to unmask this package?

Thanks!!


Last edited by srunni on Fri Apr 18, 2008 11:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
eric cuper
n00b
n00b


Joined: 16 Apr 2008
Posts: 3

PostPosted: Thu Apr 17, 2008 7:10 am    Post subject: Reply with quote

I use KNetworkManager with wpa_supplicant on my iwl4965 card, it works fine with wi-fi, i have some trouble with wired interface :)

unmask it and emerge

/etc/portage/package.keywords
kde-misc/knetworkmanager ~x86

it was a problem with libnl package - attempt to install 2 different versions when trying dev-libs/libnl ~x86, so i unmask
=dev-libs/libnl-1.0_pre6-r1 ~x86
and installed it
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Thu Apr 17, 2008 9:02 pm    Post subject: Reply with quote

OK, I added what you wrote to package.keywords and installed KNetworkManager. Now I'm getting this error when I run KNetworkManager.

Quote:
Connection to D-Bus system message bus failed:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory.


What should I do?
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Fri Apr 18, 2008 9:51 pm    Post subject: Reply with quote

So I tried installing KNetworkManager again using the guide at http://gentoo-wiki.com/NetworkManager and it successfully starts on boot now. Now, when I start KNetworkManager, I'm getting the tray applet, and I see my network, with info about it (speed, type of encryption, etc.). But when I click on the network to connect to it, nothing happens - it just sits there. Note that the wireless worked just fine when I was using the wpa_supplicant GUI. Does anyone know how to fix this, or at least how can I see the console output for KNetworkManager?

EDIT: I found the console output, it's in /var/log/messages , and it says the following:
Code:
Jun 30 00:13:52 bebop NetworkManager: <info>  Device wlan0 activation scheduled...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) started...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0/wireless): access point 'dd-wrt' is encrypted, but NO valid key exists.  New key needed.
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) New wireless user key requested for network 'dd-wrt'.
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Jun 30 00:13:52 bebop NetworkManager: <WARN>  nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error.   (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManagerInfo was not provided by any .service files
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) failure scheduled...
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) failed for access point (dd-wrt)
Jun 30 00:13:52 bebop NetworkManager: <info>  Activation (wlan0) failed.
Jun 30 00:13:52 bebop NetworkManager: <info>  Deactivating device wlan0.


I'm guessing the error is nm_dbus_get_user_key_for_network_cb() ?
How do I fix this?

EDIT: I fixed it - all I had to do was add myself to the plugdev group, so dbus could properly operate under my account.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum