Auxh
- View Profile
- View Forum Posts
- Private Message
Junior Member
- 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
WhiteRat
- View Profile
- View Forum Posts
- Private Message
Junior Member
- 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?
WhiteRat
- View Profile
- View Forum Posts
- Private Message
Junior Member
- 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.datReboot.
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 installafter a kernel upgrade.
It is also possible to install it using DKMS. In this case it will rebuild automatically on kernel upgrades.
Auxh
- View Profile
- View Forum Posts
- Private Message
Junior Member
- Join Date
- 2015-Sep
- Posts
- 9
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.Originally Posted by WhiteRat
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.datReboot.
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 installafter a kernel upgrade.
It is also possible to install it using DKMS. In this case it will rebuild automatically on kernel upgrades.
Auxh
- View Profile
- View Forum Posts
- Private Message
Junior Member
- Join Date
- 2015-Sep
- Posts
- 9
Alright .. So I gave two shots at installing the driver and no dice.
__________________________________________________ ________________________- mkdir ~/src
- cd ~/src
- git clone https://github.com/Myria-de/mt7610u_...o_20130916.git
- make
- make install
- cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
- reboot
__________________________________________________ ________________________Inputting those commands gave me *** no targets specified and nomake file found. Stop.
Whether it is the make or sudo make install__________________________________________________ ________________________
- 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
__________________________________________________ _____________________
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.
Auxh
- View Profile
- View Forum Posts
- Private Message
Junior Member
- 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 2root@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 2GeeBawz
- View Profile
- View Forum Posts
- Private Message
Junior Member
- Join Date
- 2016-Nov
- Posts
- 2
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.
If there are any errors after the 2nd command ( sudo make ) you need to fix them.Code:
sudo make cleansudo makesudo make install
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 wellOriginally Posted by Auxh
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 2root@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 2The kernel headers are missing, so you just need to install them, and then you'll have the build folder.
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!Code:
apt-get install linux-headers-amd64
/root/Downloads/Driver/UTIL/os/linux/../../common/rt_os_util.c:1:0: error: code model kernel does not support PIC mode
Originally Posted by GeeBawz
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 cleansudo makesudo 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
FAQs
How to install a new wireless network adapter? ›
- 1 Check your existing adapter. Before you install a new network adapter, you should check if your computer already has one, and if it is working properly. ...
- 2 Choose a compatible adapter. ...
- 3 Install the adapter hardware. ...
- 4 Install the adapter software. ...
- 5 Configure the adapter settings. ...
- 6 Update the adapter drivers.
Why Won't My USB Wi-Fi Adapter Work? USB Wi-Fi adapters usually stop working due to driver errors (incorrect drivers being installed or the correct drivers being out of date), insufficient power, or some software glitch. Damaged or dirty hardware can also stop USB Wi-Fi adapters from working correctly.
Why is my wireless adapter disabled? ›Sometimes WiFi adapter is disabled once your network adapter driver is missing, corrupted or outdated. In order to exclude this situation, you can try updating you network adapter driver to the latest version.
How do I enable my wireless adapter on my computer? ›Go to the Start Menu and select Control Panel. Click the Network and Internet category and then select Networking and Sharing Center. From the options on the left-hand side, select Change adapter settings. Right-click on the icon for Wireless Connection and click enable.
How do I manually install a network adapter? ›- Insert the adapter into your computer.
- Download the updated driver and extract it.
- Right click on the Computer Icon, and then click Manage. ...
- Open the Device Manager (Right click the Start button and select Device Manager). ...
- Click Browse my computer for driver software.
In the search box on the taskbar, type device manager, and then select Device Manager from the list of results. Expand Network adapters, and locate the network adapter for your device. Select the network adapter, select Update driver >Search automatically for updated driver software, and then follow the instructions.
How do I fix my wifi adapter problem? ›- Make sure your wireless adapter is on. ...
- Disconnect and reconnect to the wireless network. ...
- Check the configuration of the wireless network connection. ...
- Forget the wireless network and connect again from scratch. ...
- Reboot your access point.
- Step 1: Plug the USB Hub into Your Laptop.
- Step 2: Insert the Wi-Fi Dongle into the USB Hub.
- Step 3: Install the Required Drivers (if applicable)
- Step 4: Connect to a Wireless Network.
- Type 'Device Manager' into the Start Menu search box and select. Alternatively, navigate to 'Control Panel' from the Start Menu, then select 'Devices', 'Connected Devices', 'Device Manager'
- Navigate to 'Network Adapters'
- Right-click the device or devices and choose 'enable'
- Right-click the Start menu button at the bottom left corner of your Desktop screen.
- Select Device Manager. ...
- Select Network Adapters. ...
- Right-click on this driver and you will be presented with a list of options, including Properties, Enable or Disable, and Update.
How do I reset my wireless adapter on my computer? ›
In Windows 10, wireless network adapter can be reset via GUI following "Control Panel\Network and Internet\Network Connections" and selecting "Diagnose" from connection's context menu. If there is a network issue (or wireless adapter is not connected to any network), Windows resets the adapter.
How to install wireless network adapter? ›- Right click Computer, and then click Manage.
- Open Device Manager. ...
- Click Browse my computer for driver software.
- Click on Let me pick from a list of device drivers on my computer.
- Highlight Show All Devices and click on Next.
- Click Have Disk.
- Click Browse.
- Type wmic path win32_networkadapter where index=(index number for wifi adapter) call enable. For the example shown in this article the index number for the wifi adapter is 7, so you would type wmic path win32_networkadapter where index=7 call enable.
- Press Enter. ...
- Close Command Prompt.
The Wi-Fi adapter can now be removed from the laptop. Insert the new Wi-Fi adapter: Now you can install the new adapter. The connectors should slide easily into the vacated slot, then use the retaining screw to secure it in place. Reattach the antenna cables: This is the trickiest part of the whole operation.
Can you just plug in a WiFi adapter? ›The quickest way to get a computer that is lacking a WiFi card is to plug one the USB adapters in and get on the internet. Yes, a USB WiFi adapter will work fine assuming it supports the Operating System you are using.
How do I connect to a new wireless network? ›- Select the Network or Wifi icon in the notification area.
- In the list of networks, choose the network that you want to connect to, and then select Connect.
- Type the security key (often called the password).
- Follow additional instructions if there are any.
- Select Start > Settings > Network & internet > Advanced network settings > Network reset. Open Network & Internet Status settings.
- On the Network reset screen, select Reset now > Yes to confirm.