Difference between revisions of "Explorer/RaspberryPi/Wifibroadcast/Equipements"

From PaparazziUAV
Jump to navigation Jump to search
Line 6: Line 6:
While the RT5572 driver (rt2800lib/usb) is fully operational on the raspbian buster, the RTL8812AU driver (88XXau) need to be compiled
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
  git clone https://github.com/aircrack-ng/rtl8812au
  cd rtl8812au
  cd rtl8812au
  sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
  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/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
  sed -i 's/^dkms build/ARCH=arm dkms build/' dkms-install.sh
  make
sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
  sudo make install
  sudo ./dkms-install.sh
 
create file with your MAC address <br />
create file with your MAC address <br />
(keep wlan0 for the RPI wifi chip, and wlan1 for the external wifi adpater)<br />
(keep wlan0 for the RPI wifi chip, and wlan1 for the external wifi adpater)<br />

Revision as of 09:21, 11 February 2021

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

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
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"

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