TP-Link T4UH v2: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:
</pre>
</pre>
</blockquote>
</blockquote>




== build driver ==
== build driver ==
 
* download
<blockquote>
<blockquote>
<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>


* edit rtl8812au/os_dep/linux/usb_intf.c
* edit rtl8812au/os_dep/linux/usb_intf.c
** change "010d" to "010e"
** change "010d" to "010e":
<blockquote>
<blockquote>
<pre>
<pre>
Line 27: Line 29:
</blockquote>
</blockquote>


* compile, install, load
<blockquote>
<pre>
cd ~/rtl8812au
make
sudo make install
sudo modprobe 8812au
</pre>
</blockquote>




== test ==
* loaded?
<blockquote>
<blockquote>
<pre>
<pre>
lsmod | grep 8812au
</pre>
</pre>
</blockquote>
</blockquote>


* all network devices
<blockquote>
<pre>
lshw -class network
</pre>
</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

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

Links