Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] network-manager-applet for buildroot almost ready
@ 2013-02-21 14:41 Stefan Fröberg
  2013-02-21 15:43 ` Stephen Turner
  2013-02-21 16:21 ` Stefan Fröberg
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-21 14:41 UTC (permalink / raw)
  To: buildroot

Hello all!

I have network-manager-applet running and it appears into fluxbox system
tray but
it does not detect any networks.

When starting it from terminal it spits the following:

** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area

** (nm-applet:766): WARNING **: Failed to register as an agent: (32) No
session found for uid 0

Does that "No session found for uid 0" mean that there is something
wrong with dbus ????

Or is that error related to consolekit ?

I have it here running too (and soon will submit to buildroot)
Also running are NetworkManager and dbus.

I start fluxbox with normal startx command and I have just "exec
/usr/bin/startfluxbox" in my .xinitrc file.


Regards
Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] network-manager-applet for buildroot almost ready
  2013-02-21 14:41 [Buildroot] network-manager-applet for buildroot almost ready Stefan Fröberg
@ 2013-02-21 15:43 ` Stephen Turner
  2013-02-21 16:21 ` Stefan Fröberg
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Turner @ 2013-02-21 15:43 UTC (permalink / raw)
  To: buildroot

When i try using network manager It completely dissapears from the make
menu. if i do not have ipv6 support it has a place holder saying your
missing blah but if i include all dependencies its no longer available? a
bit different from the issue you guys are having but maybe its a bug then?
or is my issue user error? i was running with the latest git repository as
of yesterday.

On Thu, Feb 21, 2013 at 9:41 AM, Stefan Fr?berg <
stefan.froberg@petroprogram.com> wrote:

> Hello all!
>
> I have network-manager-applet running and it appears into fluxbox system
> tray but
> it does not detect any networks.
>
> When starting it from terminal it spits the following:
>
> ** Message: applet now removed from the notification area
> ** Message: applet now embedded in the notification area
>
> ** (nm-applet:766): WARNING **: Failed to register as an agent: (32) No
> session found for uid 0
>
> Does that "No session found for uid 0" mean that there is something
> wrong with dbus ????
>
> Or is that error related to consolekit ?
>
> I have it here running too (and soon will submit to buildroot)
> Also running are NetworkManager and dbus.
>
> I start fluxbox with normal startx command and I have just "exec
> /usr/bin/startfluxbox" in my .xinitrc file.
>
>
> Regards
> Stefan
>
>
>
>
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130221/77b8f66d/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] network-manager-applet for buildroot almost ready
  2013-02-21 14:41 [Buildroot] network-manager-applet for buildroot almost ready Stefan Fröberg
  2013-02-21 15:43 ` Stephen Turner
@ 2013-02-21 16:21 ` Stefan Fröberg
  2013-02-22 12:23   ` Stefan Fröberg
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-21 16:21 UTC (permalink / raw)
  To: buildroot

21.2.2013 16:41, Stefan Fr?berg kirjoitti:
> Hello all!
>
> I have network-manager-applet running and it appears into fluxbox system
> tray but
> it does not detect any networks.
>
> When starting it from terminal it spits the following:
>
> ** Message: applet now removed from the notification area
> ** Message: applet now embedded in the notification area
>
> ** (nm-applet:766): WARNING **: Failed to register as an agent: (32) No
> session found for uid 0
>
> Does that "No session found for uid 0" mean that there is something
> wrong with dbus ????
>
> Or is that error related to consolekit ?
>
> I have it here running too (and soon will submit to buildroot)
> Also running are NetworkManager and dbus.
>
> I start fluxbox with normal startx command and I have just "exec
> /usr/bin/startfluxbox" in my .xinitrc file.
>
>
> Regards
> Stefan
>
>

I added ConsoleKits ck-launch-session to my .xinitrc as instructed here
http://fluxbox-wiki.org/index.php?title=Start_fluxbox_from_the_command_line

Now it does not anymore nag about missing session.
However, still no networks detected and when I try to click and view
properties of nm-applet it spits this:

** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area

** (nm-applet:905): WARNING **: async_got_type: could not read
properties for /org/freedesktop/NetworkManager/ActiveConnection/10:
Method "Get" with signature "ss" on interface
"org.freedesktop.DBus.Properties" doesn't exist


** (nm-applet:905): WARNING **: async_got_type: could not read
properties for /org/freedesktop/NetworkManager/ActiveConnection/10:
Method "Get" with signature "ss" on interface
"org.freedesktop.DBus.Properties" doesn't exist


** (nm-applet:905): WARNING **: Connection activation failed: Creating
object for path '/org/freedesktop/NetworkManager/ActiveConnection/10'
failed in libnm-glib.

** (nm-applet:905): WARNING **: async_got_type: could not read
properties for /org/freedesktop/NetworkManager/ActiveConnection/10:
Method "Get" with signature "ss" on interface
"org.freedesktop.DBus.Properties" doesn't exist


So this is definetely either dbus or networkmanager (or both) problem

Regards
Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] network-manager-applet for buildroot almost ready
  2013-02-21 16:21 ` Stefan Fröberg
@ 2013-02-22 12:23   ` Stefan Fröberg
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Fröberg @ 2013-02-22 12:23 UTC (permalink / raw)
  To: buildroot

21.2.2013 18:21, Stefan Fr?berg kirjoitti:
> 21.2.2013 16:41, Stefan Fr?berg kirjoitti:
>> Hello all!
>>
>> I have network-manager-applet running and it appears into fluxbox system
>> tray but
>> it does not detect any networks.
>>
>> When starting it from terminal it spits the following:
>>
>> ** Message: applet now removed from the notification area
>> ** Message: applet now embedded in the notification area
>>
>> ** (nm-applet:766): WARNING **: Failed to register as an agent: (32) No
>> session found for uid 0
>>
>> Does that "No session found for uid 0" mean that there is something
>> wrong with dbus ????
>>
>> Or is that error related to consolekit ?
>>
>> I have it here running too (and soon will submit to buildroot)
>> Also running are NetworkManager and dbus.
>>
>> I start fluxbox with normal startx command and I have just "exec
>> /usr/bin/startfluxbox" in my .xinitrc file.
>>
>>
>> Regards
>> Stefan
>>
>>
> I added ConsoleKits ck-launch-session to my .xinitrc as instructed here
> http://fluxbox-wiki.org/index.php?title=Start_fluxbox_from_the_command_line
>
> Now it does not anymore nag about missing session.
> However, still no networks detected and when I try to click and view
> properties of nm-applet it spits this:
>
> ** Message: applet now removed from the notification area
> ** Message: applet now embedded in the notification area
>
> ** (nm-applet:905): WARNING **: async_got_type: could not read
> properties for /org/freedesktop/NetworkManager/ActiveConnection/10:
> Method "Get" with signature "ss" on interface
> "org.freedesktop.DBus.Properties" doesn't exist
>
>
> ** (nm-applet:905): WARNING **: async_got_type: could not read
> properties for /org/freedesktop/NetworkManager/ActiveConnection/10:
> Method "Get" with signature "ss" on interface
> "org.freedesktop.DBus.Properties" doesn't exist
>
>
> ** (nm-applet:905): WARNING **: Connection activation failed: Creating
> object for path '/org/freedesktop/NetworkManager/ActiveConnection/10'
> failed in libnm-glib.
>
> ** (nm-applet:905): WARNING **: async_got_type: could not read
> properties for /org/freedesktop/NetworkManager/ActiveConnection/10:
> Method "Get" with signature "ss" on interface
> "org.freedesktop.DBus.Properties" doesn't exist
>
>
> So this is definetely either dbus or networkmanager (or both) problem
>
> Regards
> Stefan
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

God dammit Im stupid! 
I was trying to use NetworkManger with busybox udhcpc .....

Fixed NetworkManger with adding dhcp as dependency and adding
--with-dhclient in configuration (and few other fixes).
Also fixed little bit dhcp package (added symlink to /usr/sbin/dhclient
-> /sbin/dhclient because that's
what NetworkManager seems to expect in it's configuration summary, just
before starting compiling)

Works like a charm now! :-)

Fowever, there is still left's unanswered questions:

-  Did NetworkManager package work for anyone before ?
Did you use just static IP or try DHCP and with what client & configuration?

- ConsoleKits's ck-list-session still spits "active=FALSE" and "is
local=FALSE" for Seat2. Where is Seat1 and why does it not show it ?
(doing ck-history --log shows that Seat1 had been created)
Adding CONFIG_AUDIT=y and CONFIG_SYSCALLAUDIT=y did nothing more than
add  login id number to ck-list-session output. Yay....

Regards
Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-22 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 14:41 [Buildroot] network-manager-applet for buildroot almost ready Stefan Fröberg
2013-02-21 15:43 ` Stephen Turner
2013-02-21 16:21 ` Stefan Fröberg
2013-02-22 12:23   ` Stefan Fröberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox