Open CGurity opened 4 years ago
BLADERF_FPGA_PATH=../data/hostedx40-latest.rbf
bladeRF-cli -p 1>/dev/null 2>&1
if [ "$?" -ne "0" ]; then
echo -e "No bladeRF devices connected. Assuming UHD device." >&2
uhd_find_devices > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo -e "No UHD device found either"
exit 1
fi
else
echo -e "BladeRF Found"
if [[ bladeRF-cli -v critical -e version | grep -i "FPGA not loaded"
]]; then
if [[ ! -f $BLADERF_FPGA_PATH ]]; then
echo -e "Downloading FPGA for BladeRF"
curl https://www.nuand.com/fpga/hostedx40-latest.rbf > $BLADERF_FPGA_PATH
fi
echo -e "Loading FPGA for BladeRF"
bladeRF-cli -v critical -l $BLADERF_FPGA_PATH > /dev/null
fi
fi
How can I download crocodile hunter to stop dirty sheriffs from tracking my cell phone with stingrays??
According to https://github.com/EFForg/crocodilehunter/commit/0ab5ac52635569912b8d474f9d213d7c61ab141f
We need to install FPGA on our own