Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installieren des networkmanager
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
eBoy
Apprentice
Apprentice


Joined: 16 Jul 2006
Posts: 196

PostPosted: Thu Nov 16, 2006 5:28 pm    Post subject: Installieren des networkmanager Reply with quote

Ich stosse auf folgendes Problem...

Code:
checking for PANEL_APPLET... configure: error: Package requirements (libpanelapplet-2.0) were not met:

No package 'libpanelapplet-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PANEL_APPLET_CFLAGS
and PANEL_APPLET_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/networkmanager-0.6.4_pre20061028/work/NetworkManager/config.log

!!! ERROR: net-misc/networkmanager-0.6.4_pre20061028 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--with-gcrypt' '--disable-more-warnings' '--localstatedir=/var' '--with-distro=gentoo' '--with-dbus-sys=/etc/dbus-1/system.d' '--enable-notification-icon' '--with-gcrypt' '--disable-more-warnings' '--localstatedir=/var' '--with-distro=gentoo' '--with-dbus-sys=/etc/dbus-1/system.d' '--enable-notification-icon' '--with-gcrypt' '--disable-more-warnings' '--localstatedir=/var' '--with-distro=gentoo' '--with-dbus-sys=/etc/dbus-1/system.d' '--enable-notification-icon' '--disable-gtk-doc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Leider kann ich damit nichts anfangen... Das fehlende Paket lässt sich nicht finden...
Ich nutze KDE und kein Gnome (entsprechend use-flags auf "-gnome"...)
Alle Pakete sind aktuell.
Back to top
View user's profile Send private message
bladus
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 233

PostPosted: Thu Nov 16, 2006 5:33 pm    Post subject: Reply with quote

"libpanelapplet-2.0" hört sich sehr nach gnome-panel an
Back to top
View user's profile Send private message
eBoy
Apprentice
Apprentice


Joined: 16 Jul 2006
Posts: 196

PostPosted: Thu Nov 16, 2006 6:04 pm    Post subject: Reply with quote

Ja, kann gut sein. Habe auch irgendwo die Verbindung zu Gnome gelesen...
Aber wie bekomme ich das hin?

muss ich die "-gnome" use-flag entfernen oder ist das anders zu machen? Ich nutze ja eigentlich kein Gnome, sondern will das unter KDE zum laufen bekommen
Back to top
View user's profile Send private message
Jesterhead
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 75

PostPosted: Thu Nov 16, 2006 6:18 pm    Post subject: Reply with quote

Networkmanager hat ein Gnome-Fornend dabei, deswegen musst du erstmal ein paar gnome-pakete emergen (das Gnome-Frontend braucht man aber nicht zu benutzen, da es dafür ja knetworkmanager gibt).
Das Paket das vorher emerged werden muss ist: gnome-base/gnome-panel.
Am besten erstellst du einen Bugreport mit hinweis auf die fehlende Dependancy von networkmanager zu gnome-base/gnome-panel gleich mit ;)
Back to top
View user's profile Send private message
eBoy
Apprentice
Apprentice


Joined: 16 Jul 2006
Posts: 196

PostPosted: Thu Nov 16, 2006 6:37 pm    Post subject: Reply with quote

Also muss ich noc hdas genannte Paket emergen (gnome-base/gnome-panel)...

Bug-Report habe ich keine Ahung wie ich das wo was erstellen soll :?
Back to top
View user's profile Send private message
Jesterhead
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 75

PostPosted: Thu Nov 16, 2006 6:58 pm    Post subject: Reply with quote

bugzilla.gentoo.org

Networkmanager ist derzeit ja noch "experimentell", deswegen sind im Ebuild von networkmanager noch nicht alle benötigten Abhängigkeiten definiert.
Auch ne gute Anlaufstelle für Problemchen zu lösen ;)

Emerge mal zuerst gnome-panel, dann segen wir weiter.
Back to top
View user's profile Send private message
eBoy
Apprentice
Apprentice


Joined: 16 Jul 2006
Posts: 196

PostPosted: Thu Nov 16, 2006 9:29 pm    Post subject: Reply with quote

Habe das gemacht und IInstallation funktionierte fehlerfrei ;)

Jetzt muss ich nur nal sehen, wie der NetworkManager funktioniert und wie ich diesen Starte/ verwende usw ;)
Back to top
View user's profile Send private message
Jesterhead
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 75

PostPosted: Fri Nov 17, 2006 2:37 pm    Post subject: Reply with quote

Bislang läifts er bei mir Ohne Probleme, kann nur sein das du manuell ein paar Zugriffsrechte von D-Bus anpassen must, damit dein normaler User auch zugriff drauf hat, und nicht nur root.
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Nov 21, 2006 12:23 pm    Post subject: Reply with quote

Habt ihr keine Probleme mit den verschiedenen Dbus Versionen?
Habt ihr Knetworkmanager installiert?
Welches Overlay nutzt ihr?
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Nov 21, 2006 1:08 pm    Post subject: Reply with quote

Jesterhead wrote:
Bislang läifts er bei mir Ohne Probleme, kann nur sein das du manuell ein paar Zugriffsrechte von D-Bus anpassen must, damit dein normaler User auch zugriff drauf hat, und nicht nur root.


Sagst du mir, was du gemacht hast?
Bei mir wird immer gesagt, dass auf NetworkManagerInfo nicht zugegriffen werden darf.

Danke

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 134
Location: Germany

PostPosted: Tue Nov 21, 2006 1:47 pm    Post subject: Reply with quote

tipp: pam mit useflag pam_console mal probieren
Back to top
View user's profile Send private message
Jesterhead
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 75

PostPosted: Tue Nov 21, 2006 2:36 pm    Post subject: Reply with quote

lass die finger von pam_console ;)
einfacher gehts mit den zugriffsrechten ändern in /etc/dbus-1/system.d
Da ist definiert das nur root auf (k*)networkmanager zugreifen darf.
Ich hab da noch die gruppe "plugdev" reingebastelt.

Networkmanager.conf:

Code:

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
        <policy user="root">
                <allow own="org.freedesktop.NetworkManager"/>

                <allow send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>
      <policy group="plugdev">
                <allow own="org.freedesktop.NetworkManager"/>

                <allow send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>

        <policy at_console="true">
                <allow send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>
        <policy context="default">
                <deny own="org.freedesktop.NetworkManager"/>
                <deny send_destination="org.freedesktop.NetworkManager"/>
                <deny send_interface="org.freedesktop.NetworkManager"/>
        </policy>
</busconfig>


Ich kann aber nicht garantieren das das wirklich sauber ist^^

Pam_Console hat bei mir z.b. Device-Rechte diurcheinander gewirbelt, z.b. Audio-Devixes nur noch mit Root-Zugriff (im englischen Teil des Forums wird auch davon abgeraten das zu benutzen).

knetworkmanager.conf:
Quote:


<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.NetworkManagerInfo"/>

<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
<allow send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>
<policy group="plugdev">
<allow own="org.freedesktop.NetworkManagerInfo"/>

<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
<allow send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManagerInfo"/>

<deny send_destination="org.freedesktop.NetworkManagerInfo"/>
<deny send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>
</busconfig>
Back to top
View user's profile Send private message
leuenberger
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 147
Location: Zurich, ZH, Schweiz

PostPosted: Tue Nov 21, 2006 2:55 pm    Post subject: Reply with quote

Vielleicht hilft folgender Beitrag weiter:

https://forums.gentoo.org/viewtopic-t-455295.html
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Nov 21, 2006 2:56 pm    Post subject: Reply with quote

So. Hab meinen User mal hinzugefügt.

Nun sieht es so aus:

Code:
Nov 21 15:50:36 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Nov 21 15:50:36 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Nov 21 15:50:36 tobi-lap NetworkManager: <information>  Activation (eth0/wireless): access point 'NETGEAR' is encrypted, and a key exists.  No new key needed.
Nov 21 15:50:36 tobi-lap dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Nov 21 15:50:39 tobi-lap NetworkManager: <information>  Error opening supplicant global control interface.
Nov 21 15:50:39 tobi-lap NetworkManager: <WARNING>       real_act_stage2_config (): Activation (eth0/wireless): couldn't connect to the supplicant.
Nov 21 15:50:39 tobi-lap NetworkManager: <information>  Activation (eth0) failure scheduled...
Nov 21 15:50:39 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Nov 21 15:50:39 tobi-lap NetworkManager: <information>  Activation (eth0) failed for access point (NETGEAR)
Nov 21 15:50:39 tobi-lap NetworkManager: <information>  Activation (eth0) failed.
Nov 21 15:50:39 tobi-lap NetworkManager: <information>  Deactivating device eth0.
Nov 21 15:51:30 tobi-lap NetworkManager: <debug info>   [1164120690.097417] nm_device_802_11_wireless_get_activation_ap (): Forcing AP 'NETGEAR'
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  User Switch: /org/freedesktop/NetworkManager/Devices/eth0 / NETGEAR
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Deactivating device eth0.
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Device eth0 activation scheduled...
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0) started...
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Nov 21 15:51:30 tobi-lap NetworkManager: <information>  Activation (eth0/wireless): access point 'NETGEAR' is encrypted, and a key exists.  No new key needed.
Nov 21 15:51:30 tobi-lap dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Nov 21 15:51:32 tobi-lap NetworkManager: <information>  Error opening supplicant global control interface.
Nov 21 15:51:32 tobi-lap NetworkManager: <WARNING>       real_act_stage2_config (): Activation (eth0/wireless): couldn't connect to the supplicant.
Nov 21 15:51:32 tobi-lap NetworkManager: <information>  Activation (eth0) failure scheduled...
Nov 21 15:51:32 tobi-lap NetworkManager: <information>  Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Nov 21 15:51:32 tobi-lap NetworkManager: <information>  Activation (eth0) failed for access point (NETGEAR)
Nov 21 15:51:32 tobi-lap NetworkManager: <information>  Activation (eth0) failed.
Nov 21 15:51:32 tobi-lap NetworkManager: <information>  Deactivating device eth0.


Werde nachher mal mit meinem Bruder reden, der hat es unter Kubuntu geschafft. Evtl hab ich die Daten von unserem Wlan falsch in Erinnerung.

BTW: Wo kann man eigentlich die Daten für das Netzwerk (Schlüssel, Art) nachträglich verändern?

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Jesterhead
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 75

PostPosted: Tue Nov 21, 2006 3:32 pm    Post subject: Reply with quote

Quote:

ov 21 15:50:39 tobi-lap NetworkManager: <information> Error opening supplicant global control interface.
Nov 21 15:50:39 tobi-lap NetworkManager: <WARNING> real_act_stage2_config (): Activation (eth0/wireless): couldn't connect to the supplicant.


wpa_supplicant installiert?
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Nov 21, 2006 3:58 pm    Post subject: Reply with quote

Hmm. Soweit ich weiß, dachte, haben wir noch wep laufen.
Das war doch die "Erste" Methode? Die unsichere?

Ist aber schon installiert.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Nov 21, 2006 4:30 pm    Post subject: Reply with quote

So. Bei mir will er dauern DBUS in 1.x installieren. Das mögen die anderen Pakete gar nicht.

Wie habt ihr das gelöst?

Danke, Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Wed Nov 22, 2006 1:53 pm    Post subject: Reply with quote

Bei mir installiert das ebuild von KNetworkManager nur noch ein paar Man Dateien, aber nichts anderes.

Habt ihr das auch?

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Wed Nov 22, 2006 3:21 pm    Post subject: Reply with quote

Ok. Nun geht fast alles.
Mein gateway wird nicht richtig gesetzt.

Wenn ich manuell, nach dem Connecten an den AP, ein dhclient eth0 ausführe geht alles....

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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