#!/bin/bash

# "make", then    <--- do not skip this, if you skip this, "modprobe rt73" does not work.
# "make install" 

################# TERMINAL 1 ################
echo "Terminal 1"
. ./setvar.sh

airmon-ng start $iface $channel
# for injection
# iwpriv $iface rfmontx 1

#collect data: Never eth1; if you change to eth1, it won't work.
airodump-ng -c $channel --bssid $bssid -w $dir/dump $iface
