Results 1 to 8 of 8

Thread: Install Wireless Adapter Assistance

  1. #1
    Join Date
    2015-Sep
    Posts
    9

    Install Wireless Adapter Assistance

    I finally figured how to install kali linux and boot it up. Now the problem is my laptop's default wireless card doesn't support monitor mode and so I ordered a TP-LINK T2UH AC600.
    The problem is that I have no idea how to install it. I've looked up articles, howtos, and just general info on installations and I can't figure out how to install it.
    Of course, I've looked up their website and downloaded the driver for linux.

    http://www.tp-link.com/en/download/A...UH.html#Driver

    Now the problem lies with how do I use the file provided because linux isn't like windows where you just have one setup.exe to run you through everything (Meaning there are just tons of files in there that don't make any sense to me).
    Also I don't know if my adapter was supposed to be automatically detected without installing anything? Just plug n play ya know.
    Any information would on how to install would be greatly appreciated. Thank you for your time.

    EDIT: Okay, so I'm not totally sure if this is correct but I need to compile something to make the driver work? I looked up my specific adapter and it shows that kali linux has a probable chance of being compatible. In the end it might not even be compatible and I might have to order a new adapter. Hopefully this is not the case and i'm sadly still waiting for anyone who can provide any info on my situation.
    Last edited by Auxh; 2015-09-30 at 01:10. Reason: Update

  2. #2
    Join Date
    2015-Sep
    Posts
    3
    Hi Auxh,

    I'm relatively new but I've recently gone through the whole installing a wireless adapter ordeal too.

    Can you tell me more about your setup?
    Are you using Kali on a host PC or as a guest in a virtual machine?

    Did you download the drivers in Iceweasel or are you using the terminal?

  3. #3
    Join Date
    2015-Sep
    Posts
    3
    Did a quick google search: found this -

    Connect to internet by wire, then run in terminal

    sudo apt-get install git build-essential
    git clone https://github.com/Myria-de/mt7610u_...o_20130916.git
    cd mt7610u_wifi_sta_v3002_dpo_20130916
    make
    sudo make install
    sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

    Reboot.

    The dongle should work. The only problem is that you will have to re-install it after each kernel upgrade.

    But if you keep the driver folder mt7610u_wifi_sta_v3002_dpo_20130916, then it will be quite easy.

    You will need to run only

    cd mt7610u_wifi_sta_v3002_dpo_20130916
    make
    sudo make install

    after a kernel upgrade.

    It is also possible to install it using DKMS. In this case it will rebuild automatically on kernel upgrades.


    http://askubuntu.com/questions/67411...ralink-mt7610u

  4. #4
    Join Date
    2015-Sep
    Posts
    9
    Quote Originally Posted by WhiteRat View Post
    Did a quick google search: found this -


    Connect to internet by wire, then run in terminal

    sudo apt-get install git build-essential
    git clone https://github.com/Myria-de/mt7610u_...o_20130916.git
    cd mt7610u_wifi_sta_v3002_dpo_20130916
    make
    sudo make install
    sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

    Reboot.

    The dongle should work. The only problem is that you will have to re-install it after each kernel upgrade.

    But if you keep the driver folder mt7610u_wifi_sta_v3002_dpo_20130916, then it will be quite easy.

    You will need to run only

    cd mt7610u_wifi_sta_v3002_dpo_20130916
    make
    sudo make install

    after a kernel upgrade.

    It is also possible to install it using DKMS. In this case it will rebuild automatically on kernel upgrades.


    http://askubuntu.com/questions/67411...ralink-mt7610u
    Give this man a cookie. I have kali dual booted onto my laptop. At first, I couldn't install anything from apt-get but I figured that problem out with a howto from another section of the forum. Thanks for the explanation WhiteRat! It's very much appreciated. I'll be sure to give you feedback whether this works out or not.

  5. #5
    Join Date
    2015-Sep
    Posts
    9
    Alright .. So I gave two shots at installing the driver and no dice.
    __________________________________________________ ________________________


    __________________________________________________ ________________________

    Inputting those commands gave me *** no targets specified and nomake file found. Stop.
    Whether it is the make or sudo make install

    __________________________________________________ ________________________



    __________________________________________________ _____________________

    Following those commands gave me "No such file or Directory. Stop.", "recipe for target "LINUX" failed, and "*** [LINUX] Error 2"

    Further assistance would be great! -_____-. My guess? There is probably some small alterations since the tut is for ubuntu installations.

  6. #6
    Join Date
    2015-Sep
    Posts
    9
    Bump!

    I guess i'll be more detailed and post the exact result from my inputs. Anyone .. help -____-.

    root@Anthony:~/mt7610u_wifi_sta_v3002_dpo_20130916# make
    make -C tools
    make[1]: Entering directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
    /root/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
    chipset = mt7650u
    chipset = mt7630u
    chipset = mt7610u
    cp -f os/linux/Makefile.6 /root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
    make -C /lib/modules/4.0.0-kali1-amd64/build SUBDIRS=/root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
    make[1]: *** /lib/modules/4.0.0-kali1-amd64/build: No such file or directory. Stop.
    Makefile:405: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2



    root@Anthony:~/mt7610u_wifi_sta_v3002_dpo_20130916# sudo make install
    make -C /root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install
    make[1]: Entering directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
    mkdir: cannot create directory ‘/etc/Wireless’: File exists
    rm -rf /etc/Wireless/RT2870STA
    mkdir /etc/Wireless/RT2870STA
    cp /root/mt7610u_wifi_sta_v3002_dpo_20130916/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
    install -d /lib/modules/4.0.0-kali1-amd64/kernel/drivers/net/wireless/
    install -m 644 -c mt7650u_sta.ko /lib/modules/4.0.0-kali1-amd64/kernel/drivers/net/wireless/
    install: cannot stat ‘mt7650u_sta.ko’: No such file or directory
    Makefile.6:454: recipe for target 'install' failed
    make[1]: *** [install] Error 1
    make[1]: Leaving directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
    Makefile:501: recipe for target 'install' failed
    make: *** [install] Error 2


  7. #7
    Join Date
    2016-Nov
    Posts
    2

    Talking

    Your build failed, then you tried to install.
    I'm further on but still have issues with The TP-Link TU2 USB Adapter.

    Do this to get the driver built:

    In the same directory you were in below.

    Code:
    sudo make clean
    sudo make
    sudo make install
    If there are any errors after the 2nd command ( sudo make ) you need to fix them.

    I'm at the stage where Kali can see the USB device but still struggling to set it up.
    I've posted to ubuntu forums so hopefully I'll get help as well




    Quote Originally Posted by Auxh View Post
    Bump!

    I guess i'll be more detailed and post the exact result from my inputs. Anyone .. help -____-.

    root@Anthony:~/mt7610u_wifi_sta_v3002_dpo_20130916# make
    make -C tools
    make[1]: Entering directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
    /root/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
    chipset = mt7650u
    chipset = mt7630u
    chipset = mt7610u
    cp -f os/linux/Makefile.6 /root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
    make -C /lib/modules/4.0.0-kali1-amd64/build SUBDIRS=/root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
    make[1]: *** /lib/modules/4.0.0-kali1-amd64/build: No such file or directory. Stop.
    Makefile:405: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2



    root@Anthony:~/mt7610u_wifi_sta_v3002_dpo_20130916# sudo make install
    make -C /root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install
    make[1]: Entering directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
    mkdir: cannot create directory ‘/etc/Wireless’: File exists
    rm -rf /etc/Wireless/RT2870STA
    mkdir /etc/Wireless/RT2870STA
    cp /root/mt7610u_wifi_sta_v3002_dpo_20130916/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
    install -d /lib/modules/4.0.0-kali1-amd64/kernel/drivers/net/wireless/
    install -m 644 -c mt7650u_sta.ko /lib/modules/4.0.0-kali1-amd64/kernel/drivers/net/wireless/
    install: cannot stat ‘mt7650u_sta.ko’: No such file or directory
    Makefile.6:454: recipe for target 'install' failed
    make[1]: *** [install] Error 1
    make[1]: Leaving directory '/root/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
    Makefile:501: recipe for target 'install' failed
    make: *** [install] Error 2


  8. #8
    The kernel headers are missing, so you just need to install them, and then you'll have the build folder.
    Code:
    apt-get install linux-headers-amd64
    I had the same error. But after this, you'll have a new error as me, and I couldn't get further, someone PLEASE HELP!

    /root/Downloads/Driver/UTIL/os/linux/../../common/rt_os_util.c:1:0: error: code model kernel does not support PIC mode

    Quote Originally Posted by GeeBawz View Post
    Your build failed, then you tried to install.
    I'm further on but still have issues with The TP-Link TU2 USB Adapter.

    Do this to get the driver built:

    In the same directory you were in below.

    Code:
    sudo make clean
    sudo make
    sudo make install
    If there are any errors after the 2nd command ( sudo make ) you need to fix them.

    I'm at the stage where Kali can see the USB device but still struggling to set it up.
    I've posted to ubuntu forums so hopefully I'll get help as well

Similar Threads

  1. Replies: 3
    Last Post: 2015-04-28, 04:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •