Re: networkmanager fails to associate (ipw3945)



I seem to face the same problem. Is there some good advice on how to
configure the wpa supplicant directly? Any pointer would be highly
appreciated.

Here are my data:

1) Distro: Ubuntu 6.10
2) Kernel: 2.6.17-11-generic
3) ipw3945 drivers: Intel(R) PRO/Wireless 3945 Network Connection driver
for Linux, 1.1.0mp
4) ieee80211 stack: git-1.1.13


There are lots of messages in the syslog.

That's the beginning:

Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Trying to associate with SSID
'FRITZ!Box Fon WLAN 7170' 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): CTRL_IFACE monitor send -
hexdump(len=40): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 77
6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 34 33 36 32
2d 33 00 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Cancelling scan request 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):  clearing own WPA/RSN IE 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Automatic auth_alg selection: 0x1 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: No WPA/RSN IE available from
association info 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Set cipher suites based on
configuration 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Selected cipher suites: group
30 pairwise 24 key_mgmt 2 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: clearing AP WPA IE 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: clearing AP RSN IE 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: using GTK CCMP 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: using PTK CCMP 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: using KEY_MGMT WPA-PSK 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Set own WPA IE default -
hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 0
4 01 00 00 50 f2 04 01 00 00 50 f2 02 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): No keys have been configured - skip
key clearing 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):
wpa_driver_wext_set_drop_unencrypted 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): State: SCANNING -> ASSOCIATING 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WEXT: Operstate: linkmode=-1,
operstate=5 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): wpa_driver_wext_associate 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Setting authentication timeout: 60
sec 0 usec 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification - EAP
success=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification - EAP
fail=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification -
portControl=Auto 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Wireless event: cmd=0x8b06 len=8 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Wireless event: cmd=0x8b1a len=32 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): RTM_NEWLINK, IFLA_IFNAME: Interface
'eth1' added 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Wireless event: cmd=0x8b15 len=20 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Wireless event: new AP:
00:15:0c:ed:e6:5f 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): ATING -> ASSOCIATED 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WEXT: Operstate: linkmode=-1,
operstate=5 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Associated to a new BSS:
BSSID=00:15:0c:ed:e6:5f 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): No keys have been configured - skip
key clearing 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Network configuration found for the
current AP 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Using WPA IE from AssocReq to
set cipher suites 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Selected cipher suites: group
16 pairwise 16 key_mgmt 2 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: clearing AP WPA IE 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: clearing AP RSN IE 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: using GTK CCMP 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: using PTK CCMP 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: using KEY_MGMT WPA-PSK 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Set own WPA IE default -
hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 0
4 01 00 00 50 f2 04 01 00 00 50 f2 02 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification - EAP
success=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification - EAP
fail=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification -
portControl=Auto 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Associated with 00:15:0c:ed:e6:5f 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): CTRL_IFACE monitor send -
hexdump(len=40): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 77
6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 34 33 36 32
2d 33 00 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: Association event - clear
replay counter 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification -
portEnabled=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification -
portValid=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): APOL: External notification - EAP
success=0 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: External notification -
portEnabled=1 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: SUPP_PAE entering state
CONNECTING 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: SUPP_BE entering state IDLE 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Setting authentication timeout: 10
sec 0 usec 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): RX EAPOL from 00:15:0c:ed:e6:5f 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): RX EAPOL - hexdump(len=99): 01 03
00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 da
2e a5 db 54 27 0f 0c c9 ea 5a bc 92 c8 c1 f6 8b 40 cf fb 42 74 33 0d d3
0a 10 90 cc 7b ef 58 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 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): Setting authentication timeout: 10
sec 0 usec 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): IEEE 802.1X RX: version=1 type=3
length=95 
Feb 24 23:24:04 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   EAPOL-Key type=254 
...

And that's the end:

Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): IEEE 802.1X RX: version=1 type=3
length=95 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   EAPOL-Key type=254 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_info 0x89 (ver=1 keyidx=0
rsvd=0 Pairwise Ack) 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_length=32 key_data_length=0 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   replay_counter - hexdump(len=8):
00 00 00 00 00 00 00 03 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_nonce - hexdump(len=32): da
2e a5 db 54 27 0f 0c c9 ea 5a bc 92 c8 c1 f6 8b
40 cf fb 42 74 33 0d d3 0a 10 90 cc 7b ef 5a 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_iv - hexdump(len=16): 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_rsc - hexdump(len=8): 00 00
00 00 00 00 00 00 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_id (reserved) -
hexdump(len=8): 00 00 00 00 00 00 00 00 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_mic - hexdump(len=16): 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): 74 33 0d d3 0a 10 90 cc 7b ef 5a 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 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: CCMP is used, but EAPOL-Key
descriptor version (1) is not 2. 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: startWhen --> 0 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: SUPP_PAE entering state
CONNECTING 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): EAPOL: txStart 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): WPA: drop TX EAPOL in non-IEEE
802.1X mode (type=1 len=0) 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): RX EAPOL from 00:15:0c:ed:e6:5f 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): RX EAPOL - hexdump(len=99): 01 03
00 5f fe 00 89 00 20 00 00 00 00 00 00 00 04 da
2e a5 db 54 27 0f 0c c9 ea 5a bc 92 c8 c1 f6 8b 40 cf fb 42 74 33 0d d3
0a 10 90 cc 7b ef 5b 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 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443): IEEE 802.1X RX: version=1 type=3
length=95 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   EAPOL-Key type=254 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_info 0x89 (ver=1 keyidx=0
rsvd=0 Pairwise Ack) 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   key_length=32 key_data_length=0 
Feb 24 23:24:07 osiris NetworkManager:
<information>^Iwpa_supplicant(6443):   replay_counter - hexdump(len=8):
00 00 00 00 00 00 00 04 
Feb 24 23:24:09 osiris NetworkManager: <information>^IActivation
(eth1/wireless): association took too long (>120s), failing activation. 
Feb 24 23:24:09 osiris NetworkManager: <information>^IActivation (eth1)
failure scheduled... 
Feb 24 23:24:09 osiris NetworkManager: <information>^IActivation (eth1)
failed for access point (FRITZ!Box Fon WLAN 7170) 
Feb 24 23:24:09 osiris NetworkManager: <information>^IActivation (eth1)
failed. 
Feb 24 23:24:09 osiris NetworkManager: <information>^IDeactivating
device eth1. 

FRITZ!Box (the router) knows this client and displays it's MAC address
correctly.

Thanks in advance for your help.

-Gisbert

Am Samstag, den 24.02.2007, 08:13 -0500 schrieb Dan Williams:
> On Fri, 2007-02-23 at 21:40 +0100, Olaf Telshörner wrote:
> > On Fri, 02/23/2007, dragoran wrote:
> > 
> > > as you can see in the thread there seems to be no soultion for it and 
> > > the discussion stopped :(
> > > the only solution that I can tell you is to use wpa_supplicant directly, 
> > > networkmanager seems not to work with ipw3945 + wpa.
> > 
> > NM works fine with my ipw3945 + wpa (debian on dell inspiron 6400)
> > same processes running here
> 
> Right; so what we now need to know from everyone is:
> 
> 1) what distro?
> 2) what kernel version?
> 3) what version of ipw3945 drivers?
> 4) what version of the ieee80211 stack?
> 
> For those who may not know, to get these:
> 
> 2) run 'uname -a'
> 3) run 'dmesg | grep 3945'
> 4) run 'dmesg | grep ieee80211'
> 
> Dan
> 
> > NM-tool output:
> > NetworkManager Tool
> > 
> > State: connected
> > 
> > - Device: eth2
> > ----------------------------------------------------------------
> >   NM Path:           /org/freedesktop/NetworkManager/Devices/eth2
> >   Type:              802.11 Wireless
> >   Driver:            ipw3945
> >   Active:            yes
> >   HW Address:        00:13:02:65:97:1E
> > 
> >   Capabilities:
> >     Supported:       yes
> >     Speed:           54 Mb/s
> > 
> >   Wireless Settings
> >     Scanning:        yes
> >     WEP Encryption:  yes
> >     WPA Encryption:  yes
> >     WPA2 Encryption: yes
> > 
> >   Wireless Networks (* = Current Network)
> >     CLS:             Infrastructure Mode, Freq 0.000 MHz, Rate 54 Mb/s,
> > Strength 58%, Encrypted (WEP)
> >     *Xenonet:        Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s,
> > Strength 93%, Encrypted (WPA)
> > 
> >   IP Settings:
> >     IP Address:      192.168.2.101
> >     Subnet Mask:     255.255.255.0
> >     Broadcast:       192.168.2.255
> >     Gateway:         192.168.2.1
> >     Primary DNS:     192.168.2.1
> >     Secondary DNS:   0.0.0.0
> > 
> > 
> > - Device: eth0
> > ----------------------------------------------------------------
> >   NM Path:           /org/freedesktop/NetworkManager/Devices/eth0
> >   Type:              Wired
> >   Driver:            b44
> >   Active:            no
> >   HW Address:        00:15:C5:13:51:A5
> > 
> >   Capabilities:
> >     Supported:       yes
> >     Carrier Detect:  yes
> >     Speed:           10 Mb/s
> > 
> >   Wired Settings
> >     Hardware Link:   no
> > 
> > Did you uncomment your interfaces in /etc/network/interfaces?
> > 
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]