TP-Link T4UH v2: Difference between revisions
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== build driver == | |||
* download | |||
<blockquote> | |||
<pre> | |||
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> | |||
</blockquote> | |||
* edit rtl8812au/os_dep/linux/usb_intf.c | |||
** change "010d" to "010e": | |||
<blockquote> | |||
<pre> | |||
{USB_DEVICE(0x2357, 0x010d),.driver_info = RTL8812}, /* TP-Link - Archer T4U, AC1300 */ | |||
</pre> | |||
</blockquote> | |||
* compile, install, load | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
cd ~/rtl8812au | |||
make | |||
sudo make install | |||
sudo modprobe 8812au | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
== test == | |||
* loaded? | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
lsmod | grep 8812au | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
* all network devices | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
lshw -class network | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
* device detected? | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
dmesg | grep rtl | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
* device showing up? | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
iwconfig | |||
ifconfig | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
* bring up device and scan for networks | |||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
ifconfig eth1 up | |||
iwlist eth1 scan | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
== Troubleshooting == | |||
* kernel module | |||
<blockquote> | <blockquote> | ||
<pre> | <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