should be a number of ways to do it using iptables:
http://www.cyberciti.biz/tips/iptables-mac-address-filtering.html
That's a good idea, but I need to stop a specific device from connecting to the router or getting a DHCP lease. Iptables will only block access to the WAN side (Internet). That's why I asked how wireless MAC filtering is handled by the router.
Any other ideas?
what kind of device is handling the DHCP? most DHCP servers allow you to add MAC addresses to a block list so they don't get DHCP at all. but like sfx2000 said you need a strong WPA2 password as the device could still manually enter the address if needed and have access, but most AP software has a way to deny a set of MAC addresses from accessing wifi as well.
And a 10 second google search will give someone the tools to spoof another MAC address so they can connect.
I disble my guest network. I'd rather not give a long boring explanation, but a strong password won't cut it. It's too easy to give the password away, and there are too many low-end users who don't know how to change their password. It might work with individual passwords, but RADIUS seems like massive overkill.Strong WPA2 password will keep wireless devices from being able to attach... and either put a WPA2 password on the Guest network, or disable it all together.
It's an N66 running Merlin. DHCP is fine, but it's too easy to get around it by defining a static IP. In any case, that's not what I'm trying to accomplish.What kind of device is handling the DHCP? most DHCP servers allow you to add MAC addresses to a block list so they don't get DHCP at all.
Exactly, that's why I asked how wireless MAC filtering is implemented. To block/unblock an address, I have to make six changes - three routers with both 2.4 and 5GHz. It's a pain in the butt, so I want to do it with scripting via SSH.Most AP software has a way to deny a set of MAC addresses from accessing wifi as well.
Agreed, but my users aren't sophisticated enough to do that. And if they are, then God bless them, let them use my Internet. I'll catch them eventually.And a 10 second google search will give someone the tools to spoof another MAC address so they can connect.
My first two rules of IT: No repeaters and no WPS. "We won't talk about broken WPS schemes (e.g. Reaver and others), Friends don't let friends use WPS in any event...
The easiest way to do it is with wireless MAC filtering.
There are 33 users on the network, all of whom are trustworthy. And yet, the password has leaked out. It's inevitable. I can't keep changing the password because many of the users don't know how to change the password on their devices, and I don't want to have to change it for them.the easiest way is to put in a strong WPA2 passphrase, and not share it with devices/people you don't trust.
The MAC filtering is working great, and it's the easiest way to handle my problem. I just need a better way to make the changes.MAC filters are a waste of time/energy better spent on other things.
There are 33 users on the network, all of whom are trustworthy. And yet, the password has leaked out. It's inevitable. I can't keep changing the password because many of the users don't know how to change the password on their devices, and I don't want to have to change it for them.
Uhm, at least one isn't (trustworthy).
The MAC filtering is controlled by some nvram variables that are read by the wireless drivers when they are started. Unfortunately, the format of these vars has changed between firmware levels, so you need to follow the format for the level you are running.Do you know how to control wireless MAC filtering from the shell?
Looks like we crossed messages.The MAC filtering is controlled by some nvram variables that are read by the wireless drivers when they are started.
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
ESP32 - WiFI MAC design concepts (Open Source) | General Wi-Fi Discussion | 1 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!