Max2Play Home › Forums › General Questions on Hardware and Max2Play Versions › Howto: Raspberry Pi 3 + Realtek 802.11ac (rtl8812au)
- This topic has 4 replies, 5 voices, and was last updated 5 years, 11 months ago by Boba premium.
-
11. Juni 2016 at 23:35 #20661
Hello there,
just installed today max2play on my Raspberry Pi 3 with the Wifi adapter D-Link DWA-182 (Version C) which includes the rt8812au chipset. The module itself is not included in the default max2play images, but after a few steps its ready:
Note: Make sure you have extended the space on your sd card because we need some extra space.
1. Login via ssh onto your max2play device and execute the following steps
2. Download rpi-source [1]
sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update
3. Install bc (required by rpi-source)
sudo apt-get install bc
4. Run rpi-source to get the required kernel headers
rpi-source
5. Get the rtl8812au module sources from github [2]
git clone https://github.com/gnab/rtl8812au.git
6. Change into the rtl8812au directory and edit the Makefile with vi to match following snippet
…
CONFIG_PLATFORM_I386_PC = n
…
CONFIG_PLATFORM_ARM_RPI = y7. Run make and install the module
make
sudo insmod 8812au.ko
sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo depmod
8. Disable the integrated wifi chip [3]
Add the following lines to the file /etc/modprobe.d/raspi-blacklist.conf (if it not exists, then create it)blacklist brcmfmac
blacklist brcmutil9. Reboote
Now the wifi settings can be setup in the wifi tab in the max2play ui.Maybe the module could be included in the next versions of max2play (and also the ability to deactive the integrated wifi chip)? 🙂
Adam
Ressources
14. Juni 2016 at 12:42 #20668Great Howto, Adam!
Thanks for contributing this instruction to our community, I’m sure it will help others using this WiFi dongle. We will consider including it in a future release of Max2Play.19. Juni 2017 at 12:09 #29605Hi Adam,
We are manufacturer of usb wifi adapter, one of our long range usb wifi adapter is integrated with the same Realtek RTL8812AU wifi chip.
We are looking for someone to write an installation manual for installing it on Raspberry PI. And we are willing to pay for this.
Are you interested in this? if yes, please kindly contact us by sending email at [email protected]
Your response is awaited.
Thanks!
Allen17. März 2018 at 12:30 #34492Hi,
Use the method to compile for a trl8822
my dmesg is full off (see below)
Is it a debug mode
Sometehing wring in the compiling
Thanks
[ 114.254059] RTW: rtl8822b_c2h_handler_no_io: C2H, ID=255 seq=9 len=44
[ 116.317199] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save – WIFI-TRAFFIC_BUSY
[ 116.317216] RTW: rtl8822b_set_FwPwrMode_cmd(wlan0): FW LPS mode = 0, SmartPS=2, HW port id=0
[ 118.397134] RTW: traffic_status_watchdog(wlan0) acqiure wake_lock for 4500 ms(tx:0,rx_unicast:34)
[ 120.484628] RTW: rtw_update_ramask => mac_id:0, networkType:0x44, mask:0x00000000ffffe000
==> rssi_level:2, rate_bitmap:0x0000000000000000, shortGIrate=1
==> bw:1, ignore_bw:0x1
[ 120.484657] RTW: rtl8822b_set_FwMacIdConfig_cmd(wlan0): mac_id=0 raid=0x9 bw=1 mask=0x00000000ffffe000
[ 120.484667] RTW: rtl8822b_set_FwMacIdConfig_cmd, mask=0x00000000ffffe000, mac_id=0x0, raid=0x9, shortGIrate=1, power training=00
[ 122.557073] RTW: traffic_status_watchdog(wlan0) acqiure wake_lock for 4500 ms(tx:0,rx_unicast:2392)
[ 124.637061] RTW: traffic_status_watchdog(wlan0) acqiure wake_lock for 4500 ms(tx:0,rx_unicast:345)
[ 126.717044] RTW: traffic_status_watchdog(wlan0) acqiure wake_lock for 4500 ms(tx:0,rx_unicast:585)
[ 128.797069] RTW: traffic_status_watchdog(wlan0) acqiure wake_lock for 4500 ms(tx:1,rx_unicast:44)2. Januar 2019 at 23:07 #43015Hallo
Irgendwie funktioniert die Installation auf meinen Raspberry Pi 3B+ nicht.
Auch Install funktioniert nicht.
WLAN0 wird nicht gestartet 🙁
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface ‚wlan0‘ UP
wlan0: Failed to initialize driver interface
ifup: failed to bring up wlan0Kann mir jemand helfen?
Gruß
Alex -
You must be logged in to reply to this topic.