I have already tried the procedure described in (Drivers for dwa-171 wifi usb dongle) on several RPi's without success. Each attempt fails at the end of the process with "ERROR: could not insert '8812au': Exec format error".
My Linux kernel version is:
Linux raspberrypi 3.18.8+ #763 PREEMPT Sat Feb 28 18:24:36 GMT 2015 armv6l GNU/Linux
readelf -h on the module gives:
ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: ARM Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 991408 (bytes into file) Flags: 0x5000000, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 40 (bytes) Number of section headers: 37 Section header string table index: 34
filename: /home/pi/rtl8812au/8812au.ko version: v4.2.2_7502.20130517 author: Realtek Semiconductor Corp. description: Realtek Wireless Lan Driver license: GPL srcversion: 3424792CB6F8055CE7AE336
The last line in dmesg says:
8812au: disagrees about version of symbol module_layout
Any help to get this working would be greatly appreciated.