Bug #409

Missing hostapd values on save

Added by Hammel almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:09 Dec 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:Settings
Target version:PiBox - 0.10.0
Severity:03 - Medium

Description

The following values were in /etc/hostapd.conf, but I'm not sure if they got there from bui-network-config or some other way.

wpa_pairwise=TKIP
macaddr_acl=0
ignore_broadcast_ssid=0
hw_mode=g

When Save is used on the hostap page these values were removed from the conf file.


Related issues

Related to PiBox - Feature #374: Add mac address filtering to hostapd config Closed 10 Aug 2014

Associated revisions

Revision a465652d
Added by Hammel almost 3 years ago

RM #409: The MAC ACL setting is now passed with the normal setAP request so no longer needs a separate defined action in the messaging protocol.

Revision 76cc7a8f
Added by Hammel almost 3 years ago

RM #409: Added support for missing hostapd.conf lines to loadHostAP(). This causes the lines in question to show up anytime updates are applied to that file. Removed support for deprecated message action MA_MFENABLE. Enabling MAC ACL is now port of the original setAP() processing.

Revision 67ff11f9
Added by Hammel almost 3 years ago

RM #409: Pass MAC ACL setting with the rest of the MA_SETAP configuration and drop separate MA_MFENABLE processing.

History

#1 Updated by Hammel almost 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated both piboxd and piboxwww to support passing the state of MAC ACL use in the MA_SETAP action. Then I updated the appropriate parts of the hostap g_slist in piboxd to include the missing lines. This fixes the problem of the missing lines when the web interface is used to configure the hostap setttings.

Tested on the target and all updates pushed upstream.

Closing issue.

Also available in: Atom PDF