RE: mac address blocking question

From: Martin Whitlock (
Date: 2002-09-30 12:40:34 UTC

> iwpriv wlan0 maccmd 1


> iwpriv wlan0 maccmd 4

Kicks all auth macs

> iwpriv wlan0 addmac 01:02:03:04:05:06

Grants this address access to the system.

> Altough when I issue the iwpriv commands, the file
> /proc/net/prism2/wlan0/ap_control changes from this:
> MAC policy: open
> MAC entries: 0
> MAC list:
> to this:
> MAC policy: allow
> MAC entries: 1
> MAC list:
> 01:02:03:04:05:06

Seems OK.

> I can still ping the host I have connected to eth0
What exactly do you mean by this? Your card with address 01:02:03:04:05:06 should still be connected (to wlan0). When setting allow policy all previously connected clients will be un-affected. Then all clients will be kicked by 'maccmd 4', but if you add 01:02:03:04:05:06 to the mac-list directly after, that client will re-associate immediately.


This archive was generated by hypermail 2.1.4.