salut,
mon wifi marche !
la je suis connecté en WIFI...
Ndiswrapper + wpa_supplcant avec une carte integré broadcom qui s'adresse à un routeur Neatgear WGT624 derriere une box (freebox pour être précis).
ça a l'air d'être stable.
pour l'instant je suis en wpa_psk
mon souci venait du fait que je suis sur un portable et qu'il faut parvenir à activer la led du wifi.
voci ce que donne la commande wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -dd
quand ça marche :
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'
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=13):
4e 6f 69 72 56 6f 69 72 39 33 31 30 30 mon_ssid
proto: 0x1
pairwise: 0x8
group: 0x8
key_mgmt: 0x2
scan_ssid=1 (0x1)
PSK (ASCII passphrase) - hexdump_ascii(len=40): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='mon_ssid'
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:0e:9b:b9:57:84
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
Setting scan request: 0 sec 100000 usec
Added interface wlan0
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'mon_ssid'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: Failed to parse WPA IE from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 5 sec 0 usec
Wireless event: cmd=0x8c07 len=89
AssocReq IE wireless event - hexdump(len=73): 00 0d 4e 6f 69 72 56 6f 69 72 39 33 31 30 30 01 08 82 84 8b 96 24 b0 48 6c 32 04 8c 12 98 60 dd 06 00 40 96 01 01 00 dd 06 00 10 18 02 00 00 dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
Wireless event: cmd=0x8c08 len=32
AssocResp IE wireless event - hexdump(len=16): 01 08 82 84 8b 96 8c 98 b0 48 32 04 12 24 60 6c
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: 00:0f:b5:e4:3e:0c
Association info event
req_ies - hexdump(len=73): 00 0d 4e 6f 69 72 56 6f 69 72 39 33 31 30 30 01 08 82 84 8b 96 24 b0 48 6c 32 04 8c 12 98 60 dd 06 00 40 96 01 01 00 dd 06 00 10 18 02 00 00 dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
resp_ies - hexdump(len=16): 01 08 82 84 8b 96 8c 98 b0 48 32 04 12 24 60 6c
WPA: set own WPA/RSN IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:0f:b5:e4:3e:0c
No keys have been configured - skip key clearing
Network configuration found for the current AP
WPA: Using WPA IE from AssocReq to set cipher suites
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
Associated with 00:0f:b5:e4:3e:0c
WPA: Association event - clear replay counter
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:0f:b5:e4:3e:0c
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 96 68 5e 0a e5 82 6e e1 36 85 cf a5 57 4b 86 e3 b3 51 d3 a8 4d b2 79 01 02 3d 71 51 d3 8a d3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 96 68 5e 0a e5 82 6e e1 36 85 cf a5 57 4b 86 e3 b3 51 d3 a8 4d b2 79 01 02 3d 71 51 d3 8a d3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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:0f:b5:e4:3e:0c (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: Renewed SNonce - hexdump(len=32): 42 e5 1c e9 73 65 1b 7d f9 5e aa b0 bd f9 31 dc bd 38 90 ee 61 0c 21 62 8b 34 75 cc c3 8b 57 48
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
WPA: TX EAPOL-Key - hexdump(len=125): 01 03 00 79 fe 01 09 00 20 00 00 00 00 00 00 00 01 42 e5 1c e9 73 65 1b 7d f9 5e aa b0 bd f9 31 dc bd 38 90 ee 61 0c 21 62 8b 34 75 cc c3 8b 57 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 b9 fd 04 63 49 1a 5d 7d 43 6d 1f 9b a7 8b 43 00 1a dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
RX EAPOL from 00:0f:b5:e4:3e:0c
RX EAPOL - hexdump(len=127): 01 03 00 7b fe 01 c9 00 20 00 00 00 00 00 00 00 02 96 68 5e 0a e5 82 6e e1 36 85 cf a5 57 4b 86 e3 b3 51 d3 a8 4d b2 79 01 02 3d 71 51 d3 8a d3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35 b4 06 93 f0 27 68 33 b2 56 cd 65 09 89 4e 9a 00 1c dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
IEEE 802.1X RX: version=1 type=3 length=123
EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=127): 01 03 00 7b fe 01 c9 00 20 00 00 00 00 00 00 00 02 96 68 5e 0a e5 82 6e e1 36 85 cf a5 57 4b 86 e3 b3 51 d3 a8 4d b2 79 01 02 3d 71 51 d3 8a d3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35 b4 06 93 f0 27 68 33 b2 56 cd 65 09 89 4e 9a 00 1c dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:0f:b5:e4:3e:0c (ver=1)
WPA: IE KeyData - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
WPA: No WPA/RSN IE for this AP known. Trying to get from scan results
Received 440 bytes of scan results (1 BSSes)
Scan results: 1
WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 02 00 0f ac 04 01 00 00 0f ac 02 01 00
WPA: Found the current AP from updated scan results
WPA: Sending EAPOL-Key 4/4
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 ac 7b 58 e4 34 c4 00 56 b3 0d 8e 4c c6 75 e8 00 00
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RX EAPOL from 00:0f:b5:e4:3e:0c
RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 a1 00 20 00 00 00 00 00 00 00 03 90 25 a2 d4 fb fe 1d 41 4f e3 11 0d ef 3e 8f b4 2c df 46 a4 d9 51 f1 85 10 03 6d 52 fd e2 34 bb 3b fc ee 56 24 7f 8e 5a 86 ba 15 bb 98 c5 78 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8a 9b 7e 70 12 89 e6 52 c9 3e a6 ba 35 79 ac 73 00 20 c8 dc 38 f2 74 9b f8 98 bb c9 db 80 8b e1 a1 c7 fa d9 aa c5 b6 35 69 cd 04 71 e3 83 a9 92 e4 ee
IEEE 802.1X RX: version=1 type=3 length=127
EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 a1 00 20 00 00 00 00 00 00 00 03 90 25 a2 d4 fb fe 1d 41 4f e3 11 0d ef 3e 8f b4 2c df 46 a4 d9 51 f1 85 10 03 6d 52 fd e2 34 bb 3b fc ee 56 24 7f 8e 5a 86 ba 15 bb 98 c5 78 59 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8a 9b 7e 70 12 89 e6 52 c9 3e a6 ba 35 79 ac 73 00 20 c8 dc 38 f2 74 9b f8 98 bb c9 db 80 8b e1 a1 c7 fa d9 aa c5 b6 35 69 cd 04 71 e3 83 a9 92 e4 ee
State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
WPA: RX message 1 of Group Key Handshake from 00:0f:b5:e4:3e:0c (ver=1)
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=2 tx=0).
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 21 00 20 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 95 60 77 e9 59 ec 1f 00 76 58 48 29 4d f6 fc 54 00 00
WPA: Key negotiation completed with 00:0f:b5:e4:3e:0c [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:0f:b5:e4:3e:0c completed (auth)
dans les exemples ci dessous, les x correspondent à des valeurs génériques.
Sinon, avec KWifiManager, j'ai bien les infos suivantes :
Connecté au réseau : mon_ssid
point d'accés : xx:xx:xx:xx:xx (avec l'adresse mac de mon routeur)
ip locale : 192.162.x.x (adresse que j'ai fixé car le dhcp ne marche pas)
fréquence canal : 2.437[6] (je fonctionne sur le canal 6)
Cryptage : activé
mon fichier /etc/sysconfig/networking/devices/ifcfg-wlan0 ressemble à ça :
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=no
USERCTL=yes
PEERDNS=yes
GATEWAY=192.168.x.x
TYPE=Wireless
DEVICE=wlan0
HWADDR=xx:xx:xx:xx:xx (adresse mac de ma carte wifi)
BOOTPROTO=none
NETMASK=255.255.255.0
DHCP_HOSTNAME=nom_de_ma_machine
IPADDR=192.168.x.x (adresse ip de ma machine)
DOMAIN=mon_ssid
CHANNEL=6
MODE=Managed
RATE=Auto
ESSID=mon_ssid
sinon, voici à quoi ressemble mon fichier wp_supplicant.conf :
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="Nmon_ssid"
proto=WPA
pairwise=TKIP
group=TKIP
key_mgmt=WPA-PSK
scan_ssid=1
psk="ma phrase super secrete"
}
a titre d'information, mon ssid brodcast est desactivé.
certains affirment que ça sert pas vraiment à grand chose maisbon ça marche...
il faudra que je teste wpa_passphrase de façon à ne pas avoir ma phrase en clair dans le fichier...
voila déjà un certain nombre d'infos.
De façon plus spécifique à mon matériel :
mais bon j'ai encore un soucis, j'utilise un portable acer avec un processeur 64 bits.
De façon à activer la led de mon wifi (et par conséquent ma carte), j'utilise acer_acpi que je dois reconfigurer à chaque demarrage, un des fichier de conf se trouve dans /proc/acpi/acer et le répertoire qui est crée lors de l'installation de acer_acpi est systematiquement effacé. j'ai pourtant bien suivi la doc et fait un modprobe acer_acpi.
Pour ceux qui sont avec une fedore x86_64 avec un portable acer disposant d'une carte broadcom, voila le site :
http://www.archernar.co.uk/acer_acpi/acer_acpi_main.html
sinon, ja vais bientot passer mon pc de bureau (un p4 + carte netgear WG311T) sous Fedora. je ferais un post pour donner des infos. apparement, je devrais moins galerer car c'est un chipset atheros... A vois donc.
Je m'approche de la solution et j'espere pouvoir echanger des infos.
:-D