nm-applet error:



Hello...,
     I'm new on NetworkManager. I try compiling and installing the NetworkManager and NM-applet on my embedded linux system. I try writing down more details what have done. Hope you can help me. The install steps is in below:

1. Because the target embedded linux system is not a newest one, I download the older revision NetworkManager and Applet source codes:
    svn co -r 2984 svn://svn.gnome.org/svn/NetworkManager/trunk NetworkManager
    svn co -r 263 svn://svn.gnome.org/svn/network-manager-applet/trunk network-manager-applet

2. Because the target embedded linux system lack some packages, the ./autogen.sh can't be run on the target system. I run the ./autogen.sh on my Fedora9 so that the "configure" script can be generated.

3. I copied the whole source codes which already have "configure" script into the the target embedded linux system.

4. Run "./configure" "make" "make install" for both NetworkManager and NM-applet on the target embedded linux system. In this step:
    a. When run "./configure" for NetworkManager, I met a "distro" problem. Because the target embedded linux system is similar with RedHat distribute, I run "./configure --with-distro=redhat" to resolve this 
        issue. "make" "make install" no error found.
    b. No error found when run "./configure" "make" "make install" for applet.

6. Then I add a symbol link in /etc/rc5.d for "NetworkManager" start/stop script so that the NetworkManager daemon can start when system up.

7. Reboot the system. Using "ps" to verify the NetworkManager daemon already start.

8. Run "nm-applet" command, I got below errors:

** (nm-applet:2212): WARNING **: No connections defined

** (nm-applet:2212): WARNING **: No networks found in the configuration database

** (nm-applet:2212): WARNING **: No connections defined

** (nm-applet:2212): WARNING **: No networks found in the configuration database

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

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

(nm-applet:2212): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
matchbox-keyboard: no process killed

It seems it is a dbus error. I use ps check, found:
"dbus-daemon --system" already start before the NetworkManager daemon.

How to fix this issue? Very Very appreciate if you experts can help me!!!






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]