Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2006 01:55:49 +0800
From:      "Balgansuren Batsukh" <balgaa@mongol.net>
To:        <freebsd-current@freebsd.org>
Subject:   little problem with Wi-Fi
Message-ID:  <002701c642d9$88928d00$0201000a@JACK>

next in thread | raw e-mail | index | archive | help
Hello,

I successfully get authenticated with my AP.

my wpa_supplicant.conf
-----------------------------------
ctrl_interface_group=3D0

eapol_version=3D1

ap_scan=3D1

fast_reauth=3D1

network=3D{

ssid=3D"Apple Network"

key_mgmt=3DWPA-PSK

psk=3D"removed"

}



#ifconfig iwi0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

iwi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.1.4 netmask 0xffffff00 broadcast 255.255.255.255
        ether 00:0e:35:2b:26:ce
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: associated
        ssid "Apple Network" channel 10 bssid 00:03:93:ea:b9:f7
        authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP =
3:128-bit
        txpowmax 100 protmode CTS roaming MANUAL bintval 100

#wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf -d

xen# wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf -d
Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver =
'default' c                                              trl_interface =
'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> =
'/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface_group=3D0
eapol_version=3D1
ap_scan=3D1
fast_reauth=3D1
Priority group 0
   id=3D0 ssid=3D'Apple Network'
Initializing interface (2) 'iwi0'
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=3D0
EAPOL: External notification - portValid=3D0
Own MAC address: 00:0e:35:2b:26:ce
wpa_driver_bsd_set_wpa: enabled=3D1
wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1
wpa_driver_bsd_del_key: keyidx=3D0
wpa_driver_bsd_del_key: keyidx=3D1
wpa_driver_bsd_del_key: keyidx=3D2
wpa_driver_bsd_del_key: keyidx=3D3
wpa_driver_bsd_set_countermeasures: enabled=3D0
wpa_driver_bsd_set_drop_unencrypted: enabled=3D1
Setting scan request: 0 sec 100000 usec
Added interface iwi0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:03:93:ea:b9:f7 ssid=3D'Apple Network' wpa_ie_len=3D26 =
rsn_ie_len=3D0 caps=3D0x11
   selected based on WPA IE
Trying to associate with 00:03:93:ea:b9:f7 (SSID=3D'Apple Network' =
freq=3D2457 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
WPA: set AP WPA IE - hexdump(len=3D26): 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: 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=3D24): 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
wpa_driver_bsd_set_drop_unencrypted: enabled=3D1
State: SCANNING -> ASSOCIATING
wpa_driver_bsd_associate: ssid 'Apple Network' wpa ie len 24 pairwise 2 =
group 2                                               key mgmt 1
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=3D0
EAPOL: External notification - EAP fail=3D0
EAPOL: External notification - portControl=3DAuto
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=3D00:03:93:ea:b9:f7
No keys have been configured - skip key clearing
Associated with 00:03:93:ea:b9:f7
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=3D0
EAPOL: External notification - portValid=3D0
EAPOL: External notification - EAP success=3D0
EAPOL: External notification - portEnabled=3D1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:03:93:ea:b9:f7
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=3D1 type=3D3 length=3D95
  EAPOL-Key type=3D254
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:03:93:ea:b9:f7 (ver=3D1)
WPA: WPA IE for msg 2/4 - hexdump(len=3D24): dd 16 00 50 f2 01 01 00 00 =
50 f2 02 0                                              1 00 00 50 f2 02 =
01 00 00 50 f2 02
WPA: Renewed SNonce - hexdump(len=3D32): e2 0e cd 71 75 15 9a 6c 97 25 =
b7 97 ab 3a                                               4e f9 cb b4 07 =
d3 6e 90 42 af 5b 64 7e 60 f6 2a 8c 40
WPA: PMK - hexdump(len=3D32): [REMOVED]
WPA: PTK - hexdump(len=3D64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:03:93:ea:b9:f7
IEEE 802.1X RX: version=3D1 type=3D3 length=3D121
  EAPOL-Key type=3D254
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:03:93:ea:b9:f7 (ver=3D1)
WPA: IE KeyData - hexdump(len=3D26): 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: Sending EAPOL-Key 4/4
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=3D6): 00 00 00 00 00 00
wpa_driver_bsd_set_key: alg=3DTKIP addr=3D00:03:93:ea:b9:f7 key_idx=3D0 =
set_tx=3D1 seq_l                                              en=3D6 =
key_len=3D32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RX EAPOL from 00:03:93:ea:b9:f7
IEEE 802.1X RX: version=3D1 type=3D3 length=3D127
  EAPOL-Key type=3D254
State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
WPA: RX message 1 of Group Key Handshake from 00:03:93:ea:b9:f7 =
(ver=3D1)
WPA: Group Key - hexdump(len=3D32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=3D1 tx=3D0).
WPA: RSC - hexdump(len=3D6): c4 01 00 00 00 00
wpa_driver_bsd_set_key: alg=3DTKIP addr=3Dff:ff:ff:ff:ff:ff key_idx=3D1 =
set_tx=3D0 seq_l                                              en=3D6 =
key_len=3D32
WPA: Sending EAPOL-Key 2/2
WPA: Key negotiation completed with 00:03:93:ea:b9:f7 [PTK=3DTKIP =
GTK=3DTKIP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:03:93:ea:b9:f7 completed (auth)
EAPOL: External notification - portValid=3D1
EAPOL: External notification - EAP success=3D1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: SUPP_BE entering state IDLE
EAPOL: startWhen --> 0


Network diagram

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Laptop installed 7.0-CURRENT 10.0.1.4-------->10.0.1.1 Applet Extreme =
AP------->ADSL modem----->Internet

I can't ping to my AP and unable to get Internet access.



Regards,

Balgaa



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c642d9$88928d00$0201000a>