Raspberry Pi 3 TP-LINK AC 600 (T2UH) wireless USB adapter (Raspbian Lite)

10,707

I had the same issue. I solved it in 3 steps:

  1. Get the source code for linux from Tp-link website (source code)
  2. Get the right source code of the kernel in use. This very good tutorial was a great help: https://github.com/notro/rpi-source/wiki
  3. Look up in the Makefile in the source code from tp-link, to set up the right platform to compile and fix some minor compiling issues in the source code.

Then continue the tutorial to install the compiled module.

It works fine in 2.4Gz so far.

Share:
10,707

Related videos on Youtube

Rahul
Author by

Rahul

"If you want to travel around the world and be invited to speak at a lot of different places, just write a Unix operating system." - Linus Torvalds

Updated on September 18, 2022

Comments

  • Rahul
    Rahul over 1 year

    I'm trying to install my TP-LINK AC 600 (T2UH) wireless USB adapter on my Raspberry Pi 3b running Raspbian Jessie Lite.

    I was following a guide for Ubuntu but it looks like i'm missing something but I don't know what.
    Below are the steps I followed (without success):

    sudo apt-get install git build-essential
    git clone https://github.com/Myriade/mt7610u_wifi_sta_v3002_dpo_20130916.git
    cd mt7610u_wifi_sta_v3002_dpo_20130916
    make <-- failed
    sudo make install
    sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
    

    Error when running make:

    make[1]: /lib/modules/4.1.19-v7+/build: No such file or directory. Stop. Makefile:403: recipe for target 'LINUX' failed make: [LINUX] Error 2

    I also tried to run sudo apt-get install linux-headers-generic but I ran into the error Package 'linux-headers-generic' has no installation candidate but I'm not sure if I need this?

    Output of lsusb:

    Bus 001 Device 004: ID 148f:761a Ralink Technology, Corp. 
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    

    Can somone please help me get this Wireless USB to work?

    UPDATE

    As requested, here is my sources.list :

    deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
    
    • Admin
      Admin about 8 years
      I'm running the latest Raspbian Lite, which is Jessie.
    • GAD3R
      GAD3R about 8 years
      Can you add the content of your sources.list
  • Julien Vavasseur
    Julien Vavasseur almost 8 years
    Don't forget to login. You can follow this procedure and merge this guest account with your regular: unix.stackexchange.com/help/merging-accounts