Modify

Opened 7 years ago

Last modified 20 months ago

#9103 reopened enhancement

LuCI: Add MAC-Filter tab to Wireless Network page

Reported by: Mosh Owned by:
Priority: normal Milestone: Barrier Breaker 14.07
Component: luci Version: Trunk
Keywords: Cc:

Description

Now mac80211 driver support mac-filtering options.
Let's add gui 4 it in LuCI:
open file /usr/lib/lua/luci/model/cbi/admin_network/wifi.lua
copy 7 lines begins from 234 till 241

	mp = s:taboption("macfilter", ListValue, "macfilter", translate("MAC-Address Filter"))
	mp:value("", translate("disable"))
	mp:value("allow", translate("Allow listed only"))
	mp:value("deny", translate("Allow all except listed"))
	ml = s:taboption("macfilter", DynamicList, "maclist", translate("MAC-List"))
	ml:depends({macfilter="allow"})
	ml:depends({macfilter="deny"})

to line 137 (in MAC80211 Device code section).

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Bartłomiej Zimoń <uzi18@…>

It is already there

comment:2 Changed 6 years ago by swalker

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r6999.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:4 Changed 20 months ago by arjun.agarwal@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Hi All,

I'm using Bleeding Edge openwrt in which I do not see mac filter tab,
can anyone please help me to add this functionality in my GUI.

Add Comment

Modify Ticket

Action
as reopened .
Author


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

 
Note: See TracTickets for help on using tickets.