Explorer/RaspberryPi/Wifibroadcast/Equipements

From PaparazziUAV
Revision as of 09:05, 30 June 2020 by Xp31 (talk | contribs)
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 install -y dkms

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
sed -i 's/^dkms build/ARCH=arm dkms build/' dkms-install.sh
sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
sudo ./dkms-install.sh

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"

check installation

sudo dkms status
=> rtl8812au, 5.6.4.2, 4.19.75-v7+, armv7l: installed
(sudo dkms remove rtl8812au/5.6.4.2 --all)


Explorer/RaspberryPi