hcxdumptool 问题

hcxdumptool 问题
hcxdumptool -o capture.pcapng -i 5ce0c53ef9c7 --enable_status=1 --filterlist_client=filter.txt --filtermode=2


initialization...

failed to backup current interface flags, ioctl(SIOCGIFFLAGS) not supported by driver: No such device

failed to init socket
hcxdumptool need full and exclusive access to the adapter
as well as write permission for the dumpfile
that is not the case
try to use ip link to bring interface down/up
and iw to set monitor mode

terminating...
failed to get interface information: No such device
failed to set interface down: No such device
failed to restore old SIOCSIWMODE: No such device
failed to restore old SIOCSIFFLAGS and to bring interface up: No such device

答案1

阅读错误信息!“ hcxdumptool need full and exclusive access to the adapter as well as write permission for the dumpfile that is not the case”。

这是一个系统级请求,因此必须root通过sudo

sudo hcxdumptool -o capture.pcapng -i 5ce0c53ef9c7 --enable_status=1 --filterlist_client=filter.txt --filtermode=2

相关内容