OpenWrt Forum Archive

Topic: newbie - recommendations for a configuration

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I was hoping someone you recommend a configuration for me.  (I have a wrt54g).  Openwrt is installed an running fine. 

I would like to have the following:

1 - All five ports on the back setup as a switch

2 - The ability for the wifi connection to  MAC filter with the addresses stored on another machine. If the MAC address checks out, you get an ipaddress, and get on the network.  If not, I don't know - no IP address, firewalled, whatever is easiest to keep you off the network.


For #1, the following seemed to work

vlan0ports=0 1 2 3 4 5*
vlan1ports=
lan_ifnames=vlan0 eth1 eth2 eth3
wan_ifnames=vlan1

For #2, I'm at a bit of a loss.  The MAC filtering thing looks like it's all done locally on the wrt54g.

Thanks to anyone who can point me in the right direction.

It looks like the MAC filter needs to be done with chillispot and freeradius.  I'll go look again in the docs

In my opinion mac filter is useless. If someone wants to crack your network, it will at best slow him a bit down (if someone cracks the WEP/WPA key, he can easily use some known mac address from the captured packets).

I don't know any ready to use solutions for #2. Could radius do the job?

The discussion might have continued from here.