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

From PaparazziUAV
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:


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
   
   
sudo apt-get install raspberrypi-kernel-headers
  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
  export ARCH=arm
  sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
  sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
  sudo ./dkms-install.sh
make
 
  sudo make install
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)
(keep wlan0 for the RPI wifi chip, and wlan1 for the external wifi adpater)<br />
/etc/udev/rules.d/76-netnames.rules
/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}=="b8:27:eb:be:ba:55", NAME="wlan0"
  SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:13:ef:f2:18:98", NAME="wlan1"
  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)


   
   
Line 34: Line 29:
Explorer_Raspi_Apogee_RT5572.jpg
Explorer_Raspi_Apogee_RT5572.jpg
Explorer_Raspi_Apogee_HDMI_ETH.jpg
Explorer_Raspi_Apogee_HDMI_ETH.jpg
</gallery>
<gallery>
Explorer_RT5572_RTL8812AU_AC1200.jpg
Explorer_RT5572_RTL8812AU_AC1200_open.jpg
Explorer_RT5572_RTL8812AU_AC1200_zoom.jpg
</gallery>
<gallery>
Explorer_RTL8812AU_AC1200_ALFA.jpg
</gallery>
</gallery>


[[Explorer/RaspberryPi]]
[[Explorer/RaspberryPi]]

Latest revision as of 02:29, 12 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

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