This script came from an idea from kameleon in another thread. It will turn on Amber SES led when unauthorized mac is connected. Fill in auth1 , auth2 ..etc with your authorized mac's Note: MAC spoofing is easy so this may not be the best warning! Code: ## Unauthorized Wireless Conn Notice if [ ! -x /tmp/wlnote ] ; then cat > /tmp/wlnote <<EOF #!/bin/sh auth1='<your auth'd mac here>' auth2='<your auth'd mac here>' asstest=$(wl assoclist|grep -ve "$auth1" -ve "$auth2") if [ -n "$asstest" ] ; then led amber on white off logger Unauthorized wireless access attempted! else led amber off white off fi EOF fi chmod +x /tmp/wlnote cru a wlnote "*/2 * * * *" /tmp/wlnote
Why not just use the MAC address filtering built into the firmware? Why make make this into yet another thing you have to monitor and deal with when you could let the router deal with it in a completely automated fashion? Also, for wireless security it's best to just to use WPA with TKIP and a very strong password (extremely long and extremely random).
Why not eat steak for dinner on Thanksgiving instead of turkey? I don't know I just felt like doing it. It doesn't work for me anyways, neither does my other script... driving me nuts I don't know why they don't work.
One of your script is just great: is the one with SES lighting-up when PPPoE connection is made. Keep up the good work and thanks ! :clap: