An Ansible role for compiling the rtl8812au wifi driver for raspbian on the Raspberry Pi
Switch branches/tags
Clone or download

README.md

raspbian-rtl8812au

  • an Ansible role for compiling the rtl8812au wifi driver for raspbian on the Raspberry Pi
  • 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+

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"

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

Read on