<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div>Hello<br><br>I'm trying to run hostapd (0.6.4) on QNX (RTOS) board using the configuration below.&nbsp; The driver for QNX is BSD net80211 layer.<br><br>interface=run0<br>ssid=DemoAP<br>macaddr_acl=0<br>auth_algs=1<br>wpa=1<br>wpa_passphrase=password<br>wpa_key_mgmt=WPA-PSK<br>wpa_pairwise=CCMP<br><br>I'm
using my windows xp integrated wireless card as the client, and it gets
to the connected status but both host ap and client cannot ping each
other.<br><br>I'm running hostapd with the -d option now, I get the messages below.<br>I'm
new to this so I'm not sure whats going on.&nbsp; I made sure I entered the
correct password "password"too. I see the error 'Could not set station
00:21:5c:88:ea:99 flags for kernel driver (errno=22)'. Does anyone know
whats happening?<br><br>Any info will be appreciated.<br><br>thanks<br>joyce<br><br># hostapd -d
 /etc/hostapd.conf<br><br>Configuration file: /etc/hostapd.conf<br>bsd_set_iface_flags: dev_up=0<br>BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)<br>run0: IEEE 802.11 Fetching hardware channel/rate support not supported.<br>Flushing old station entries<br>bsd_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3<br>Deauthenticate all stations<br>bsd_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=2<br>bsd_set_privacy: enabled=0<br>bsd_del_key: addr=00:00:00:00:00:00 key_idx=0<br>bsd_del_key: addr=00:00:00:00:00:00 key_idx=1<br>bsd_del_key: addr=00:00:00:00:00:00 key_idx=2<br>bsd_del_key: addr=00:00:00:00:00:00 key_idx=3<br>bsd_get_ssid: ssid=""<br>Using interface run0 with hwaddr 00:0e:8e:20:9f:40 and ssid 'DemoAP'<br>SSID - hexdump_ascii(len=6):<br>&nbsp;&nbsp;&nbsp;&nbsp; 44 65 6d 6f 41
 50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DemoAP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>PSK (ASCII passphrase) - hexdump_ascii(len=8):<br>&nbsp;&nbsp;&nbsp;&nbsp; 70 61 73 73 77 6f 72 64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>PSK
(from passphrase) - hexdump(len=32): c2 19 dd 6f ba e9 e0 78 d4 d2 d9
97 f9 3d 14 37 b4 a0 8c 00 af 8a 0e 20 e0 b7 e0 36 e1 5c ef 6e<br>bsd_set_ssid: ssid="DemoAP"<br>bsd_set_ieee8021x: enabled=1<br>bsd_configure_wpa: group key cipher=AES-CCM (3)<br>bsd_configure_wpa: pairwise key ciphers=0x8<br>bsd_configure_wpa: key management algorithms=0x2<br>bsd_configure_wpa: rsn
 capabilities=0x0<br>bsd_configure_wpa: enable WPA= 0x1<br>bsd_set_iface_flags: dev_up=1<br>WPA: group state machine entering state GTK_INIT (VLAN-ID 0)<br>GMK - hexdump(len=32): [REMOVED]<br>GTK - hexdump(len=16): [REMOVED]<br>WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)<br>bsd_set_key: alg=CCMP addr=00:00:00:00:00:00 key_idx=1<br>bsd_set_privacy: enabled=1<br>run0: Setup of interface done.<br>run0: STA 00:21:5c:88:ea:99 IEEE 802.11: associated<br>&nbsp; New STA<br>run0: STA 00:21:5c:88:ea:99 WPA: event 1 notification<br>bsd_del_key: addr=00:21:5c:88:ea:99 key_idx=0<br>run0: STA 00:21:5c:88:ea:99 WPA: start authentication<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state INITIALIZE<br>bsd_del_key: addr=00:21:5c:88:ea:99 key_idx=0<br>bsd_set_sta_authorized: addr=00:21:5c:88:ea:99 authorized=0<br>run0: STA 00:21:5c:88:ea:99 IEEE 802.1X: unauthorizing port<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state IDLE<br>WPA:
 00:21:5c:88:ea:99 WPA_PTK entering state AUTHENTICATION<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state AUTHENTICATION2<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state INITPSK<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state PTKSTART<br>run0: STA 00:21:5c:88:ea:99 WPA: sending 1/4 msg of 4-Way Handshake<br>WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)<br>TX
EAPOL - hexdump(len=113): 00 21 5c 88 ea 99 00 0e 8e 20 9f 40 88 8e 02
03 00 5f fe 00 8a 00 10 00 00 00 00 00 00 00 01 a2 16 35 10 8a 2e 78 dc
3c 35 60 74 e1 06 73 51 68 94 9a c0 cf fd 27 e4 7a 92 20 90 c8 c5 1a ba
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<br>IEEE 802.1X: 125 bytes from 00:21:5c:88:ea:99<br>&nbsp;&nbsp; IEEE 802.1X: version=1 type=3 length=121<br>run0: STA 00:21:5c:88:ea:99 WPA: received EAPOL-Key frame (2/4 Pairwise)<br>WPA:
 00:21:5c:88:ea:99 WPA_PTK entering state PTKCALCNEGOTIATING<br>WPA: PTK derivation - A1=00:0e:8e:20:9f:40 A2=00:21:5c:88:ea:99<br>WPA: PMK - hexdump(len=32): [REMOVED]<br>WPA: PTK - hexdump(len=64): [REMOVED]<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state PTKCALCNEGOTIATING2<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state PTKINITNEGOTIATING<br>bsd_get_seqnum: addr=00:00:00:00:00:00 idx=1<br>run0: STA 00:21:5c:88:ea:99 WPA: sending 3/4 msg of 4-Way Handshake<br>WPA: Send EAPOL(version=2 secure=0 mic=1 ack=1 install=1 pairwise=8 kde_len=24 keyidx=0 encr=0)<br>TX
EAPOL - hexdump(len=137): 00 21 5c 88 ea 99 00 0e 8e 20 9f 40 88 8e 02
03 00 77 fe 01 ca 00 10 00 00 00 00 00 00 00 02 a2 16 35 10 8a 2e 78 dc
3c 35 60 74 e1 06 73 51 68 94 9a c0 cf fd 27 e4 7a 92 20 90 c8 c5 1a ba
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 d9 a1 d9 e2 67 eb 1b 70 09 0a ff 18 97 9e a6 c8
00 18 dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50
f2 02<br>IEEE 802.1X: 99 bytes from 00:21:5c:88:ea:99<br>&nbsp;&nbsp; IEEE 802.1X: version=1 type=3 length=95<br>run0: STA 00:21:5c:88:ea:99 WPA: received EAPOL-Key frame (4/4 Pairwise)<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state PTKINITDONE<br>bsd_set_key: alg=CCMP addr=00:21:5c:88:ea:99 key_idx=0<br>bsd_set_sta_authorized: addr=00:21:5c:88:ea:99 authorized=1<br>run0: STA 00:21:5c:88:ea:99 IEEE 802.1X: authorizing port<br>run0: STA 00:21:5c:88:ea:99 WPA: pairwise key handshake completed (WPA)<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state REKEYNEGOTIATING<br>bsd_get_seqnum: addr=00:00:00:00:00:00 idx=1<br>run0: STA 00:21:5c:88:ea:99 WPA: sending 1/2 msg of Group Key Handshake<br>WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=16 keyidx=1 encr=1)<br>Plaintext EAPOL-Key Key Data - hexdump(len=24): [REMOVED]<br>TX
EAPOL - hexdump(len=137): 00 21 5c 88 ea 99 00 0e 8e 20 9f 40 88 8e 02
03 00 77 fe 03 92 00 10 00 00 00 00 00 00 00 03 a2 16 35 10 8a 2e 78 dc
3c 35 60 74 e1 06 73 51 68 94 9a c0 cf fd 27 e4 7a 92 20 90 c8 c5 1a b9
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 cc 52 ea 11 2e 68 05 8a 9f b4 d0 6f 4b ee 1e 4e
00 18 25 bb 79 13 f6 fe fa cc b5 34 94 0f fb 6f b5 38 52 50 8a ac da 07
c9 c0<br>run0: STA 00:21:5c:88:ea:99 WPA: EAPOL-Key timeout<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state REKEYNEGOTIATING<br>bsd_get_seqnum: addr=00:00:00:00:00:00 idx=1<br>run0: STA 00:21:5c:88:ea:99 WPA: sending 1/2 msg of Group Key Handshake<br>WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=16 keyidx=1 encr=1)<br>Plaintext EAPOL-Key Key Data - hexdump(len=24): [REMOVED]<br>TX
EAPOL - hexdump(len=137): 00 21 5c 88 ea 99 00 0e 8e 20 9f 40 88 8e 02
03 00 77 fe 03 92 00 10 00 00 00 00 00 00 00 04 a2 16 35 10 8a 2e 78 dc
3c 35 60 74 e1 06 73 51 68 94 9a c0 cf fd 27 e4 7a 92 20 90 c8 c5 1a b9
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 b4 52 a0 d0 ad 08 d8 07 1d 34 10 76 76 db 0c 70
00 18 25 bb 79 13 f6 fe fa cc b5 34 94 0f fb 6f b5 38 52 50 8a ac da 07
c9 c0<br>run0: STA 00:21:5c:88:ea:99 WPA: EAPOL-Key timeout<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state REKEYNEGOTIATING<br>bsd_get_seqnum: addr=00:00:00:00:00:00 idx=1<br>run0: STA 00:21:5c:88:ea:99 WPA: sending 1/2 msg of Group Key Handshake<br>WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=16 keyidx=1 encr=1)<br>Plaintext EAPOL-Key Key Data - hexdump(len=24): [REMOVED]<br>TX
EAPOL - hexdump(len=137): 00 21 5c 88 ea 99 00 0e 8e 20 9f 40 88 8e 02
03 00 77 fe 03 92 00 10 00 00 00 00 00 00 00 05 a2 16 35 10 8a 2e 78 dc
3c 35 60 74 e1 06 73 51 68 94 9a c0 cf fd 27 e4 7a 92 20 90 c8 c5 1a b9
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 07 e5 d1 e2 43 10 de 0b 54 a8 ae 6a 6d ba c3 e3
00 18 25 bb 79 13 f6 fe fa cc b5 34 94 0f fb 6f b5 38 52 50 8a ac da 07
c9 c0<br>run0: STA 00:21:5c:88:ea:99 WPA: EAPOL-Key timeout<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state REKEYNEGOTIATING<br>bsd_get_seqnum: addr=00:00:00:00:00:00 idx=1<br>run0: STA 00:21:5c:88:ea:99 WPA: sending 1/2 msg of Group Key Handshake<br>WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=16 keyidx=1 encr=1)<br>Plaintext EAPOL-Key Key Data - hexdump(len=24): [REMOVED]<br>TX
EAPOL - hexdump(len=137): 00 21 5c 88 ea 99 00 0e 8e 20 9f 40 88 8e 02
03 00 77 fe 03 92 00 10 00 00 00 00 00 00 00 06 a2 16 35 10 8a 2e 78 dc
3c 35 60 74 e1 06 73 51 68 94 9a c0 cf fd 27 e4 7a 92 20 90 c8 c5 1a b9
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 33 94 57 25 3f 37 dd d6 37 e6 18 cc c6 24 a3 e9
00 18 25 bb 79 13 f6 fe fa cc b5 34 94 0f fb 6f b5 38 52 50 8a ac da 07
c9 c0<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state KEYERROR<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state DISCONNECT<br>hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:21:5c:88:ea:99 reason 2<br>bsd_sta_deauth: addr=00:21:5c:88:ea:99 reason_code=2<br>WPA: 00:21:5c:88:ea:99 WPA_PTK_GROUP entering state IDLE<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state DISCONNECTED<br>WPA: 00:21:5c:88:ea:99 WPA_PTK entering state INITIALIZE<br>bsd_del_key: addr=00:21:5c:88:ea:99 key_idx=0<br>ioctl[SIOCS80211]: No such file or directory<br>bsd_set_sta_authorized: addr=00:21:5c:88:ea:99 authorized=0<br>ioctl[SIOCS80211]: Invalid argument<br>run0: STA 00:21:5c:88:ea:99 IEEE 802.1X: unauthorizing port<br>Could not set station 00:21:5c:88:ea:99 flags for kernel driver (errno=22).<br>run0: STA 00:21:5c:88:ea:99 IEEE 802.11: deauthenticated due to local deauth request<br>run0: STA 00:21:5c:88:ea:99 IEEE 802.11:
 deassociated<br></div></div><br>



      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> Get your preferred Email name! </a> <br>
Now you can @ymail.com and @rocketmail.com.</body></html>