you obviously need the nl80211 hookup patch and pynl80211 at after or at commit e99894da4ba56e0a493cc9e76d20bab8e3b0a96f but then watch: # ip link [indizes 1, 2, 3, 6, 17 snipped] # ./wificonf.py add_virtual_interface 0 moni0 monitor Success # ip link [indizes 1, 2, 3, 6, 17 snipped] 40: moni0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop link/[802] 00:11:24:xx:xx:xx brd ff:ff:ff:ff:ff:ff # ./wificonf.py del_virtual_interface 0 moni0 Success # ip link [indizes 1, 2, 3, 6, 17 snipped] # echo "Yes, it works! :D" Yes, it works! :D Oh and if you do get errors: $ ./wificonf.py add_virtual_interface 0 abc monitor Traceback (most recent call last): File "./wificonf.py", line 210, in ? exit(exec_cmd(items['CMD'][argv[1]], argv[2:])) File "./wificonf.py", line 186, in exec_cmd m = conn.recv() File "/home/johannes/Projects/cfg80211/tool/netlink.py", line 145, in recv raise OSError("Netlink error: %s (%d)"%(os.strerror(errno),errno)) OSError: Netlink error: Operation not permitted (1) Not the nicest error reporting but hey. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part