xieyaxiongfly / Atheros_CSI_tool_OpenWRT_src

GNU General Public License v2.0
114 stars 53 forks source link

Use correct injector version #54

Open putterer opened 4 years ago

putterer commented 4 years ago

At the moment the makefile points to an old version of the injector that does nothing when being launched (apart from parameter parsing, https://github.com/xieyaxiongfly/lorcon/blob/80be82a9bee088dc9ebd42fd61366b7abe182331/tools/injector.c)

This updates the makefile to point to the newest version.

fpeci commented 3 years ago

I am trying the new injector it is not doing anything ? has only the following options . Am I missing something ?

root@OpenWrt:/tmp# injector Must specify an interface Usage: injector [options] -i specify the interface name -n number of packets to send -c channel to transmit packets on. -s sleep time in usec between packets. -d string indicating driver used on interface Supported LORCON drivers: rtfile Real-time PCAP file source file PCAP file source madwifing Linux madwifi-ng drivers, deprecated by ath5k and ath9k tuntap Linux tuntap virtual interface drivers mac80211 Linux mac80211 kernel drivers, includes all in-kernel drivers on modern systems root@OpenWrt:/tmp#

Geosearchef commented 3 years ago

You need to specify the parameters it's asking for. So call injector -i wlan0 to e.g. specify the interface you want it to run on, same for all the other options.