[gentoo-user] Unstable wireless

2008-09-03 Thread joshu
Hi there.

I'm at schools wireless right now, and it's very unstable. It's fine for
awhile, but it won't take long until it just dies.
It is unstable for the others aswell, but we can't figure out the
reason.

So, i lean over to you guys, i hope you can help me, thus us, out, with
this.

Please see the attachments, it's logs. wpa_supplicant in debugmode and
dmesg.

Thanks.
Daniel.
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' 
driver 'wext' 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'
fast_reauth=1
Line: 34 - start of a new network block
ssid - hexdump_ascii(len=3):
 4e 54 49  NTI 
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='NTI'
Initializing interface (2) 'wlan0'
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
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1f:3c:6e:0f:ca
wpa_driver_wext_set_wpa
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
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 10 usec
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=12
Ignore event for foreign ifindex 3
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
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
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
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])
Wireless event: cmd=0x8b19 len=16
Received 2479 bytes of scan results (9 BSSes)
Scan results: 9
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:1e:e5:fa:78:b6 ssid='NTI' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
   selected WPA AP 00:1e:e5:fa:78:b6 ssid='NTI'
Try to find non-WPA AP
Trying to associate with 00:1e:e5:fa:78:b6 (SSID='NTI' freq=2432 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 16 pairwise 16 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 
00 50 f2 04 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK CCMP
WPA: using PTK CCMP
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 
04 01 00 00 50 f2 04 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING - ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0-0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
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])
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=19
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8c02 len=235
WEXT: Custom wireless event: 
'ASSOCINFO(ReqIEs=00034e5449010802040b160c12182432043048606cdd160050f2010150f2040150f2040150f202dd070050f202000100
 
RespIEs=010482848b9632088c129824b048606cdd180050f2020101800083a4a7a4c2435e00e2322f00)'
Association info event
req_ies - hexdump(len=54): 00 03 4e 54 49 01 08 02 04 0b 16 0c 12 18 24 32 04 
30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 
f2 02 dd 07 00 50 f2 02 00 01 00
resp_ies - hexdump(len=42): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c dd 
18 00 50 f2 02 01 01 80 00 83 a4 00 00 a7 a4 00 00 c2 43 5e 00 e2 32 2f 00
WPA: set own WPA/RSN IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 
01 00 00 50 f2 04 01 00 00 50 f2 02
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: 00:1e:e5:fa:78:b6
State: 

Re: [gentoo-user] Unstable wireless

2008-09-03 Thread joshu
Wow, my mutt configuration is'nt as good as i hoped.
/me goes back to the drawing desk.

I hope it's still readable though. :-)

Daniel.