gnab-rtl8812au/README.md

45 lines
1.3 KiB
Markdown
Raw Normal View History

2013-11-20 20:01:07 +00:00
## Realtek 802.11ac (rtl8812au)
This is a fork of the Realtek 802.11ac (rtl8812au) v4.2.2 (7502.20130507)
driver altered to build on Linux kernel version >= 3.10.
### Purpose
My D-Link DWA-171 wireless dual-band USB adapter needs the Realtek 8812au
driver to work under Linux.
2013-11-21 18:48:29 +00:00
The current rtl8812au version (per nov. 20th 2013) doesn't compile on Linux
kernels >= 3.10 due to a change in the proc entry API, specifically the
deprecation of the `create_proc_entry()` and `create_proc_read_entry()`
2013-11-20 20:01:07 +00:00
functions in favor of the new `proc_create()` function.
2013-11-21 18:48:29 +00:00
### Building
The driver is build by running `make`, and can be tested by loading the
built module using `insmod`:
2013-11-20 20:01:07 +00:00
2013-11-21 18:51:18 +00:00
```sh
$ make
$ sudo insmod 8812au.ko
2013-11-20 20:01:07 +00:00
```
After loading the module, a wireless network interface named __Realtek 802.11n WLAN Adapter__ should be available.
2013-11-21 18:48:29 +00:00
### Installing
Installing the driver is simply a matter of copying the built module
into the correct location and updating module dependencies using `depmod`:
2013-11-21 18:51:18 +00:00
```sh
$ sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
2013-11-21 18:51:18 +00:00
$ sudo depmod
2013-11-21 18:48:29 +00:00
```
The driver module should now be loaded automatically.
2013-11-20 20:01:07 +00:00
### References
- D-Link DWA-171
- [D-Link page](http://www.dlink.com/no/nb/home-solutions/connect/adapters/dwa-171-wireless-ac-dual-band-usb-adapter)
- [wikidevi page](http://wikidevi.com/wiki/D-Link_DWA-171_rev_A1)