Explorer/RaspberryPi/Wifibroadcast/Equipements

From PaparazziUAV
Revision as of 02:29, 12 February 2021 by Xp31 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wifibroadcast have been checked with wifi adapters chips:

  • Ralink RT5572
  • Realtek RTL8812AU

Ground and board transciever can be mixed.

While the RT5572 driver (rt2800lib/usb) is fully operational on the raspbian buster, the RTL8812AU driver (88XXau) need to be compiled

sudo apt-get install raspberrypi-kernel-headers
git clone https://github.com/aircrack-ng/rtl8812au
cd rtl8812au
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
export ARCH=arm
sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
make 
sudo make install

create file with your MAC address
(keep wlan0 for the RPI wifi chip, and wlan1 for the external wifi adpater)
/etc/udev/rules.d/76-netnames.rules

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="b8:27:eb:be:ba:55", NAME="wlan0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:13:ef:f2:18:98", NAME="wlan1"


Explorer/RaspberryPi