TP-LINK wireless network card official does not provide Linux driver, but in fact the wireless network card driver mainly depends on the chip model used by the wireless network card, in this way, we can download the corresponding driver from the chip vendor's official website (compile and install it by ourselves ).
The system does not seem to have any response when a wireless network card is inserted. Do not worry, enter the command on the terminal
Lsusb
All USB devices will be output, one of which is
Bus 001 device 004: Id 148f: 5370 ralink
Technology, Corp.
This indicates that the wireless network card uses the ralink chip, its ID number is 148f, and the model is 5370. Download the driver from the official ralink website. The corresponding model is rt8070.
/Rt3070/rt3370/rt5370/rt5372 restart. Decompress the package. (to decompress the package twice, we recommend that you right-click the package twice to decompress the package. The file name is long and can be renamed to shorten the package ).
Next, CD goes in, and then cd OS/Linux. There is a Config under it. open the MK file in the editor and find has_wpa_supplicant and has_native_wpa_supplicant_support. set their values to "Y" (without quotation marks ).
Decompress the package to the decompressed directory and use the following two commands to compile and install the driver (root permission required ):
Make
Make install
If no error is reported, the driver is installed.
Enter the sudo modprobe rt5370sta command to load the driver module. Wireless Nic running! Note that the system must be reloaded every time it is started.