WPA Host Based Access Point

nans_nans1 at yahoo.de nans_nans1 at yahoo.de
Wed Jul 22 07:48:57 PDT 2015


Have no one a running Access Point/WPA configuration?


--------------------------------------------
nans_nans1 at yahoo.de <nans_nans1 at yahoo.de> schrieb am Di, 21.7.2015:

 Betreff: Re: WPA Host Based Access Point
 An: "John Marino" <dragonflybsd at marino.st>
 CC: users at dragonflybsd.org
 Datum: Dienstag, 21. Juli, 2015 14:34 Uhr
 
 Hi,
 
 i use hostapd from ports. And yes, hostapd
 worked for me in a special configuration.
 But there is a very strange behavior. Let me
 explain:
 
 First try:
 
 _________________________
 
 /etc/rc.conf:
 ifconfig_re0="inet 192.168.100.164 netmask
 255.255.255.0"
 ifconfig_wlan0="up"
 wlans_ath0="wlan0"
 create_args_wlan0="wlanmode
 hostap"
 cloned_interfaces="bridge0"
 ifconfig_bridge0="inet 192.168.100.1
 netmask 255.255.255.0 addm wlan0 addm re0 up"
 hostapd_enable="YES"
 
 /etc/hostapd.conf:
 interface=wlan0
 driver=bsd
 channel=6
 ctrl_interface=/var/run/hostapd
 ctrl_interface_group=wheel
 ssid=mecasa
 wpa=
 wpa_passphrase=password
 wpa_key_mgmt=WPA-PSK
 wpa_pairwise=CCMP TKIP
 
 __________________________
 
 The good things: 
 I can access
 the DF Access point from my Macbook and i get an IP address
 from my DF DHCP-Server.
 The bad thing:
 It is an open wlan (see "wpa= " in my
 obove configuration) 
 
 
 Second try:
 All as above but
 wpa=1 in /etc/hostapd.conf
 
 The result is, that i cannot access the DF
 Access point (see the error messages at the end of the
 posting).
 
 And now the
 strange thing how i must solve the problem:
 
 # ifconfig bridge0 deletem
 wlan0
 This degenerate wlan0 out of my
 bridge0 and i can access the DF Access point.
 BUT: I don't get an IP address from my DF
 DHCP-Server 
 
 # ifconfig
 bridge0 addm wlan0
 This add then wlan0 to
 bridge0 and then i get a IP address from my DF
 DHCP-Server
 
 What is the
 reason for this behavior and how can i solve this
 "problem"?
 
 Regards
 
 Alex
 
 ________________________________________
 
 
 
 wlan0: Event ASSOC (0) received
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.11:
 associated
 STA included WPA IE in
 (Re)AssocReq
   New STA
 ap_sta_add: register ap_handle_timer timeout
 for 00:1c:b3:bf:05:56 (300 seconds - ap_max_inactivity)
 wlan0: STA 00:1c:b3:bf:05:56 WPA: event 1
 notification
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 IEEE 802.1X: Ignore STA - 802.1X not enabled or
 forced for WPS
 wlan0: STA 00:1c:b3:bf:05:56
 WPA: start authentication
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state INITIALIZE
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.1X: unauthorizing port
 WPA: 00:1c:b3:bf:05:56 WPA_PTK_GROUP entering
 state IDLE
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state AUTHENTICATION
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state AUTHENTICATION2
 WPA: Re-initialize GMK/Counter on first
 station
 GMK - hexdump(len=32): [REMOVED]
 Key Counter - hexdump(len=32): [REMOVED]
 GTK - hexdump(len=32): [REMOVED]
 bsd_set_key: alg=2 addr=0x449ead key_idx=1
 set_tx=1 seq_len=0 key_len=32
 WPA: Assign
 ANonce - hexdump(len=32): 29 5c 49 0f 91 51 42 ae b4 c0 e5
 6b b6 02 13 f6 ea 31 a5 6f 52 22 91 f8 83 6a d8 77 c6 0c bd
 40
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering
 state INITPSK
 Searching a PSK for
 00:1c:b3:bf:05:56 prev_psk=0x0
 Searching a
 PSK for 00:1c:b3:bf:05:56 prev_psk=0x0
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA: sending 1/4
 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 1)
 hostapd_new_assoc_sta: reschedule
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 sending 1/4 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 02
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 2)
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state PTKSTART
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1
 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0)
 WPA: Replay Counter - hexdump(len=8): 00 00 00
 00 00 00 00 03
 WPA: Use EAPOL-Key timeout of
 1000 ms (retry counter 3)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 sending 1/4 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 04
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 4)
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state PTKSTART
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: PTKSTART: Retry limit 4 reached
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 DISCONNECT
 wpa_sta_disconnect STA
 00:1c:b3:bf:05:56
 hostapd_wpa_auth_disconnect: WPA authenticator
 requests disconnect: STA 00:1c:b3:bf:05:56 reason 2
 wlan0: STA 00:1c:b3:bf:05:56 WPA: event 3
 notification
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 WPA: wpa_sm_step()
 called recursively
 ap_sta_disconnect:
 reschedule ap_handle_timer timeout for 00:1c:b3:bf:05:56 (5
 seconds - AP_MAX_INACTIVITY_AFTER_DEAUTH)
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 DISCONNECTED
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state INITIALIZE
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 ioctl[SIOCS80211,
 op=21, val=0, arg_len=42]: No such file or directory
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.1X:
 unauthorizing port
 Removing STA
 00:1c:b3:bf:05:56 from kernel driver
 wlan0:
 STA 00:1c:b3:bf:05:56 MLME:
 MLME-DEAUTHENTICATE.indication(00:1c:b3:bf:05:56, 2)
 wlan0: STA 00:1c:b3:bf:05:56 MLME:
 MLME-DELETEKEYS.request(00:1c:b3:bf:05:56)
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211,
 op=20, val=0, arg_len=7]: No such file or directory
 wlan0: Event DISASSOC (1) received
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.11:
 disassociated
 wlan0: STA 00:1c:b3:bf:05:56
 WPA: event 2 notification
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state DISCONNECTED
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 INITIALIZE
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 ioctl[SIOCS80211,
 op=21, val=0, arg_len=42]: No such file or directory
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.1X:
 unauthorizing port
 ap_free_sta: cancel
 ap_handle_timer for 00:1c:b3:bf:05:56
 wlan0:
 Event ASSOC (0) received
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.11: associated
 STA included WPA IE in (Re)AssocReq
   New STA
 ap_sta_add: register
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: event 1 notification
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 IEEE 802.1X: Ignore
 STA - 802.1X not enabled or forced for WPS
 wlan0: STA 00:1c:b3:bf:05:56 WPA: start
 authentication
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state INITIALIZE
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.1X: unauthorizing port
 WPA: 00:1c:b3:bf:05:56 WPA_PTK_GROUP entering
 state IDLE
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state AUTHENTICATION
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state AUTHENTICATION2
 WPA: Assign ANonce - hexdump(len=32): a6 8b d8
 7e ef 4f 7b 2c 92 ac e3 5d 94 be ae 1c ff c1 79 2a cd 32 62
 96 34 28 7a 64 0f cb 91 14
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state INITPSK
 Searching a PSK for 00:1c:b3:bf:05:56
 prev_psk=0x0
 Searching a PSK for
 00:1c:b3:bf:05:56 prev_psk=0x0
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA: sending 1/4
 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 1)
 hostapd_new_assoc_sta: reschedule
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: Event DISASSOC (1)
 received
 wlan0: STA 00:1c:b3:bf:05:56 IEEE
 802.11: disassociated
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: event 2 notification
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211,
 op=20, val=0, arg_len=7]: No such file or directory
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 DISCONNECTED
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state INITIALIZE
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 ioctl[SIOCS80211,
 op=21, val=0, arg_len=42]: No such file or directory
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.1X:
 unauthorizing port
 ap_free_sta: cancel
 ap_handle_timer for 00:1c:b3:bf:05:56
 wlan0:
 Event ASSOC (0) received
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.11: associated
 STA included WPA IE in (Re)AssocReq
   New STA
 ap_sta_add: register
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: event 1 notification
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 IEEE 802.1X: Ignore
 STA - 802.1X not enabled or forced for WPS
 wlan0: STA 00:1c:b3:bf:05:56 WPA: start
 authentication
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state INITIALIZE
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.1X: unauthorizing port
 WPA: 00:1c:b3:bf:05:56 WPA_PTK_GROUP entering
 state IDLE
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state AUTHENTICATION
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state AUTHENTICATION2
 WPA: Assign ANonce - hexdump(len=32): 26 7c 4c
 cc fe a7 70 cc 56 a1 2b 01 d4 05 f1 67 9c 93 03 d3 22 c8 d1
 61 4b e3 13 c4 c2 a6 98 ca
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state INITPSK
 Searching a PSK for 00:1c:b3:bf:05:56
 prev_psk=0x0
 Searching a PSK for
 00:1c:b3:bf:05:56 prev_psk=0x0
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA: sending 1/4
 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 1)
 hostapd_new_assoc_sta: reschedule
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 sending 1/4 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 02
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 2)
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state PTKSTART
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1
 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0)
 WPA: Replay Counter - hexdump(len=8): 00 00 00
 00 00 00 00 03
 WPA: Use EAPOL-Key timeout of
 1000 ms (retry counter 3)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 sending 1/4 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 04
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 4)
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state PTKSTART
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: PTKSTART: Retry limit 4 reached
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 DISCONNECT
 wpa_sta_disconnect STA
 00:1c:b3:bf:05:56
 hostapd_wpa_auth_disconnect: WPA authenticator
 requests disconnect: STA 00:1c:b3:bf:05:56 reason 2
 wlan0: STA 00:1c:b3:bf:05:56 WPA: event 3
 notification
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 WPA: wpa_sm_step()
 called recursively
 ap_sta_disconnect:
 reschedule ap_handle_timer timeout for 00:1c:b3:bf:05:56 (5
 seconds - AP_MAX_INACTIVITY_AFTER_DEAUTH)
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 DISCONNECTED
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state INITIALIZE
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 ioctl[SIOCS80211,
 op=21, val=0, arg_len=42]: No such file or directory
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.1X:
 unauthorizing port
 Removing STA
 00:1c:b3:bf:05:56 from kernel driver
 wlan0:
 STA 00:1c:b3:bf:05:56 MLME:
 MLME-DEAUTHENTICATE.indication(00:1c:b3:bf:05:56, 2)
 wlan0: STA 00:1c:b3:bf:05:56 MLME:
 MLME-DELETEKEYS.request(00:1c:b3:bf:05:56)
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211,
 op=20, val=0, arg_len=7]: No such file or directory
 wlan0: Event DISASSOC (1) received
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.11:
 disassociated
 wlan0: STA 00:1c:b3:bf:05:56
 WPA: event 2 notification
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state DISCONNECTED
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 INITIALIZE
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 ioctl[SIOCS80211,
 op=21, val=0, arg_len=42]: No such file or directory
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.1X:
 unauthorizing port
 ap_free_sta: cancel
 ap_handle_timer for 00:1c:b3:bf:05:56
 wlan0:
 Event ASSOC (0) received
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.11: associated
 STA included WPA IE in (Re)AssocReq
   New STA
 ap_sta_add: register
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: event 1 notification
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 IEEE 802.1X: Ignore
 STA - 802.1X not enabled or forced for WPS
 wlan0: STA 00:1c:b3:bf:05:56 WPA: start
 authentication
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state INITIALIZE
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 wlan0: STA
 00:1c:b3:bf:05:56 IEEE 802.1X: unauthorizing port
 WPA: 00:1c:b3:bf:05:56 WPA_PTK_GROUP entering
 state IDLE
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state AUTHENTICATION
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state AUTHENTICATION2
 WPA: Assign ANonce - hexdump(len=32): 6c 07 a3
 f2 8e 52 5a ae b2 27 d7 68 a7 3d 9b bb 2d c7 7d c4 ba ef b3
 70 0d a3 53 15 04 34 0a bd
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state INITPSK
 Searching a PSK for 00:1c:b3:bf:05:56
 prev_psk=0x0
 Searching a PSK for
 00:1c:b3:bf:05:56 prev_psk=0x0
 WPA:
 00:1c:b3:bf:05:56 WPA_PTK entering state PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA: sending 1/4
 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 1)
 hostapd_new_assoc_sta: reschedule
 ap_handle_timer timeout for 00:1c:b3:bf:05:56 (300 seconds -
 ap_max_inactivity)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 sending 1/4 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 02
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 2)
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56
 WPA_PTK entering state PTKSTART
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1
 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0)
 WPA: Replay Counter - hexdump(len=8): 00 00 00
 00 00 00 00 03
 WPA: Use EAPOL-Key timeout of
 1000 ms (retry counter 3)
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: EAPOL-Key timeout
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 PTKSTART
 wlan0: STA 00:1c:b3:bf:05:56 WPA:
 sending 1/4 msg of 4-Way Handshake
 WPA: Send
 EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1
 kde_len=0 keyidx=0 encr=0)
 WPA: Replay
 Counter - hexdump(len=8): 00 00 00 00 00 00 00 04
 WPA: Use EAPOL-Key timeout of 1000 ms (retry
 counter 4)
 wlan0: Event DISASSOC (1)
 received
 wlan0: STA 00:1c:b3:bf:05:56 IEEE
 802.11: disassociated
 wlan0: STA
 00:1c:b3:bf:05:56 WPA: event 2 notification
 bsd_set_key: alg=0 addr=0x8006d2dd0 key_idx=0
 set_tx=1 seq_len=0 key_len=0
 bsd_del_key:
 addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211,
 op=20, val=0, arg_len=7]: No such file or directory
 WPA: 00:1c:b3:bf:05:56 WPA_PTK entering state
 DISCONNECTED
 WPA: 00:1c:b3:bf:05:56 WPA_PTK
 entering state INITIALIZE
 bsd_set_key: alg=0
 addr=0x8006d2dd0 key_idx=0 set_tx=1 seq_len=0 key_len=0
 bsd_del_key: addr=00:1c:b3:bf:05:56
 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No
 such file or directory
 ioctl[SIOCS80211,
 op=21, val=0, arg_len=42]: No such file or directory
 wlan0: STA 00:1c:b3:bf:05:56 IEEE 802.1X:
 unauthorizing port
 ap_free_sta: cancel
 ap_handle_timer for 00:1c:b3:bf:05:56
  
 
 
 
 
 --------------------------------------------
 John Marino <dragonflybsd at marino.st>
 schrieb am So, 19.7.2015:
 
 
 Betreff: Re: WPA Host Based Access Point
 
 An: nans_nans1 at yahoo.de,
 users at dragonflybsd.org
  Datum: Sonntag, 19. Juli, 2015 21:53 Uhr
  
  On 7/19/2015 9:45 PM, nans_nans1 at yahoo.de
  wrote:
  > Hi,
  > 
  > i try to setup a
 DF Access Point according
  to 
  > http://www.dragonflybsd.org/docs/docs/newhandbook/WirelessNetwork/#index5h4
  > 
  > But i can't
  access from my Macbook to DF.
 
 > 
  
  Are you using
 hostapd from
  base or from ports?
  
  Has
  hostapd
 ever worked for you in any configuration?
 
 
  John
  
 
 




More information about the Users mailing list