- an Ansible role for compiling the rtl8812au wifi driver for raspbian on the Raspberry Pi
- the chipset is used in wifi USB dongles like the D-Link DWA-171 or the Edimax EW-7811UTC
- has been tested with Raspbian on a
Raspberry Pi 2 Model B and
Raspberry Pi Zero
- Raspbian Jessie release 2016-05-27 using kernel version 4.4.11-v7+
- Raspbian Jessie release 2016-09-23 using kernel version 4.4.21-v7+
- Raspbian Jessie release 2017-01-11 using kernel version 4.4.34-v7+
- Raspbian Jessie release 2017-04-10 using kernel version 4.4.50-v7+
- Raspbian Stretch release 2017-09-07 using kernel version 4.9.41-v7+
- Raspbian Stretch release 2017-11-29 using kernel version 4.9.59-v7+
- Raspbian Stretch (9.4) release 2018-06-27 using kernel version 4.14.50-v7+
- Raspbian Buster (10) release 2019-09-26 using kernel version 4.19.93-v7+
Requirements
- Raspberry Pi with Raspbian OS
- network access to the Raspberry Pi and sshd enabled
- a user with sudo permissions
Install the role via Ansible Galaxy
Typical run:
$ ansible-galaxy install layereight.raspbian-rtl8812au
If you want to install a specific version in a collection with other roles using a role file:
$ ansible-galaxy install -r roles.yml
roles.yml
- name: layereight.raspbian-rtl8812au
src: layereight.raspbian-rtl8812au
version: "1.4.1"
- also see the Ansible Galaxy documentation and the Ansible Galaxy introduction
Role Variables
No variables needed.
Example Playbook
Typical playbook run:
$ ansible-playbook -i inventory rtl8812au.yml
inventory
[raspberrypi]
mypi ansible_host=192.168.0.101 ansible_user=pi ansible_ssh_pass=raspberry
rtl8812au.yml
- hosts: raspberrypi
roles:
- raspbian-rtl8812au