Getting Started with DPP

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

 



I am trying to do some hostapd basic testing for DPP. I'm looking for some simple steps to follow to provision an Enrollee onto an Access Point.

What I have done:
	• HostAPD
		• Built hostapd with DPP enabled on a Ubuntu box. It functions successfully as an access point.
		• I can run hostapd_cli on that machine and successfully communicate with hostapd.
		• I can run dpp_bootstrap_gen and create the bootstrap information (DPP:yadayada)
	• WPA
		• Built wpa_supplicant with DPP enabled on a Raspberry Pi 3B
		• I can run wpa_cli on the Pi and successfully communicate with wpa_supplicant

Where I am stuck:
	• I don't have an example of the sequence of dpp commands to issue at each end to effect DPP provisioning
	• I tried dpp_listen 2412 on wpa_cli, and it returned OK, but the -dd output on wpa-supplicant said:
		• nl80211: Failed to request remain-on-channel (freq=2412 duration=5000): -1 (Operation not permitted)
		• DPP: Failed to request the driver to remain on channel (2412 MHz) for listen


Can someone provide a sequence of commands for each cli interface to successfully provision the enrollee?


wpa_supplicant.conf:
 ctrl_interface=DIR=/var/run/wpa_supplicant
 ctrl_interface_group=0
 update_config=1
 pmf=2
 dpp_config_processing=2

hostapd.dpp.conf:
 interface=wlp2s0
 #bridge=br0
 driver=nl80211
 logger_syslog=1
 logger_syslog_level=2
 logger_stdout=-1
 logger_stdout_level=2
 ctrl_interface=/var/run/hostapd
 ctrl_interface_group=0
 ssid=uncle-john
 country_code=US
 ieee80211d=1
 ieee80211h=1
 hw_mode=g
 channel=1
 beacon_int=100
 dtim_period=2
 max_num_sta=255
 rts_threshold=-1
 fragm_threshold=-1
 macaddr_acl=0
 auth_algs=1
 ignore_broadcast_ssid=0
 ap_isolate=0
 ieee80211n=1
 require_ht=0
 #eapol_key_index_workaround=0
 #eap_server=0
 #own_ip_addr=127.0.0.1
 wpa=2
 wpa_passphrase=micronets
 wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256 DPP
 wpa_pairwise=CCMP TKIP
 rsn_pairwise=CCMP TKIP
 wpa_strict_rekey=1
 ieee80211w=1
 mbo=1

Thanks,

Steve Johnson
CableLabs


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux