Vous n'êtes pas identifié.
Topic (non résolu) contrôlé le 17.08.2006 par calimarno.
bonjour tout le monde,
Est-ce que qqn pourrait me dire si on peut configurer facilement sous mandriva 2006 la fonction WPA-PSK TKIP sans 30'000 lignes de commandes s.v.p ?
Est-ce que desfois wpa_supplicant est installer directement ?
En attendant une réponse de votre part je vous souhaite une bonne après-midi et @+
NiGhTrIpE
Hors ligne
bonsoir
quand j'ai installé le driver de ma carte wifi sous mandriva 2006,le wpa_supplicant est installé automatiquement
mais ma connexion ne marche pas pour autant
Hors ligne
Salut,
Je compte bientôt mettre en place un serveur Radius (Freeradius) avec authentification compte Unix et mettre tout mon Wifi en WPA+TKIP. Si jamais je fini mes tests je vous met le tuto à disposition.
Hors ligne
ça sera avec plaisir
mon routeur accepte ce mode mais je n'y connais rien
Merci
Hors ligne
J'ai trouvé un soucis avec wpa_supplicant et le module ipw2200.
Tout d'abord, j'utilise la version "git-1.0.8" de ipw2200 et "0.4.7-0ubuntu3" de wpasupplicant.
Mon fichier de config /etc/wpa_supplicant ressemble à:
# Minimal /etc/wpa_supplicant.conf to associate with open
# access points. Please see
# /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
# configuration parameters.
ctrl_interface=/var/run/wpa_supplicant
#ctrl_interface_group=0
#eapol_version=1
#ap_scan=1
#fast_reauth=1
### Associate with any open access point
### Scans/ESSID changes can be done with wpa_cli
network={
ssid="mon_essid"
bssid=00:90:4b:c7:7d:09
scan_ssid=0
psk="ma_clé"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
}
L'erreur que j'ai quand je lance la commande " wpa_supplicant -i eth1 -D ipw -c /etc/wpa_supplicant.conf -dd ":
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 15 - start of a new network block
ssid - hexdump_ascii(len=10):
59 6e 73 61 62 6c 61 6e 63 61 mon_essid
BSSID - hexdump(len=6): 00 90 4b c7 7d 09
scan_ssid=0 (0x0)
PSK (ASCII passphrase) - hexdump_ascii(len=29): [REMOVED]
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
group: 0x8
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='mon_essid'
Initializing interface (2) 'eth1'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_init is called
SIOCGIWRANGE: WE(compiled)=19 WE(source)=16 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:12:f0:76:ac:60
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 255 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:90:4b:c7:7d:09 ssid='<hidden>' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 256 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:90:4b:c7:7d:09 ssid='<hidden>' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_set_wpa: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=0
wpa_driver_ipw_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
Cancelling scan request
L'un de vous à une idée pour ce prob?
Hors ligne
C'est déjà le cas d'après la config que j'ai:
23:58 waver@Mars ~% cat /etc/modprobe.d/ipw2200 options ipw2200 hwcrypto=0
Hors ligne
De mon coté mon wpa fonctionne de nouveau.
Actuellement je suis sous Ubuntu Dapper avec une version de noyau 2.6.15-12-686:
ii linux-headers-2.6.15-12 2.6.15-12.17 Header files related to Linux kernel version
ii linux-headers-2.6.15-12-686 2.6.15-12.17 Linux kernel headers 2.6.15 on PPro/Celeron/
ii linux-image-2.6.15-12-686 2.6.15-12.17 Linux kernel image for version 2.6.15 on PPr
ii linux-restricted-modules-2.6.15-12-686 2.6.15.4-2 Non-free Linux 2.6.15 modules on PPro/Celero
ii wpasupplicant 0.4.7-0ubuntu3 Client support for WPA and WPA2 (IEEE 802.11i)
~% cat /sys/module/ipw2200/version
1.0.9
Mon fichier /etc/wpa_supplicant.conf ressemble à:
# Minimal /etc/wpa_supplicant.conf to associate with open # access points. Please see # /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete # configuration parameters. ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 #eapol_version=1 ap_scan=1 fast_reauth=1 ### Associate with any open access point ### Scans/ESSID changes can be done with wpa_cli network={ ssid="Bienne" bssid=00:90:8b:c7:5d:16 scan_ssid=1 psk= auth_alg=OPEN key_mgmt=WPA-PSK # psk="swisslinux.orgceciestuntest" psk=cafe7287301caa7f8f9e849f974033ea5c30739c7b738d36b5ab7ac6ad6d3d0f # proto=WPA2 # pairwise=CCMP # TKIP # group=CCMP #TKIP priority=2 }
le psk a été calculé via la commande:
wpa_passphrase Bienne swisslinux.orgceciestuntest
J'ai du utiliser wext au lieu ipw sinon sa marche pas, mon fichier /etc/default/wpasupplicant:
ENABLED=1 OPTIONS="-i eth1 -D wext -c /etc/wpa_supplicant.conf"
Voila juste pour dire que le bug du wpa a été corrigé sous Dapper.
Hors ligne