0

This question already has an answer here:

I have the following problem in Ubuntu Server 16.04:

  • When I am installing Ubuntu from the CD, TP-Link adapter works fine and updates and aditional packages are download.
  • After install, the adapter doesn't work and there's no Internet connection.

If I enter in network interfaces there's no network interface at all.

iwconfig:

wifi0     IEEE 802.11b  ESSID:""  
          Mode:Managed  Access Point: Not-Associated   Bit Rate:2 Mb/s   
          Sensitivity=1/3  
          Retry short limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

enp2s5    IEEE 802.11b  ESSID:""  
          Mode:Managed  Access Point: Not-Associated   Bit Rate:2 Mb/s   
          Sensitivity=1/3  
          Retry short limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-73 dBm  Noise level=-73 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlx90f652e255a4  IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

enp2s10   no wireless extensions.

lsusb:

Bus 001 Device 003: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]
Bus 001 Device 002: ID 13fe:4200 Kingston Technology Company Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  

cat /etc/network/interfaces

This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

How can I fix that?

marked as duplicate by chili555 networking Mar 29 '18 at 20:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Please edit your question to add the result of the terminal commands: lsusb and also: iwconfig and also: cat /etc/network/interfaces – chili555 Mar 29 '18 at 14:18
  • Of course, in the duplicate, substitute wlx90f652e255a4 for wlan0 and substitute your network details if not 192.168.1.xx. – chili555 Mar 29 '18 at 20:10