Wicd et ping impossible

[quote=“fran.b”]Je sèche, je vais essayé de voir où on peut récupérer les paraméètres de wpa_supplicant utilisés par wicd.

PS: Pour les liens sur mon site, j’ai remis des liens corrects.

Edit: Je sais, tu vas dans /var/lib/wicd/configurations/ et tu regardes le fichier crée par wicd. Tu auras les paramètres dedans.[/quote]

Super.

Donc, je récupère ce que contient ce fichu fichier et je le place dans mon wpa_supplicant.conf ce qui me donne :

ap_scan=1 ctrl_interface=/var/run/wpa_supplicant network={ ssid="NUMERICABLE-5D36" scan_ssid=0 proto=WPA RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk=keyxx }

mon fichier interfaces n’a pas bougé :

[code]auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.0.9
netmask 255.225.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

iface eth1 inet static
address 192.168.1.25
netmask 255.255.255.0
broadcast 192.168.1.255
wpa-conf managed
wpa-scan-ssid 1
wpa-ssid NUMERICABLE-5D36
wpa-key-mgmt WPA-PSK
wpa-psk keyxx[/code]

Je tape les commandes après avoir quitté wicd :

ifconfig eth1 up iwconfig eth1 essid NUMERICABLE-5D36 wpa_supplicant -Dwext -ieth1 -c chemin_vers_ton_fichier/wpa_supplicant.conf -d

et la commande wpa_supplicant retourne :

ioctl[SIOCSIWAP]: Device or resource busy
^Croot@nat-debian:~# cat /home/nathan/Desktop/out
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ap_scan=1
ctrl_interface='/var/run/wpa_supplicant'
Priority group 0
   id=0 ssid='NUMERICABLE-5D36'
Initializing interface (2) 'eth1'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=19 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:21:00:62:6e:14
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 743 bytes of scan results (4 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:1e:8c:4c:2a:4d ssid='NUMERICABLE-5D36' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   selected based on RSN IE
   selected WPA AP 00:1e:8c:4c:2a:4d ssid='NUMERICABLE-5D36'
Try to find non-WPA AP
Trying to associate with 00:1e:8c:4c:2a:4d (SSID='NUMERICABLE-5D36' freq=2437 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: not using MGMT group cipher
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_psk
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b1a len=24
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:1e:00:00:2a:4d
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:1e:8c:4c:2a:4d
No keys have been configured - skip key clearing
Associated with 00:1e:8c:4c:2a:4d
WPA: Association event - clear replay counter
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RX EAPOL from 00:1e:8c:4c:2a:4d
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=2 type=3 length=95
  EAPOL-Key type=2
  key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
  key_length=16 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): 81 29 66 bd 8c c4 fd 2d 2e 8d 9d 62 29 d2 e9 16 06 88 88 7d 13 1e e7 47 be 96 70 7f 9b 69 53 34
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:1e:8c:4c:2a:4d (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): 7d 8b 0f ce 30 e6 d2 2c f4 fb a8 c7 30 53 1e ec cb fd aa 95 d3 f2 55 7d 85 65 ba 3e c7 d0 de 40
WPA: PTK derivation - A1=00:21:00:62:6e:14 A2=00:1e:8c:4c:2a:4d
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:1e:8c:4c:2a:4d
IEEE 802.1X RX: version=2 type=3 length=151
  EAPOL-Key type=2
  key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
  key_length=16 key_data_length=56
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
  key_nonce - hexdump(len=32): 81 29 66 bd 8c c4 fd 2d 2e 8d 9d 62 29 d2 e9 16 06 88 88 7d 13 1e e7 47 be 96 70 7f 9b 69 53 34
  key_iv - hexdump(len=16): 06 88 88 7d 13 1e e7 47 be 96 70 7f 9b 69 53 35
  key_rsc - hexdump(len=8): 9d 93 01 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 24 b2 c5 b5 99 6f a4 88 0c 45 5d ed 00 0f cf fb
RSN: encrypted key data - hexdump(len=56): b8 cb f2 64 35 33 c8 84 73 e5 3d b8 8d 30 f6 a9 df 7c 91 59 57 b9 16 13 61 ba 4b 47 75 e0 34 d1 48 fd 78 c0 66 2f dc 9e 99 fa 4c 29 9b 53 97 c2 ad a6 e6 ce d8 b1 6c 68
WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:1e:8c:4c:2a:4d (ver=2)
WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 dd 16 00 0f ac 01 01 00 5f 25 7b d8 55 cf 9c 1f dd ca 31 21 4b 56 b5 00 dd 00
WPA: Sending EAPOL-Key 4/4
WPA: Installing PTK to the driver.
wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16
EAPOL: External notification - portValid=1
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
WPA: Group Key - hexdump(len=16): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16).
WPA: RSC - hexdump(len=6): 9d 93 01 00 00 00
wpa_driver_wext_set_key: alg=3 key_idx=1 set_tx=0 seq_len=6 key_len=16
WPA: Key negotiation completed with 00:1e:8c:4c:2a:4d [PTK=CCMP GTK=CCMP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:1e:8c:4c:2a:4d completed (auth) [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
WEXT: Operstate: linkmode=-1, operstate=6
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed successfully
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8c03 len=20
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8c02 len=26
EAPOL: startWhen --> 0
EAPOL: disable timer tick
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_deauthenticate
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6

et bien entendu je n’ai pas accès au net sans wicd.

ifconfig -a :

[code]eth0 Link encap:Ethernet HWaddr 00:1e:68:f2:f7:00
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interruption:215 Adresse de base:0x2000

eth1 Link encap:Ethernet HWaddr 00:21:00:62:6e:14
inet adr:192.168.0.11 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::221:ff:fe62:6e14/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16726 errors:0 dropped:0 overruns:0 frame:259
TX packets:12284 errors:141 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:20201507 (19.2 MiB) TX bytes:1497275 (1.4 MiB)
Interruption:16

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:H�te
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:61 errors:0 dropped:0 overruns:0 frame:0
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3800 (3.7 KiB) TX bytes:3800 (3.7 KiB)[/code]

C’est coton tout de même :smiley:

Tu étais connecté et la connexion était active (jusqu’à ce que tu fasses le Ctrl-C), donc là le wpa_supplicant fonctionne.

Donc la section dans ton fichier interfaces serait

[code]allow-hotplug eth1
iface eth1 inet static
pre-up iwconfig eth1 essid NUMERICABLE-5D36
pre-up wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf &

met bien le chemin vers ton wpa_supplicant

address 192.168.1.25
netmask 255.255.255.0
broadcast 192.168.1.255

post-down pkill -TERM wpa_supplicant
[/code]

mais au fait pourquoi tiens tu à l’avoir en statique, le DHCP ne fonctionne pas?

Si c’est avec le DHCP ce serait

[code]allow-hotplug eth1
iface eth1 inet dhcp
pre-up iwconfig eth1 essid NUMERICABLE-5D36
pre-up wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf &

met bien le chemin vers ton wpa_supplicant

post-down pkill -TERM wpa_supplicant
[/code]

essaye d’abord avec ça et regaqrde l’IP qu’il te donne.

Bonjour
Ayant eu le même problème avec wicd (qui pourtant fonctionne bien sous Zenwalk 6.2) j’ai eu la réponse en suiant ce tuto :
commentcamarche.net/faq/1121 … sous-linux
Dans la barre de Gnome j’ai juste le moniteur réseau qui me permet d’activer ou de désactiver eth0 ou wlan0 mais on peut aussi le faire à la main
#ifconfig wlan0 up && dhclient wlan0
Dommage car wicd c’est beau !

Yves: son problème n’est pas que wicd ne marche pas, c’est qu’il voudrait avoir 2 cartes réseaux actives en même temps, c’est tout.

Voilà donc mon fichier interfaces, je suis pas sur de moi je dois dire :

[code]# This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.0.9
netmask 255.225.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

allow-hotplug eth1
iface eth1 inet dhcp
pre-up iwconfig eth1 essid NUMERICABLE-5D36
pre-up wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf &
post-down pkill -TERM wpa_supplicant
[/code]

mais quand je redémarre le deamon réseau, mon voyant wifi passe au rouge et donc… plus de wifi quoi.

EDIT : d’un autre coté :

ça peut venir de la.

EDIT² : j’ai cherché à installer les programmes allow-hotplug et pre-up mais… ce sont des commandes disponibles dans un certain paquet?

Up.

Non, ce sont des paramètres du fichier interfaces (man interfaces). Bon, continuons calmement.
Tu as dobnc récupéré le fichier de wicd et tu l’as mis dans /etc/wpa/wpa_supplicant.conf.

On continue donc avec

ifdown eth1 ifconfig eth1 up iwconfig eth1 essid NUMERICABLE-5D36 wpa_supplicant -Dwext -ieth1 -c chemin_vers_ton_fichier/wpa_supplicant.conf -d

tu attend que ça s’arrête et tu essayes à coté

Que donne ifconfig avant et après tout ça?

Bon, je commence par me déconnecter du réseau (en passant par wicd) :

ifdown eth1 retourne :

j’ignore et je passe à la suite :

la commande wpa_supplican ne se finie jamais et rester bloquée à :

et quand je me reconnecte avec wicd, la commande ce termine en retournant :

Ignore event for foreign ifindex 2 Ignore event for foreign ifindex 2 RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP]) Wireless event: cmd=0x8c02 len=27 RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP]) Wireless event: cmd=0x8b15 len=20 Wireless event: new AP: 00:00:00:00:00:00 Setting scan request: 0 sec 100000 usec Added BSSID 00:1e:8c:4c:2a:4d into blacklist CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 State: COMPLETED -> DISCONNECTED wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 EAPOL: External notification - portEnabled=0 EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: SUPP_BE entering state INITIALIZE EAPOL: External notification - portValid=0 EAPOL: External notification - EAP success=0 RTM_NEWLINK: operstate=0 ifi_flags=0x1002 () RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added l2_packet_receive - recvfrom: Network is down RX ctrl_iface - hexdump_ascii(len=9): 54 45 52 4d 49 4e 41 54 45 TERMINATE Removing interface eth1 State: DISCONNECTED -> DISCONNECTED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 No keys have been configured - skip key clearing EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wpa_driver_wext_set_wpa wpa_driver_wext_set_drop_unencrypted wpa_driver_wext_set_countermeasures No keys have been configured - skip key clearing Removed BSSID 00:1e:8c:4c:2a:4d from blacklist (clear) Cancelling scan request Cancelling authentication timeout WEXT: Operstate: linkmode=0, operstate=6

Bon, en parallèle à wpa_supplicant (qui reste bloquée) je lance dans un autre shell :

[code]Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:21:00:62:6e:14
Sending on LPF/eth1/00:21:00:62:6e:14
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.11 – renewal in 1410 seconds.[/code]

et voilà le ifconfig :

[code]eth0 Link encap:Ethernet HWaddr 00:1e:68:f2:f7:00
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interruption:215 Adresse de base:0x2000

eth1 Link encap:Ethernet HWaddr 00:21:00:62:6e:14
inet adr:192.168.0.11 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::221:ff:fe62:6e14/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60470 errors:0 dropped:0 overruns:0 frame:743
TX packets:35899 errors:122 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:83360354 (79.4 MiB) TX bytes:3061719 (2.9 MiB)
Interruption:16

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:71 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:4492 (4.3 KiB) TX bytes:4492 (4.3 KiB)
[/code]

EDIT : je viens de me rendre compte que la commande dhlcient faisait passé mon wicd de l’état connecté à déconnecté Oo, c’est normal?

Je t’ai dit de faire le dhclient dans un autre console. Il est normal que le wpa_supplicant reste bloqué. SI le dhclient fonctionne après le wpa_supplicant, c’est que ça marche. Le seul souci est l’interférence avec wicd. Il faut arrêter wicd ou du moins déconnecter l’interface avant de faire les commandes.

Bon bah ça fonctionne (à première vue). Une dernière petite question : pourquoi est ce que eth0 n’apparait pas quand je lance ifconfig?

[code]eth1 Link encap:Ethernet HWaddr 00:21:00:62:6e:14
inet adr:192.168.0.11 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::221:ff:fe62:6e14/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10682 errors:0 dropped:0 overruns:0 frame:3458
TX packets:9354 errors:10 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:10214723 (9.7 MiB) TX bytes:1461638 (1.3 MiB)
Interruption:16

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3528 errors:0 dropped:0 overruns:0 frame:0
TX packets:3528 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:177604 (173.4 KiB) TX bytes:177604 (173.4 KiB)[/code]

Pourtant, d’après mon fichier interfaces, ça devrait être le cas.

parce que ton interface eth0 est sur le même réseau 192.168.0.0/24, il faut la mettre sur un autre réseau.