Revision history [back]

click to hide/show revision 1
initial version

Alljoyn Onboarding and Alljoyn-On

Hi All,

I am building up Onboarding on these two models:

  1. OpenWRT - Onboardee (onboarding-deamon) <--> Android - Onboarder (Alljoyn-On App)
  2. Ubuntu PC- Onboardee (onboarding-deamon) <--> Android - Onboarder (Alljoyn-On App)

Both model still can not fully bring up.

On 1., I started SoftAP by #hostapd /etc/hostapd.conf on Onboardee site, then start alljoyn-deamon, onboarding-deamon. The Alljoyn-On app could join SoftAP, discovered the unconfigured device. But after input password, I saw log on Onboardee:

===================

wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0xff9ff0 key_idx=0 set_tx=1 seq_len=0 key_len=0 addr=1c:62:b8:86:d6:69

wlan0: STA 1c:62:b8:86:d6:69 IEEE 802.1X: unauthorizing port

WPA: 1c:62:b8:86:d6:69 WPA_PTK_GROUP entering state IDLE

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state AUTHENTICATION

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state AUTHENTICATION2

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state INITPSK

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state PTKSTART

wlan0: STA 1c:62:b8:86:d6:69 WPA: sending 1/4 msg of 4-Way Handshake

WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)

nl80211: Event message available

nl80211: Ignored unknown event (cmd=19)

IEEE 802.1X: 1c:62:b8:86:d6:69 TX status - version=2 type=3 length=95 - ack=1

IEEE 802.1X: 121 bytes from 1c:62:b8:86:d6:69

IEEE 802.1X: version=1 type=3 length=117

wlan0: STA 1c:62:b8:86:d6:69 WPA: received EAPOL-Key frame (2/4 Pairwise)

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state PTKCALCNEGOTIATING

WPA: PTK derivation - A1=00:05:b4:0b:66:e6 A2=1c:62:b8:86:d6:69

WPA: PMK - hexdump(len=32): [REMOVED]

WPA: PTK - hexdump(len=48): [REMOVED]

wlan0: STA 1c:62:b8:86:d6:69 WPA: invalid MIC in msg 2/4 of 4-Way Handshake

wlan0: STA 1c:62:b8:86:d6:69 WPA: EAPOL-Key timeout

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state PTKSTART

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state DISCONNECT

hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 1c:62:b8:86:d6:69 reason 2

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state DISCONNECTED

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state INITIALIZE

wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0xff9ff0 key_idx=0 set_tx=1 seq_len=0 key_len=0

addr=1c:62:b8:86:d6:69

wlan0: STA 1c:62:b8:86:d6:69 IEEE 802.1X: unauthorizing port

wlan0: STA 1c:62:b8:86:d6:69 IEEE 802.11: deauthenticated due to local deauth request

nl80211: Event message available

nl80211: Ignored unknown event (cmd=20)

mgmt::proberesp cb

mgmt::proberesp cb

===================

I guess key message is:

wlan0: STA 1c:62:b8:86:d6:69 WPA: EAPOL-Key timeout

And seems that the SoftAP mode is still running and the Onboardee failed to join Personal AP.

On 2. the Onboardee also can not join Personal AP.

Expectation: SoftAP mode is turned off by onboarding-deamon, Onboardee joins the new Personal AP, where the Alljoyn-On App (Onboarder) is waiting. How?

Another question is that I am unable to interact with OnboardingClient(Onboarder) console interface. Is there a way to command this program to join SoftAP-Onboardee, and work like an Alljoyn-On App?

Thank you for your help.

Alljoyn Onboarding and Alljoyn-On

Hi All,

I am building up Onboarding on these two models:

  1. OpenWRT - Onboardee (onboarding-deamon) <--> Android - Onboarder (Alljoyn-On App)
  2. Ubuntu PC- Onboardee (onboarding-deamon) <--> Android - Onboarder (Alljoyn-On App)

Both model still can have not fully bring brought up.

On 1., I started SoftAP by #hostapd /etc/hostapd.conf on Onboardee site, then start alljoyn-deamon, onboarding-deamon. The Alljoyn-On app could join SoftAP, discovered the unconfigured device. But after input password, I saw log on Onboardee:

===================

wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0xff9ff0 key_idx=0 set_tx=1 seq_len=0 key_len=0 addr=1c:62:b8:86:d6:69

wlan0: STA 1c:62:b8:86:d6:69 IEEE 802.1X: unauthorizing port

WPA: 1c:62:b8:86:d6:69 WPA_PTK_GROUP entering state IDLE

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state AUTHENTICATION

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state AUTHENTICATION2

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state INITPSK

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state PTKSTART

wlan0: STA 1c:62:b8:86:d6:69 WPA: sending 1/4 msg of 4-Way Handshake

WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)

nl80211: Event message available

nl80211: Ignored unknown event (cmd=19)

IEEE 802.1X: 1c:62:b8:86:d6:69 TX status - version=2 type=3 length=95 - ack=1

IEEE 802.1X: 121 bytes from 1c:62:b8:86:d6:69

IEEE 802.1X: version=1 type=3 length=117

wlan0: STA 1c:62:b8:86:d6:69 WPA: received EAPOL-Key frame (2/4 Pairwise)

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state PTKCALCNEGOTIATING

WPA: PTK derivation - A1=00:05:b4:0b:66:e6 A2=1c:62:b8:86:d6:69

WPA: PMK - hexdump(len=32): [REMOVED]

WPA: PTK - hexdump(len=48): [REMOVED]

wlan0: STA 1c:62:b8:86:d6:69 WPA: invalid MIC in msg 2/4 of 4-Way Handshake

wlan0: STA 1c:62:b8:86:d6:69 WPA: EAPOL-Key timeout

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state PTKSTART

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state DISCONNECT

hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 1c:62:b8:86:d6:69 reason 2

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state DISCONNECTED

WPA: 1c:62:b8:86:d6:69 WPA_PTK entering state INITIALIZE

wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0xff9ff0 key_idx=0 set_tx=1 seq_len=0 key_len=0

addr=1c:62:b8:86:d6:69

wlan0: STA 1c:62:b8:86:d6:69 IEEE 802.1X: unauthorizing port

wlan0: STA 1c:62:b8:86:d6:69 IEEE 802.11: deauthenticated due to local deauth request

nl80211: Event message available

nl80211: Ignored unknown event (cmd=20)

mgmt::proberesp cb

mgmt::proberesp cb

===================

I guess key message is:

wlan0: STA 1c:62:b8:86:d6:69 WPA: EAPOL-Key timeout

And seems that the SoftAP mode is still running and the Onboardee failed to join Personal AP.

On 2. the Onboardee also can not join Personal AP.

Expectation: SoftAP mode is turned off by onboarding-deamon, Onboardee joins the new Personal AP, where the Alljoyn-On App (Onboarder) is waiting. How?

Another question is that I am unable to interact with OnboardingClient(Onboarder) console interface. Is there a way to command this program to join SoftAP-Onboardee, and work like an Alljoyn-On App?

Thank you for your help.