Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to use the following command from iw tools: dev <devname> station set <MAC address> plink_action <open|block> like this : iw dev wlan0 station set 30:14:4a:3e:f0:98 plink_action block. And I get the following error: command failed: Invalid argument (-22) . I don't know what I am doing wrong. This is for my adhoc (ibss) mesh network so that I can force multihopping.

I am using PC Alix boards, and an Atheros chipset and ATH5k driver.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

iptables -A INPUT -m mac --mac-source <mac_addr> -j DROP is the way to go. A very very useful tool this.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.