In package/network/services/hostapd/Makefile Disable CONFIG_IBSS_RSN (enables the dynamic vlan code)
In build_dir/target-mips_34kc_musl-1.1.15/hostapd-wpad-full/hostapd-2016-06-15/ hostapd/config_file.c: static int hostapd_parse_das_client(struct hostapd_bss_config *bss, const char *val) { char *secret; secret = os_strchr(val, ' '); if (secret == NULL) return -1; /* truncate ip adress, so ip address does not include secret */ *secret= '\0'; secret++; if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr)) return -1; os_free(bss->radius_das_shared_secret); bss->radius_das_shared_secret = (u8 *) os_strdup(secret); if (bss->radius_das_shared_secret == NULL) return -1; bss->radius_das_shared_secret_len = os_strlen(secret); return 0; } > -----Oorspronkelijk bericht----- > Van: Lede-dev [mailto:lede-dev-boun...@lists.infradead.org] Namens frm > frm > Verzonden: zaterdag 16 juli 2016 12:39 > Aan: lede-dev@lists.infradead.org > Onderwerp: [LEDE-DEV] How to compile hostapd such that there is a full > WPA2 Enterprise auhenticator/supplicant? > > Hi, > > I use wpad 2016-06-15-1 on Lede for WPA Enterprise authentication. > However, I get the following errors: > > Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 30: > invalid DAS client > Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 33: > unknown configuration item 'dynamic_vlan' > Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 34: > unknown configuration item 'vlan_naming' > Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 36: > unknown configuration item 'vlan_tagged_interface' > Tue Jul 12 16:32:02 2016 daemon.notice netifd: radio1 (1095): Line 37: > unknown configuration item 'vlan_file' > > The relevant part of my wireless config file is: > > option vlan_file '/etc/config/hostapd0.vlan' > option vlan_tagged_interface 'eth1' > option vlan_naming '0' > option dynamic_vlan '2' > option dae_client '192.168.1.11' > > The config file works correctly with CC 15.05.1 > > I get the impression that wpad somehow does not support dynamic VLANS. > > What I tried: > - compiled lede myself, with wpad-mini removed and wpad added in the build > - used the following in the makefile > (package/network/services/hostapd/Makefile) cf > https://forum.openwrt.org/viewtopic.php?id=44968 > > DRIVER_MAKEOPTS= \ > CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \ > CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \ > CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \ > CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \ > CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) \ > CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \ > CONFIG_FULL_DYNAMIC_VLAN=y \ > $(if $(CONFIG_WPA_RFKILL_SUPPORT),NEED_RFKILL=y > > However, in both cases wpad/hostapd does not recognize the dynamic_vlan > configs. > > How can I compile hostapd such that there is a full WPA2 Enterprise > auhenticator/supplicant? > > Thanks > > JG > > > _______________________________________________ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev