ok here is the problem i am trying to run this script: http://www.foofus.net/~jmk/tools/eaper.py
on backtrack 5 R1 but when ever i try and run it i get this error
>>> wpactrl version 1.0.1 ...
No wpa_ctrl sockets found in /var/run/wpa_supplicant/, aborting.
now i have tried running wpa_supplicant with the argument
wpa_supplicant -u -s -O /var/run/wpa_supplicant
wpa_supplicant -u -s -C /var/run/wpa_supplicant
to no avail. i am assuming the problem is that wpa_supplicant is not creating a control socket at /var/run/wpa_supplicant or at all any ideas? by default it was running with these arguments:
wpa_supplicant -u -s
many thanks in advance: