Modify

Opened 19 months ago

Last modified 19 months ago

#22841 new defect

Wpad full seems not to support WPA enterprise / dynamic vlan

Reported by: JGOW Owned by: developers
Priority: normal Milestone: Designated Driver (Trunk)
Component: packages Version: Trunk
Keywords: Cc:

Description

On trunk, I used wpad 2016-06-15-1 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 compiled wpad full somehow does not support dynamic VLANS.

Attachments (0)

Change History (1)

comment:1 Changed 19 months ago by JGOW

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;

}

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.