open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.68k stars 629 forks source link

802.11 packet injection #71

Closed 18845725896peng closed 3 years ago

18845725896peng commented 3 years ago

hello, I ssh to the board and setup internet connection,when I input make, root@analog:~/openwifi/inject_80211# make gcc -Wall -Werror inject_80211.c -o inject_80211 -lpcap In file included from inject_80211.c:22:0: inject_80211.h:6:18: fatal error: pcap.h: No such file or directory

include

              ^

compilation terminated. make: *** [inject_80211] Error 1

JiaoXianjun commented 3 years ago

What is your board type? Are you using our image? Or you create your own image?

18845725896peng commented 3 years ago

I use ZC706 and ad-fmcomms2-ebz and your image

JiaoXianjun commented 3 years ago

When do you download the image?

18845725896peng commented 3 years ago

three months ago ,need I use the newest image?

JiaoXianjun commented 3 years ago

yes. please

18845725896peng commented 3 years ago

thank you, I will try

18845725896peng commented 3 years ago

it works , thank you