View previous topic :: View next topic |
Author |
Message |
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Mon Mar 16, 2009 9:13 am Post subject: prism54 e wpa_supplicant [RISOLTO] |
|
|
Salve, su un pc qui a casa, la scheda pcmcia wifi (una Zyxel G100) ha smesso di funzionare da un po' e sto cercando di ripristinare (con poco successo) una condizione funzionante.
Ora premetto che non ho capito molto come stanno ristrutturando il kernel per quanto riguarda mac80211 e softmac ma andiamo per ordine e vi dico come sta configurato il tutto.
attualmente nel kernel (gentoo-sources-2.6.27-r8 ) ho queste voci abilitate:
Code: | CONFIG_WIRELESS_EXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_CFG80211=m
CONFIG_NL80211=y
CONFIG_MAC80211=m
CONFIG_MAC80211_RC_PID=y
CONFIG_MAC80211_RC_DEFAULT_PID=y
CONFIG_MAC80211_RC_DEFAULT="pid"
CONFIG_IEEE80211=m
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_WLAN_80211=y
CONFIG_PRISM54=m
CONFIG_P54_COMMON=m
CONFIG_P54_USB=m
CONFIG_P54_PCI=m |
lsmod mi dice:
Code: | Module Size Used by
prism54 51336 0
p54pci 9472 0
p54common 10880 1 p54pci
mac80211 131852 2 p54pci,p54common
cfg80211 22792 1 mac80211 |
e lspci mi dice che usa prism54 e vabé
Code: | 03:00.0 Network controller: Intersil Corporation ISL3890 [Prism GT/Prism Duette]/ISL3886 [Prism Javelin/Prism Xbow] (rev 01)
Subsystem: Tekram Technology Co.,Ltd. ALLNET ALL0271 Wireless PCI Adapter
Flags: bus master, medium devsel, latency 80, IRQ 11
Memory at 58000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [dc] Power Management version 1
Kernel driver in use: prism54
Kernel modules: p54pci, prism54 |
ora
wpa_supplicant è configurato in maniera banale (sul mio portatile con ipw2200 la stessa conf funziona)
/etc/conf.d/net: | config_eth1=( "dhcp" )
modules_eth1="wpa_supplicant"
wpa_supplicant_eth1="-Dprism54 -c/etc/wpa_supplicant/wpa_supplicant.conf" |
/etc/wpa_supplicant/wpa_supplicant.conf: | ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
key_mgmt=NONE
priority=-9999999
}
network={
ssid="xy"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="password"
priority=2
} |
ora però qui lanciando wpa_supplicant da console sembra che l'associazione vada in timeout e non so come risolvere:
Code: | # wpa_supplicant -i eth1 -c/etc/wpa_supplicant/wpa_supplicant.conf -dd -Dprism54
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'prism54' 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'
ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=wheel'
Line: 10 - start of a new network block
key_mgmt: 0x4
priority=-9999999 (0xff676981)
Line: 16 - start of a new network block
ssid - hexdump_ascii(len=8):
66 6f 6e 64 61 7a 7a 61 xy
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
priority=2 (0x2)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 23: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 2
id=1 ssid='xy'
Priority group -9999999
id=0 ssid=''
Initializing interface (2) 'eth1'
Interface eth1 set UP - waiting a second for the driver to complete initialization
SIOCGIWRANGE: WE(compiled)=22 WE(source)=19 enc_capa=0x7
capabilities: key_mgmt 0xf enc 0x7 flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:a0:c5:93:da:8c
wpa_driver_prism54_set_countermeasures - not yet implemented
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
ctrl_interface_group=10 (from group name 'wheel')
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=70
WEXT: Custom wireless event: 'Received a beacon from an unkown AP to 00:03:93:e8:fa:c8 (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b06 len=8
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 178 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 2
Try to find WPA-enabled AP
0: 00:1c:b3:ad:c7:3d ssid='Network di Ale' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:1c:b3:ad:c7:3d ssid='Network di Ale' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
Selecting BSS from priority group -9999999
Try to find WPA-enabled AP
0: 00:1c:b3:ad:c7:3d ssid='Network di Ale' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:1c:b3:ad:c7:3d ssid='Network di Ale' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - privacy mismatch
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=70
WEXT: Custom wireless event: 'Received a beacon from an unkown AP to 00:19:e0:66:a7:ea (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
EAPOL: disable timer tick
Scan timeout - try to get results
Received 560 bytes of scan results (3 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 2
Try to find WPA-enabled AP
0: 00:19:e0:66:a7:ea ssid='xy' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
selected based on WPA IE
selected WPA AP 00:19:e0:66:a7:ea ssid='xy'
Try to find non-WPA AP
Trying to associate with 00:19:e0:66:a7:ea (SSID='xy' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - 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
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
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=72
WEXT: Custom wireless event: 'Authenticate request (ex) to 00:19:e0:66:a7:ea : ACCEPTED (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=72
WEXT: Custom wireless event: 'Authenticate request (ex) to 00:19:e0:66:a7:ea : ACCEPTED (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=72
WEXT: Custom wireless event: 'Authenticate request (ex) to 00:19:e0:66:a7:ea : ACCEPTED (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=70
WEXT: Custom wireless event: 'Received a beacon from an unkown AP to 00:23:8e:4a:1e:7c (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Wireless event: cmd=0x8c02 len=63
WEXT: Custom wireless event: 'Received a probe from client to 00:19:e0:66:a7:ea (00)'
Authentication with 00:19:e0:66:a7:ea timed out.
Added BSSID 00:19:e0:66:a7:ea into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
.... |
suggerimenti e consigli sempre ben accetti!!!
sarei anche interessato ad abbandonare la vecchia struttura kernel, ma sinceramente sono un po' titubante a riguardo. _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Last edited by Peach on Mon Mar 23, 2009 9:36 am; edited 1 time in total |
|
Back to top |
|
|
Apetrini Veteran
Joined: 09 Feb 2005 Posts: 1158
|
Posted: Sun Mar 22, 2009 9:33 pm Post subject: |
|
|
Non ho assolutamente idea, poiché uso iwl con soddisfazione.
Ma visto che qui c'è carenza di idee la butto li... provato ad usare -Dwext al posto di -Dprism54 ?
Altro consiglio a mo' di rito voodoo che ti posso dare è di provare a vedere nel file di configurazione di wpa_supplicant di variare
la variabile "scan_ssid=1" a "scan_ssid=0" o viceversa. Ora non ricordo i dettagli, ma mi ricordo bene che una volta ho risolto in questo modo.
Mah... _________________ Linux ape 2.6.31-vanilla. Paludis since 0.28.0. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|