Modify

Opened 2 years ago

Last modified 12 months ago

#20764 new defect

modify wifi setings from luci deletes nasid used by 802.11r

Reported by: mark@… Owned by:
Priority: normal Milestone:
Component: luci Version: Chaos Calmer 15.05
Keywords: luci 80211r 802.11r nasid PMK-R0 Key Holder identifier Cc:

Description

I am configuring 802.11r by writing values in /etc/config/wireless

config wifi-iface

option device 'radio0'
option mode 'ap'
option ssid 'xxx'
option encryption 'psk2+ccmp'
option key 'xxxxx'
option network 'lan'
option wps_pushbutton '0'
option ieee80211r '1'
option mobility_domain 'c2b1'
option pmk_r1_push '1'
option r1_key_holder '647002bb81b4'
option r0kh 'e8:94:f6:ec:15:60,bca.zxy,00112233445566778899aabbccddee00'
option r1kh 'e8:94:f6:ec:15:60,e8:94:f6:ec:15:60,00112233445566778899aabbccddee11'

option nasid 'abc.xyz'


all is good, however as soon as i modify wifi setting from within luci e.g. change channel, this deletes

option nasid 'abc.xyz'

and wifi fails to start with
Tue Oct 20 10:12:45 2015 daemon.notice netifd: radio0 (1437): Configuration file: /var/run/hostapd-phy0.conf
Tue Oct 20 10:12:45 2015 daemon.notice netifd: radio0 (1437): FT (IEEE 802.11r) requires nas_identifier to be configured as a 1..48 octet string
Tue Oct 20 10:12:45 2015 daemon.notice netifd: radio0 (1437): 1 errors found in configuration file '/var/run/hostapd-phy0.conf'
Tue Oct 20 10:12:45 2015 daemon.notice netifd: radio0 (1437): Failed to set up interface with /var/run/hostapd-phy0.conf
Tue Oct 20 10:12:45 2015 daemon.notice netifd: radio0 (1437): Failed to initialize interface
Tue Oct 20 10:12:45 2015 daemon.notice netifd: radio0 (1437): Device setup failed: HOSTAPD_START_FAILED

I noticed that there is another nasid variable used by radius.. maybe luci is confused between the two?

Attachments (0)

Change History (5)

comment:1 Changed 2 years ago by mark@…

This is using latest CC sources from git

comment:2 Changed 2 years ago by mark@…

This is using latest CC sources from git

comment:3 Changed 2 years ago by anonymous

also in current trunk

comment:4 Changed 22 months ago by anonymous

I am trying to do the same but I don't understand what to write for option r0kh and option r1kh. How have you decided those values? Is "e8:94:f6:ec:15:60" a second AP or the one you're configuring?

Thanks

comment:5 Changed 12 months ago by hnyman

I pushed a fix to LuCI master (for Openwrt master , DD)
with https://github.com/openwrt/luci/commit/f02794f28c343070487bbc794b425f91b675fdb9

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.