TP-Link T4UH v2: Difference between revisions
No edit summary |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
Line 16: | Line 14: | ||
<pre> | <pre> | ||
git clone https://github.com/gnab/rtl8812au | git clone https://github.com/gnab/rtl8812au | ||
or | |||
git clone https://github.com/hanipouspilot/rtl8812au.git | |||
or | |||
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
Line 27: | Line 29: | ||
</blockquote> | </blockquote> | ||
* compile, install, load | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
Line 33: | Line 36: | ||
sudo make install | sudo make install | ||
sudo modprobe 8812au | sudo modprobe 8812au | ||
</pre> | |||
</blockquote> | |||
== test == | |||
* loaded? | |||
<blockquote> | |||
<pre> | |||
lsmod | grep 8812au | |||
</pre> | |||
</blockquote> | |||
* all network devices | |||
<blockquote> | |||
<pre> | |||
lshw -class network | |||
</pre> | |||
</blockquote> | |||
* device detected? | |||
<blockquote> | |||
<pre> | |||
dmesg | grep rtl | |||
</pre> | |||
</blockquote> | |||
* device showing up? | |||
<blockquote> | |||
<pre> | |||
iwconfig | |||
ifconfig | |||
</pre> | |||
</blockquote> | |||
* bring up device and scan for networks | |||
<blockquote> | |||
<pre> | |||
ifconfig eth1 up | |||
iwlist eth1 scan | |||
</pre> | |||
</blockquote> | |||
== Troubleshooting == | |||
* kernel module | |||
<blockquote> | |||
<pre> | |||
cd /lib/modules/$(uname -r)/kernel/drivers/net/wireless | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Latest revision as of 18:09, 12 February 2018
info
- wikidev
- lsusb
ID 2357:010e
build driver
- download
git clone https://github.com/gnab/rtl8812au or git clone https://github.com/hanipouspilot/rtl8812au.git or git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
- edit rtl8812au/os_dep/linux/usb_intf.c
- change "010d" to "010e":
{USB_DEVICE(0x2357, 0x010d),.driver_info = RTL8812}, /* TP-Link - Archer T4U, AC1300 */
- compile, install, load
cd ~/rtl8812au make sudo make install sudo modprobe 8812au
test
- loaded?
lsmod | grep 8812au
- all network devices
lshw -class network
- device detected?
dmesg | grep rtl
- device showing up?
iwconfig ifconfig
- bring up device and scan for networks
ifconfig eth1 up iwlist eth1 scan
Troubleshooting
- kernel module
cd /lib/modules/$(uname -r)/kernel/drivers/net/wireless