Topic: Wireless MAC Filtering (Kamikaze 7.06)
>>> WIRELESS MAC FILTERING GUIDE
1- ipkg install wl (install broadcom wireless driver if not already installed. Not sure if this package is really needed. I think 'WLC' is already installed in base system)
2- vim /etc/init.d/wlmacfilter
|-->
#!/bin/sh /etc/rc.common
# The macfilter 2 means that the filter works in "Allow" mode.
# Other options are: 0 - disabled, or 1 - Deny.
# wlc ifname wl0 maclist "xx:xx:xx:xx:xx:xx xx:xx:xx:xx:xx:xx"
START=47
start() {
wlc ifname wl0 maclist "xx:xx:xx:xx:xx:xx"
wlc ifname wl0 macfilter 2
}
stop() {
wlc ifname wl0 maclist none
wlc ifname wl0 macfilter 0
}
3- chmod 755 /etc/init.d/wlmacfilter
4- /etc/init.d/wlmacfilter enable (this will create symbolic link in /etc/rc.d/S47wlmacfilter to start at BOOT)