COnfiguration WPA

Fermé
Robert - 5 mars 2008 à 23:53
 __m - 17 mai 2008 à 19:17
Bonjour,
Actuellement j'utilise Wicd pour me connecter en WiFi, ça me va très bien, mais le problème est qu'en ce moment je fait pas mal de manip en interface graphique, et je n'ai pas accès à Wicd. J'ai donc regarder du côté de wpa_supplicant mais ce n'est pas bon ça marche pas.

Voilà mon wpa_supplicant.conf :
ctrl_interface=/var/run/wpa_supplicant

ap_scan=1

network={
ssid="WiFi "
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk="tout smouales etaient le"
priority=5
}

Sous Wicd j'avais aussi un petit problème, mon dhcp merdait et il n'arrivait pas à m'attribuer d'ip, j'avais donc recours à l'ip static (quelques case à remplir en plus). Pour bénéficier de ça en console j'ai modifié /etc/network/interfaces comme suit :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

#
auto ath0
iface ath0 inet static
adress 192.168.2.8
netmask 255.255.255.0
gateway 192.168.2.1

Ensuite je lance le tout :
wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf -Dwext
et lui me repond :

Trying to associate with 00:11:50:58:33:e0 (SSID='WiFi ' freq=2462 MHz)
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Associated with 00:11:50:58:33:e0
WPA: Key negotiation completed with 00:11:50:58:33:e0 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:11:50:58:33:e0 completed (auth) [id=0 id_str=]

Je ne comprends pas trop pourquoi pourquoi il me parle de auth, enfin bon c'est pas grave ça a l'air de marche, mais non aucune page Web ne fonctionne

Merci d'avance

3 réponses

Up ?
0
Up ????
0
dhclient ath0

=)
0