Citation :
Access Point mode
-----------------
ifconfig eth0 up iwconfig eth0 mode Master
MAC based access control list in Master mode
------------------------------------------
It is based on a mac list and on a default policy. The possible policies are :
* MAC_POLICY_OPEN = 0 : Accept every client.
* MAC_POLICY_ACCEPT = 1 : Accept everybody except client whose MAC
is in the list.
* MAC_POLICY_REJECT = 2 : Reject everybody except clients in the list.
By default, the card is in MAC_POLICY_OPEN, but you can change it with some
private ioctls :
* iwpriv eth0 setPolicy x where x in {0,1,2}.
* iwpriv eth0 getPolicy
Please note that setting the policy also clears the MAC list.
Here is how to manage the MAC list :
* iwpriv eth0 addMac xx:xx:xx:xx:xx:xx
* iwpriv eth0 delMac xx:xx:xx:xx:xx:xx
You can retrieve the list with :
iwpriv eth0 getMac There are also 2 more commands to kick a client (given its MAC address) or to
kick everybody from your AP.
* iwpriv eth0 kickMac xx:xx:xx:xx:xx:xx
* iwpriv eth0 kickAll
Note : It only kicks clients. They are not banned and can reconnect immediately.
If you want to monitor your card doing its job, just use :
iwevent
|