dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

network-manager-gnome & wicd

<< < (3/5) > >>

sm8ps:
@juanito: I do not think so. AFAIK it merely provides the nm-applet.

Re-starting my account here!
Initial state: no wireless extension loaded, no Ethernet cable connected.

* import and load network-manager and network-manager-gnome
* ''sudo mkdir /etc/NetworkManager/system-connections/''
* ''sudo NetworkManager &'' (spits out warning (1), s.b., that seems to be harmless; no errors in the log-file, so it seems that NetworkManager is running
* ''sudo /usr/local/postinst/libglib2.0-0 trigger'' (to prevent a GLib-GIO-ERROR in the next step)
* ''sudo nm-applet &'' (spits out warnings (2); many possible causes but somehow my user seems to be tied to it)
* upon connecting an Ethernet cable, there are multiple warnings about missing icons plus a repetition of the previous warnings
I was about to state the all the while the NetworkManager-Applet is visible but not functional; it shows a "wrong direction" traffic sign. Upon closer inspection I found out that it IS functional, indeed. It had not been before but by following the above steps I do get a fully functional NetworkManager for wired connections!

Celebration time!  :) I shall continue investigating about wireless connections with it.

Warning (1): NetworkManager

--- Code: ---(NetworkManager:8410): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Key file does not have group 'connectivity'

--- End code ---

Warnings (2): nm-applet

--- Code: ---** (nm-applet:8444): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(nm-applet:8444): nm-applet-WARNING **: Icon nm-no-connection missing: (0) Icon 'nm-no-connection' not present in theme

(nm-applet:8444): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(nm-applet:8444): nm-applet-WARNING **: Failed to register as an agent: (32) Session not found

(nm-applet:8444): nm-applet-WARNING **: Failed to register as an agent: (32) Session not found

(nm-applet:8444): nm-applet-WARNING **: Icon nm-no-connection missing: (0) Icon 'nm-no-connection' not present in theme

(nm-applet:8444): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
nm-applet-Message: using fallback from indicator to GtkStatusIcon

(nm-applet:8444): nm-applet-WARNING **: Icon nm-no-connection missing: (0) Icon 'nm-no-connection' not present in theme

(nm-applet:8444): libnotify-WARNING **: Failed to connect to proxy

(nm-applet:8444): nm-applet-WARNING **: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

** (nm-applet:8444): WARNING **: Could not create object for /org/freedesktop/NetworkManager/Settings/0: No session found for uid 1000 (unknown)

** (nm-applet:8444): WARNING **: Could not create object for /org/freedesktop/NetworkManager/Settings/0: No session found for uid 1000 (unknown)

--- End code ---

sm8ps:

--- Quote from: jls_legalize on July 27, 2015, 10:24:12 AM ---
--- Quote from: Juanito on July 27, 2015, 10:08:40 AM ---doesn't network-manager-gnome need the whole gnome environment loaded in order to work?

--- End quote ---
no. It is used for example in bodhi linux which uses e and not gnome. I use connman in dcore trusty via the e connection manager module

--- End quote ---
This sounds like you are using Enlightenment desktop, right? Do you have any experience with Connman on Openbox (&LXDE)?

sm8ps:
Making wireless connections available through NM is easy. After loading the wireless extension it had picked them up instantly. I can selectively en-/disable wifi etc.

There is one major road block, though: upon selecting my network I should enter a WPA-key. However the nm-applet complains about a missing service:

--- Code: ---** Message: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files

--- End code ---

I see the following issues:

* Missing Dbus-service org.freedesktop.secrets
* Missing Dbus-services org.a11y.Bus and org.freedesktop.Notifications
* Missing iconsThe latter two seem minor at this point; the first one is a quite a biggie.

Alternatively, one could of course configure the wireless network connections manually. Indeed, after selecting my WLAN, a corresponding file was created under '/etc/NetworkManager/system-connections/' which contains everything but the WPA-key. It seems to be a matter of adding a line "psk=<KEY>" to the section [802-11-wireless-security]. Yet I would prefer an integrated solution.

I have no experience with Dbus-services. Can anybody please help?

sm8ps:
Trivial!  8)
Had to add gnome-keyring to it and everything is working just fine. I even got some icons now showing the signal strength. So that seems to have taken care of the issue about missing icons.

Next step is how to automate this process and how to make it persistent.

Jason W:
Thanks sm8ps, I will look into what I can do on my end to make this just work.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version