0

I hope you are well. I was trying to get Ubuntu to recognize my external wireless card, and in the process I managed to somehow disable Ubuntu's ability to read my integrated wireless card... I am working with a Sager computer which had been running (I believe) iwlwifi since I first dual-booted my native Windows 10 machine. I bought a tp-link wn722n USB WIFI adapter, and was hoping to make it work on Ubuntu. I followed the steps here How to install driver for TP-Link TL-WN722N on Ubuntu 14.04? to try to make it work with the 4-step process outlined in the first response. Basically it tells you to download backports (I downloaded the most recent version) and configure ath9k. But afterfollowing those steps I rebooted, after which neither my integrated wifi card nor my tp-link would work. I am running Ubuntu 16.04, but thought the article would help me.

I had read in the forums that the reason it is not working might be because I have installed possibly conflicting drivers. However, now I am not sure what is messing up my integrated connection since I have blacklisted all these in /etc/modprobe.d/blacklist.conf as shown below and it still does not work.

blacklist ath9kblacklist ath9k_htc
blacklist ath9k_common
blacklist ath9k_hw
blacklist ath
blacklist acer-wmi

Here are the outputs of commonly requested commands:

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM87 Express LPC Controller [8086:8c4b] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] [1002:6801] (rev ff)
03:00.0 PCI bridge [0604]: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express] [104c:823e] (rev 01)
04:00.0 FireWire (IEEE 1394) [0c00]: Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] [104c:823f] (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader [10ec:5289] (rev 01)
05:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0a)
06:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)

sudo lshw -C network

*-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.2
       bus info: pci@0000:05:00.2
       logical name: eth0
       version: 0a
       serial: 00:90:f5:ef:4d:49
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8411-1_0.0.3 06/18/12 ip=192.168.1.72 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:27 ioport:d000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
  *-network
       description: Network controller
       product: Wireless 7260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:06:00.0
       version: 73
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=iwlwifi latency=0
       resources: irq:32 memory:f7800000-f7801fff

rfkill list all

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

ifconfig

eth0      Link encap:Ethernet  HWaddr 00:90           inet addr:192.1 Bcast:192.16  Mask:255.255.255.0
          inet6 addr: fe80:d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:247667 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52039 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:356286376 (356.2 MB)  TX bytes:4904430 (4.9 MB)


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1584 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:127816 (127.8 KB)  TX bytes:127816 (127.8 KB)

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

Thank you very much! I appreciate any help I can get at this point to revive my integrated card! I was contemplating trying to run the following commands as suggested by an answer on this threat: Ubuntu 12.10 Wireless Problem; only showing me Bluetooth option. Please let me know if you have other questions. Sorry for the long post, but I wanted to be as thorough as possible.

sudo apt-get install linux linux-headers-generic kernel-package
sudo apt-get purge b43-fwcutter firmware-b43-installer firmware-b43-lpphy-installer firmware-b43legacy-installer bcmwl* 
sudo apt-get install b43-fwcutter firmware-b43-lpphy-installer bcmwl*

Edit:

lsusb

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 003 Device 004: ID 8087:07dc Intel Corp. 
Bus 003 Device 003: ID 147e:1002 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 003 Device 007: ID 2357:010c  
Bus 003 Device 006: ID 5986:0512 Acer, Inc 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

uname -r

4.4.0-83-generic
Kreon
  • 3
  • 1
    It is doubtful that your USB wireless is an ath9k device. Let's verify. Please insert the device and run: lsusb and also: uname -r Edit your question to add the result and I will propose a solution. Welcome to Ask Ubuntu. – chili555 Jul 05 '17 at 01:16

1 Answers1

1

First of all, remove the blacklist entries you added:

blacklist ath9kblacklist ath9k_htc
blacklist ath9k_common
blacklist ath9k_hw
blacklist ath
blacklist acer-wmi

Reboot. With the addition of acer-wmi, your internal device should now be working.

Your USB is this enigmatic entry:

Bus 003 Device 007: ID 2357:010c 

In fact, your 2357:010C device is not the AR9271 version, it is a Realtek chipset: https://wikidevi.com/wiki/TP-LINK_TL-WN722N_v2

I suggest that you install the driver with:

sudo apt-get install git dkms
cd /usr/src
sudo git clone https://github.com/lwfinger/rtl8188eu.git
sudo dkms add ./rtl8188eu
sudo dkms build 8188eu/1.0
sudo dkms install 8188eu/1.0
sudo modprobe 8188eu

You will probably need to blacklist the driver for the internal iwlwifi device in order for the USB to work properly.

You will also need to remove compat-wireless:

cd backports-3.16-1
sudo make uninstall

Reboot.

chili555
  • 60,188
  • Thank you very much! I really appreciate your help. I removed all the entries, but I still cannot connect to the internal device. I think it is because I got that entry from an Askubuntu question which claimed blacklisting that entry would solve the problem. It was a long shot . In fact, I am not running Ubuntu on an Acer computer, but on a Sager NP8275-S (Clevo P170SM). Are you familiar with that hardware? – Kreon Jul 05 '17 at 01:51
  • Let's have a look at: sudo modprobe iwlwifi && dmesg | grep iwl As the result may be lengthy, post it here and give us the link: http://paste.ubuntu.com – chili555 Jul 05 '17 at 02:02
  • I got the external adapter working, thanks! And here is the output. http://paste.ubuntu.com/25022512/ – Kreon Jul 05 '17 at 02:10
  • Wow! You have a ton of these errors: "iwlmvm: disagrees about version of symbol ieee80211_stop_tx_ba_session" It is undoubtedly a result of trying to install the (old) compat 3.16 on your (newer) 4.4 kernel. Please see my edit above in a few moments. – chili555 Jul 05 '17 at 02:15
  • If my answer has been helpful, please accept it. https://askubuntu.com/tour Glad it's all working as expected! – chili555 Jul 05 '17 at 02:34