How to install wifi drivers Tenda model u6

I’m trying to install my wifi adapter Tenda U6 but there are problems. first i open terminal and go to the folder where is install.sh file i run

sh install.sh

and it gave this:

Authentication requested [root] for make driver:
install.sh: 48: [: unexpected operator
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.5.0-kali2-amd64/build M=/home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042  modules
make[1]: Entering directory '/usr/src/linux-headers-5.5.0-kali2-amd64'
  CC [M]  /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/core/rtw_cmd.o
In file included from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/osdep_service.h:41,
                 from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/drv_types.h:32,
                 from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/core/rtw_cmd.c:22:
/home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  273 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  274 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/drv_types.h:35,
                 from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/core/rtw_cmd.c:22:
/home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/wifi.h: At top level:
/home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/osdep_service_linux.h:84,
                 from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/osdep_service.h:41,
                 from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/include/drv_types.h:32,
                 from /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/core/rtw_cmd.c:22:
/usr/src/linux-headers-5.5.0-kali2-common/include/linux/ieee80211.h:1451: note: this is the location of the previous definition
 1451 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.5.0-kali2-common/scripts/Makefile.build:271: /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042/core/rtw_cmd.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.5.0-kali2-common/Makefile:1707: /home/ledd/Desktop/new/driver/rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042] Error 2
make[1]: *** [/usr/src/linux-headers-5.5.0-kali2-common/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.5.0-kali2-amd64'
make: *** [Makefile:1686: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

how can i install this wifi driver?

Hello Lin - and welcome to the Forum.

I am a bit surprised that you need to install any drivers for your wifi adapter - they are usually “plug and play” with Linux.
We need a bit more information about your system, so please open a terminal and post the result of the following command:

inxi -Fx

Also, with the U6 plugged in, please post the output from:

iwlist scan

and tell us also the SSID of your router.

Keith

output from

inxi -Fx

is

bash: inxi: command not found

and

iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn’t support scanning.

wlan0 Scan completed :
Cell 01 - Address: D8…
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=50/70 Signal level=-60 dBm
Encryption key:on
ESSID:“TP-LINK”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000481e05f6d
Extra: Last beacon: 128ms ago
IE: Unknown: 000754502D4C494E4B
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1AEE191FFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1601050000000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C33EE191FFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3401050000000000000000000000000000000000000000
IE: Unknown: DD0600E04C020160
IE: Unknown: DDAB0050F204104A0001101044000102103B0001031047001063041253101920061228AABBCCDDEEFF1021001B5265616C74656B2053656D69636F6E647563746F7220436F72702E1023000752544C387878781024000D45562D323030392D30322D30361042000F3132333435363738393031323334371054000800060050F20400011011001654656E646120576972656C6573732041502045636F731008000226881049000600372A000120
IE: Unknown: 7F080000000000000000
Cell 02 - Address: FC…
Channel:3
Frequency:2.422 GHz (Channel 3)
Quality=28/70 Signal level=-82 dBm
Encryption key:on
ESSID:"Zivkica2 "
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000071d19f23
Extra: Last beacon: 4092ms ago
IE: Unknown: 000A5A69766B696361322020
IE: Unknown: 010882848B962430486C
IE: Unknown: 030103
IE: Unknown: 0706485520010D14
IE: Unknown: 200100
IE: Unknown: 23021100
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 0B0503000F0000
IE: Unknown: 2D1ABC191BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1603080000000000000000000000000000000000000000
IE: Unknown: 7F080400080000000040
IE: Unknown: DD090010180203000C0000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: 46057208010000
Cell 03 - Address: 88…
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=32/70 Signal level=-78 dBm
Encryption key:on
ESSID:“AndroidAP”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000042ba06ab
Extra: Last beacon: 4060ms ago
IE: Unknown: 0009416E64726F69644150
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 32040C121860
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 2D1A210017FF00000000000000000080010000000000000000000000
IE: Unknown: 3D1606080000000000000000000000000000000000000000
IE: Unknown: 7F080400008001000040
IE: Unknown: DD050016328000
IE: Unknown: DD080050F21102000000
IE: Unknown: DD1E00904C0408BF0C3250800FFEFF0000FEFF0000C0050006000000C3020002
IE: Unknown: DD090010180201101C0000
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
Cell 04 - Address: 8C:E0…
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=30/70 Signal level=-80 dBm
Encryption key:on
ESSID:“WLAN_68170A”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000ce35ccb812
Extra: Last beacon: 4028ms ago
IE: Unknown: 000B574C414E5F363831373041
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 0706444520010D14
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101020003A4000027A4000042435E0061215E00
IE: Unknown: 2D1A0C1003FF00000000000000000000000000000000000000000000
IE: Unknown: 3D1606080800000000000000000000000000000000000000
IE: Unknown: DD6F0050F204104A0001101044000102103B00010310470010000000000000100000008CE08168170A102100035A544510230005483230314C1024000831323334353637381042000831323334353637381054000800060050F204000110110005483230314C1008000201AA103C000103
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0A00037F04010000000000
Cell 05 - Address: 70:73…
Channel:10
Frequency:2.457 GHz (Channel 10)
Quality=22/70 Signal level=-88 dBm
Encryption key:on
ESSID:“Bluetooth Keyboard”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000003770347499
Extra: Last beacon: 3864ms ago
IE: Unknown: 0012426C7565746F6F7468204B6579626F617264
IE: Unknown: 010882848B960C121824
IE: Unknown: 03010A
IE: Unknown: 0706415420010D1E
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 2D1AAD511BFFFFFF0000000000000000000000000000000000000000
IE: Unknown: 33027A64
IE: Unknown: 3302510A
IE: Unknown: 3D160A000400000000000000000000000000000000000000
IE: Unknown: 46050200010000
IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
IE: Unknown: DD0700039301750320
IE: Unknown: DD0E0017F207000101067073CBB8C3EB
IE: Unknown: DD0B0017F20100010100000007
Cell 06 - Address: 70…
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=38/70 Signal level=-72 dBm
Encryption key:on
ESSID:“Ghost”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000ef12c50a9
Extra: Last beacon: 3708ms ago
IE: Unknown: 000547686F7374
IE: Unknown: 010882848B962430486C
IE: Unknown: 03010B
IE: Unknown: 0706485520010D14
IE: Unknown: 200100
IE: Unknown: 23021100
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 0B0502000B0000
IE: Unknown: 2D1ABC191BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D160B080400000000000000000000000000000000000000
IE: Unknown: 7F080400080000000040
IE: Unknown: DD090010180202000C0000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: 46057208010000

wlan1 Interface doesn’t support scanning : Network is down

my SSID is Tenda_F10

Your Tenda-U6 wifi adapter appears to be working well and detecting routers, so I don’t think that’s your problem, and you don’t need to install drivers.
You say that your SSID is “Tenda_F10”. Can you confirm that we are talking about the router?
If it is, then that name ought to be listed as an ESSID in the iwlist scan, and it’s not. So it looks like your router is the problem.
Do you have (or can borrow) another PC or wireless device such as a printer to try and connect it with the router?

inxi
You will have to install it:

sudo apt-get install inxi

then run it again:

inxi -Fx

Keith

sorry but i not say that, i want to install second wifi adapter, i’m using laptop and that laptop already have wifi adapter the second adapter that i want to install it is listed as wlan1 on the end of command

iwlist scan
it says that Interface doesn’t support scanning : Network is down. I think this is because it is not installed.

about the SSID, the name was TP-LINK and i changed to Tenda_F10 when i was writing the last post.

As you haven’t used inxi yet I have to guess at the next action.

If there is a wifi symbol at the top of your screen, click on it to reveal the connected adapters.
If the built-in adapter is still connected (expected) and the U6 is shown as present but not connected, then disconnect the old one and connect the U6 by clicking on “Connect to Hidden WiFi Network” and completing the boxes with information about the router, password etc.

If there is no wifi symbol shown, you’ll have to go to System_Settings/Network and work from there.

yes it is shown networks under wlan1 when i click on that icon but it is not connecting with my network it is connecting with other networks but with this network after i completing the boxes shows this (attachment)

The “mismatching interface name” should provide a clue.
I can suggest only that you check very carefully that changing the router ID hasn’t changed anything else.

Just satisfy my curiosity, would you please issue this command and post the result:

iwlist scan | grep ESSID
iwlist scan | grep ESSID

[quote][lo Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

                ESSID:"Tenda_F10"
                ESSID:"Telekom1"
                ESSID:"Telekom-953314"
                ESSID:"Zivkica2  "
                ESSID:"Bluetooth Keyboard"
                ESSID:"Ghost"
                ESSID:"WLAN_68170A"
                ESSID:"Zivkica2  "
                ESSID:"Tenda_F10"
                ESSID:"Ghost"
                ESSID:"Bluetooth Keyboard"

/quote]

Thank you.

I shall have a think about it. In the meantime I suggest that you look again at matching interface names between router and U6 adapter.