PDA

View Full Version : wpa_supplicant e ndiswrapper


perspmk
08-03-2006, 16:20
Salve...
ho alcuni problemi a configurare correttamente wpa_supplicant con la mia scheda wireless che utilizzo mediante ndiswrapper (il driver e preso da win64 bit bcmwl5.inf o qualcosa del genere)....dovrei configurare wpa_supplicant per una rete con protocollo EAP...ho seguito delle istruzioni trovate qua e là ma niente che funzionasse o mi facesse comprendere bene come poter agire....

che se pò fà??? :confused: :confused:

perspmk
10-03-2006, 09:14
ho installato wpa_supplicant inserendo un file .config nella cartella del programma con le righe

CONFIG_DRIVER_NDISWRAPPER=y
CONFIG_CTRL_IFACE=y.

ho fatto il make...e sembra tutto ok.
ho configurato il file wpa_supplicant nel seguente modo:

ctrl_interface=/var/run/wpa_supplicant

network={
ssid="nomerete"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="username"
password="passwd"
ca_cert="/home/peppe/Documenti/cacert.crt"
}

dopo aver fatto
sudo ifconfig wlan0 192.168.x.x up
sudo wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -dd

mi da il seguente output:

Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' 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: 3 - start of a new network block
ssid - hexdump_ascii(len=15):
77 6e 2e 69 6e 67 2e 75 6e 69 63 74 2e 69 74 nomerete
key_mgmt: 0x8
Line 9: unknown EAP method 'PEAP'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
eap methods - hexdump(len=2): 00 00
Line 9: failed to parse eap 'PEAP'.
phase2 - hexdump_ascii(len=13):
61 75 74 68 3d 4d 53 43 48 41 50 56 32 auth=MSCHAPV2
identity - hexdump_ascii(len=8):
73 6e 34 30 31 38 35 30 username
password - hexdump_ascii(len=8): [REMOVED]
ca_cert - hexdump_ascii(len=32):
2f 68 6f 6d 65 2f 70 65 70 70 65 2f 44 6f 63 75 /home/peppe/Docu
6d 65 6e 74 69 2f 63 61 63 65 72 74 2e 63 72 74 menti/cacert.crt
Line 15: failed to parse network block.
Failed to read read or parse configuration '/etc/wpa_supplicant.conf'.
Failed to add interface wlan0
Cancelling scan request

non riesco a capire se il problema è di configurarazione del file oppure di installazione... :confused: :confused: