[wicd] Could not connect to wicd's D-Bus

Applications, problèmes de configuration réseau
sh3llpanda
Hankyu
Messages : 11
Inscription : ven. 21 sept. 2012, 10:30

[wicd] Could not connect to wicd's D-Bus

Message par sh3llpanda »

Salut a tous, j ai quelques petites questions a propos de Wicd et d archlinux en general car je debute, je viens de Lubuntu et cette distribution m interesse beaucoup et a ce que je vois il y a une communautee importante.

Lorsque je lance wicd au demarrage grace au fichier rc.conf j ai ce probleme la
===>Could not connect to wicd's D-Bus interface. Check the wicd log for error messages<======.
Je ne suis pas un habitue du sysinit mais j ai plus l habitude de systemV.
Comme dit dans la doc j ai bien mis DBUs avant wicd, network demarait au demarrage alors j ai mis ! pour le stopper.

Deja dans un premier temps dbus est un systeme IPC qui permet la communication entre processus d apres ce que j ai pu lire????Je ne connais que Berkeley sockets mais connais pas vraiment le fonctionnement a part le fait d ouvrir des sockets pour pouvoir communiquer avec les processus, quel est la difference avec dbus, pourquoi est il utilise?


Voila mon rc.conf

Code : Tout sélectionner

# 
# /etc/rc.conf - configuration file for initscripts 
# 
# Most of rc.conf has been replaced by various other configuration 
# files. See archlinux(7) for details. 
# 
# For more details on rc.conf see rc.conf(5). 
# 

DAEMONS=( dbus slim syslog-ng crond wicd-gtk !network  ) 
MODULES=fglrx 
# Storage 
# 
# USEDMRAID="no" 
# USELVM="no" 

# Network 
# 
# interface= 
# address= 
# netmask= 
# gateway= 
KEYMAP=fr 
NETWORK_PERSIST="no" 
Voila mon fichier de log pour wicd

Code : Tout sélectionner

2012/09/21 09:53:02 :: --------------------------- 
2012/09/21 09:53:02 :: wicd initializing... 
2012/09/21 09:53:02 :: --------------------------- 
2012/09/21 09:53:02 :: wicd is version 1.7.2.4 768 
2012/09/21 09:53:02 :: did not find backend in configuration, setting default external 
2012/09/21 09:53:02 :: setting backend to external 
2012/09/21 09:53:02 :: trying to load backend external 
2012/09/21 09:53:02 :: successfully loaded backend external 
2012/09/21 09:53:02 :: trying to load backend external 
2012/09/21 09:53:02 :: successfully loaded backend external 
2012/09/21 09:53:02 :: Automatically detected wireless interface wlan0 
2012/09/21 09:53:02 :: did not find wireless_interface in configuration, setting default wlan0 
2012/09/21 09:53:02 :: setting wireless interface wlan0 
2012/09/21 09:53:02 :: automatically detected wired interface eth0 
2012/09/21 09:53:02 :: did not find wired_interface in configuration, setting default eth0 
2012/09/21 09:53:02 :: setting wired interface eth0 
2012/09/21 09:53:02 :: did not find wpa_driver in configuration, setting default wext 
2012/09/21 09:53:02 :: setting wpa driver wext 
2012/09/21 09:53:02 :: did not find always_show_wired_interface in configuration, setting default False 
2012/09/21 09:53:02 :: did not find use_global_dns in configuration, setting default False 
2012/09/21 09:53:02 :: setting use global dns to False 
2012/09/21 09:53:02 :: did not find global_dns_1 in configuration, setting default None 
2012/09/21 09:53:02 :: did not find global_dns_2 in configuration, setting default None 

2012/09/21 09:53:07 :: Autoconnecting... 
2012/09/21 09:53:09 :: No wired connection present, attempting to autoconnect to wireless network 
2012/09/21 09:53:11 :: Unable to autoconnect, you'll have to manually connect 
2012/09/21 09:53:12 :: Autoconnecting... 
2012/09/21 09:53:12 :: No wired connection present, attempting to autoconnect to wireless network 
2012/09/21 09:53:14 :: Unable to autoconnect, you'll have to manually connect 
2012/09/21 09:53:17 :: Autoconnecting... 
2012/09/21 09:53:17 :: No wired connection present, attempting to autoconnect to wireless network 
2012/09/21 09:53:19 :: Unable to autoconnect, you'll have to manually connect 
2012/09/21 09:53:35 :: trying to load backend external 
2012/09/21 09:53:35 :: trying to load backend ioctl 
2012/09/21 09:53:35 :: WARNING: python-iwscan not found, falling back to using iwlist scan. 
2012/09/21 09:53:35 :: WARNING: python-wpactrl not found, falling back to using wpa_cli. 
2012/09/21 09:54:33 :: setting use global dns to 0 
2012/09/21 09:54:33 :: setting global dns 
2012/09/21 09:54:33 :: global dns servers are 
2012/09/21 09:54:33 :: domain is 
2012/09/21 09:54:33 :: search domain is 
2012/09/21 09:54:33 :: setting wireless interface wlan0 
2012/09/21 09:54:33 :: setting wired interface eth0 
2012/09/21 09:54:33 :: setting wpa driver wext 
2012/09/21 09:54:33 :: setting automatically reconnect when connection drops 1 
2012/09/21 09:54:33 :: setting backend to external 
2012/09/21 09:54:33 :: Setting dhcp client to 0 
2012/09/21 09:55:08 :: Connecting to wireless network Freebox-delepaut 
2012/09/21 09:55:09 :: Putting interface down 
2012/09/21 09:55:09 :: Releasing DHCP leases... 
2012/09/21 09:55:09 :: Setting false IP... 
2012/09/21 09:55:09 :: Stopping wpa_supplicant 
2012/09/21 09:55:09 :: Flushing the routing table... 
2012/09/21 09:55:09 :: Putting interface up... 
2012/09/21 09:55:11 :: Generating psk... 
2012/09/21 09:55:11 :: Attempting to authenticate... 
2012/09/21 09:55:13 :: Running DHCP with hostname panda-pc 
2012/09/21 09:55:13 :: dhcpcd[951]: version 5.6.2 starting 
2012/09/21 09:55:13 :: 
2012/09/21 09:55:13 :: dhcpcd[951]: wlan0: sending IPv6 Router Solicitation 
2012/09/21 09:55:13 :: 
2012/09/21 09:55:13 :: dhcpcd[951]: wlan0: sendmsg: Cannot assign requested address 
2012/09/21 09:55:13 :: 
2012/09/21 09:55:13 :: dhcpcd[951]: wlan0: broadcasting for a lease 

2012/09/21 09:55:13 :: 
2012/09/21 09:55:13 :: dhcpcd[951]: wlan0: offered 192.168.1.25 from 192.168.1.254 
2012/09/21 09:55:13 :: 
2012/09/21 09:55:13 :: dhcpcd[951]: wlan0: acknowledged 192.168.1.25 from 192.168.1.254 
2012/09/21 09:55:13 :: 
2012/09/21 09:55:13 :: dhcpcd[951]: wlan0: checking for 192.168.1.25 
2012/09/21 09:55:13 :: 
2012/09/21 09:55:17 :: dhcpcd[951]: wlan0: sending IPv6 Router Solicitation 
2012/09/21 09:55:17 :: 
2012/09/21 09:55:18 :: dhcpcd[951]: wlan0: leased 192.168.1.25 for 43200 seconds 
2012/09/21 09:55:18 :: 
2012/09/21 09:55:18 :: dhcpcd[951]: forked to background, child pid 978 
2012/09/21 09:55:18 :: 
2012/09/21 09:55:18 :: 
2012/09/21 09:55:18 :: DHCP connection successful 
2012/09/21 09:55:18 :: not verifying 
2012/09/21 09:55:18 :: Connecting thread exiting. 
2012/09/21 09:55:19 :: Sending connection attempt result success 
2012/09/21 10:06:04 :: Daemon going down, killing wicd-monitor... 
2012/09/21 10:06:04 :: Removing PID file... 
2012/09/21 10:06:04 :: Shutting down... 
2012/09/21 10:06:04 :: Exception KeyError: KeyError(139851148093184,) in <module 'threading' from '/usr/lib/python2.7/threading.py'> ignored 

Merci pour votre aide :copain:
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: dbus probleme et wicd

Message par benjarobin »

Hum, ta ligne DAEMON est complètement fausse :D :copain:

Code : Tout sélectionner

DAEMONS=(syslog-ng dbus @crond wicd slim) 
Les éléments ont un ordre

De plus supprime la ligne MODULES=fglrx et créér plutôt un fichier dans /etc/modules-load.d/

Code : Tout sélectionner

echo "fglrx" > /etc/modules-load.d/fglrx.conf
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
sh3llpanda
Hankyu
Messages : 11
Inscription : ven. 21 sept. 2012, 10:30

Re: [wicd] Could not connect to wicd's D-Bus

Message par sh3llpanda »

arff, je ne savais pas l ordre etait important, merci!!!!, j ai change pour mon module, sinon peut tu me dire ce que apportes dbus?
et comment est possible de lancer thunar en root a par peut etre passe par un terminal :wink:
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wicd] Could not connect to wicd's D-Bus

Message par benjarobin »

Pour faire simple, dbus est le messager entre différentes applications (Il fait passer des messages/informations). Dans ton cas (wicd), l'application graphique (wicd-gtk) l'utilise pour communiquer avec le daemon lancé en root.

Point très important sous Linux: Aucune application graphique ne devrait être lancé en root, sauf en prenant des précautions bien précise (Lancé avec kdesu ou gksu, voir avec depuis une consolé connecté en roto avec cette commande : "su -", le tiret est très important)

En règle général si tu as besoin de lancer une application graphique en root c'est qu'il y a un soucis quelque part...
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
sh3llpanda
Hankyu
Messages : 11
Inscription : ven. 21 sept. 2012, 10:30

Re: [wicd] Could not connect to wicd's D-Bus

Message par sh3llpanda »

merci a toi pour t reponses rapides
sh3llpanda
Hankyu
Messages : 11
Inscription : ven. 21 sept. 2012, 10:30

Re: [wicd] Could not connect to wicd's D-Bus

Message par sh3llpanda »

salut j ai toujours un petit soucis, j ai lance wicd-gtk au demarrage sur mon interface graphique avec le gestionnaire de session xfce4 en graphique, il demarre bien, dans mon rc.conf j ai bien modifie comme tu me la dit mais je suis oblige de relance le demon wicd pour que mon interface graphique marche sinon wicd-gtk se connecte auto a mon reseau sans fil met done mais je n ai pas d adresse ip....

Code : Tout sélectionner

DAEMONS=( syslog-ng dbus @crond wicd slim )

Mes services se lancent bien pourtant (rc.d list).
Merci pour votre aides.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wicd] Could not connect to wicd's D-Bus

Message par benjarobin »

Comment tu sais que tu es connecté mais que tu n'as pas d'IP (Je veux dire par là qu'est ce que tu regardes) ? Que donne le log de Wicd aussi.
Une petite confirmation, quand tu lances wicd-gtk pour la première fois (ou s'il est déjà lancé) avec ton utilisateur, peux tu lister les connexions Wifi disponible ?
Si c'est le cas alors je crains que ce soit un bug de Wicd.
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
sh3llpanda
Hankyu
Messages : 11
Inscription : ven. 21 sept. 2012, 10:30

Re: [wicd] Could not connect to wicd's D-Bus

Message par sh3llpanda »

Oue c 'est bizarre desfois ca marche, j arrive a me connecter et desfois nan je ne sais pas trop pourquoi!!!!!
Voila le resultat du log wicd, j ai peut etre zape un truc ??
Mon demon wicd oki et l interface se lance en graphique avec utilisateur classique.

LA CA NE CE CONNECTE PAS
Ma carte wlan0 est up, je vois les autres reseaux mais je suis pas connecte (iwconfig).

Code : Tout sélectionner

2012/09/23 16:36:50 :: Connecting to wireless network ************
2012/09/23 16:36:51 :: Putting interface down
2012/09/23 16:36:51 :: Releasing DHCP leases...
2012/09/23 16:36:51 :: Setting false IP...
2012/09/23 16:36:51 :: Stopping wpa_supplicant
2012/09/23 16:36:51 :: Flushing the routing table...
2012/09/23 16:36:51 :: Putting interface up...
2012/09/23 16:36:53 :: Generating psk...
2012/09/23 16:36:53 :: Attempting to authenticate...
2012/09/23 16:36:54 :: Running DHCP with hostname panda-pc
2012/09/23 16:36:54 :: dhcpcd[3147]: version 5.6.2 starting
2012/09/23 16:36:54 ::
2012/09/23 16:36:54 :: dhcpcd[3147]: wlan0: sending IPv6 Router Solicitation
2012/09/23 16:36:54 ::
2012/09/23 16:36:54 :: dhcpcd[3147]: wlan0: sendmsg: Cannot assign requested address
2012/09/23 16:36:54 ::
2012/09/23 16:36:54 :: dhcpcd[3147]: wlan0: broadcasting for a lease
2012/09/23 16:36:54 ::
2012/09/23 16:36:54 :: dhcpcd[3147]: wlan0: offered 192.168.1.25 from 192.168.1.254
2012/09/23 16:36:54 ::
2012/09/23 16:36:54 :: dhcpcd[3147]: wlan0: acknowledged 192.168.1.25 from 192.168.1.254
2012/09/23 16:36:54 ::
2012/09/23 16:36:54 :: dhcpcd[3147]: wlan0: checking for 192.168.1.25
2012/09/23 16:36:54 ::
2012/09/23 16:36:58 :: dhcpcd[3147]: wlan0: sending IPv6 Router Solicitation
2012/09/23 16:36:58 ::
2012/09/23 16:36:58 :: dhcpcd[3147]: wlan0: Router Advertisement from fe80::f6ca:e5ff:fe57:4cdd
2012/09/23 16:36:58 ::
2012/09/23 16:36:58 :: dhcpcd[3147]: forked to background, child pid 3186
2012/09/23 16:36:58 ::
2012/09/23 16:36:58 ::
2012/09/23 16:36:58 :: DHCP connection successful
2012/09/23 16:36:58 :: not verifying
2012/09/23 16:36:58 :: Connecting thread exiting.
2012/09/23 16:36:59 :: Sending connection attempt result success
LA CA CONNECTE
Ma carte wlan0 est up, je vois les autres reseaux je suis connecte (iwconfig), ping ok

Code : Tout sélectionner

2012/09/23 16:37:36 :: Connecting to wireless network ************
2012/09/23 16:37:37 :: Putting interface down
2012/09/23 16:37:37 :: Releasing DHCP leases...
2012/09/23 16:37:37 :: Setting false IP...
2012/09/23 16:37:38 :: Stopping wpa_supplicant
2012/09/23 16:37:38 :: Flushing the routing table...
2012/09/23 16:37:38 :: Putting interface up...
2012/09/23 16:37:40 :: Generating psk...
2012/09/23 16:37:40 :: Attempting to authenticate...
2012/09/23 16:37:41 :: Running DHCP with hostname panda-pc
2012/09/23 16:37:41 :: dhcpcd[3298]: version 5.6.2 starting
2012/09/23 16:37:41 ::
2012/09/23 16:37:41 :: dhcpcd[3298]: wlan0: sending IPv6 Router Solicitation
2012/09/23 16:37:41 ::
2012/09/23 16:37:41 :: dhcpcd[3298]: wlan0: sendmsg: Cannot assign requested address
2012/09/23 16:37:41 ::
2012/09/23 16:37:41 :: dhcpcd[3298]: wlan0: broadcasting for a lease
2012/09/23 16:37:41 ::
2012/09/23 16:37:41 :: dhcpcd[3298]: wlan0: offered 192.168.1.25 from 192.168.1.254
2012/09/23 16:37:41 ::
2012/09/23 16:37:41 :: dhcpcd[3298]: wlan0: acknowledged 192.168.1.25 from 192.168.1.254
2012/09/23 16:37:41 ::
2012/09/23 16:37:41 :: dhcpcd[3298]: wlan0: checking for 192.168.1.25
2012/09/23 16:37:41 ::
2012/09/23 16:37:45 :: dhcpcd[3298]: wlan0: sending IPv6 Router Solicitation
2012/09/23 16:37:45 ::
2012/09/23 16:37:45 :: dhcpcd[3298]: wlan0: leased 192.168.1.25 for 43200 seconds
2012/09/23 16:37:45 ::
2012/09/23 16:37:45 :: dhcpcd[3298]: forked to background, child pid 3338
2012/09/23 16:37:45 ::
2012/09/23 16:37:45 ::
2012/09/23 16:37:45 :: DHCP connection successful
2012/09/23 16:37:45 :: not verifying
2012/09/23 16:37:45 :: Connecting thread exiting.
2012/09/23 16:37:46 :: Sending connection attempt result success
Répondre