0

This is the first time that I am using Ubuntu 14.04 alongside Windows 10 on my Lenovo Z51. And here is the first problem I am facing:

My Ethernet connection is not even recognized in Ubuntu. Plus, no option for WiFi is displayed anywhere. But both of them are connected in Windows. That means, I can't connect to internet in Ubuntu and have to restart my PC with Windows everytime I want to do so. I have tried installing wicd in Ubuntu but to no avail. Also, I removed /var/lib/NetworkManager/NetworkManager.state and restarted network-manager, which made no difference. I tried booting Kali Linux, Cyborg-Hawk and Ubuntu 16.04 from USB, and the problem persisted.

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Network controller [0280]: Qualcomm Atheros QCA6164 802.11ac
Wireless Network Adapter [168c:0041] (rev 20)
Subsystem: Lenovo Device [17aa:3545]

Following screenshots of my Ubuntu desktop will make you the picture more clear.

**OpenScreenshot1** **OpenScreenshot2**

I went to install backath10k-dkms_2.0_all.deb which gave me an error shown in the following screenshot:

**OpenScreenshot3**

Edit: Ubuntu connects to the network by using a USB Externel WiFi Adapter

Checked-out following:

lsmod | grep ath
dmesg | grep ath

**OpenScreenshot4**

Checking for ath10k_pci

**OpenScreenshot5**

Latest : sudo modprobe ath10k_pci && dmesg | grep ath

**OpenScreenshot6**

Chirag Mittal
  • 143
  • 1
  • 1
  • 9

2 Answers2

2

Your pci.id of 168c:0041 is not included in kernel version 4.2.0-xx. Let's install a newer kernel version:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.8-wily/linux-headers-4.4.8-040408-generic_4.4.8-040408.201604200335_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.8-wily/linux-headers-4.4.8-040408_4.4.8-040408.201604200335_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.8-wily/linux-image-4.4.8-040408-generic_4.4.8-040408.201604200335_amd64.deb
sudo dpkg -i linux*.deb
sudo -i
echo "options ath10k_core skip_otp=y"  >  /etc/modprobe.d/ath10k_core.conf
exit

Reboot. If the correct firmware is installed, the wireless should now be working.

chili555
  • 61,330
0

I bought a Lenovo Z70 three weeks ago, and after installing Ubuntu 14.04, I was not able to use my WiFi. I was able to hard wire into the router, however.

Do I understand that you are not able to hard wire into the router?

I did a lot of research, and tried three different suggestions, and finally was able to get my wifi to work.

I followed the answer to this question. I'll spell out the instructions here, though, to hopefully make them simpler for someone new to Ubuntu (as I am).

A disclaimer: I don't understand everything that is happening under the hood. I only know that this fixed my problem.

  1. I did this to get the ath10k firmware (which I was apparently missing):

    sudo apt-get install git git clone https://github.com/sumdog/ath10k-firmware.git cd ath10k-firmware/ath10k sudo cp -r QCA6174/ /lib/firmware/ath10k

  2. To correct the permissions of the firmware file you downloaded:

    sudo chmod +x /lib/firmware/ath10k/QCA6174/hw2.1/*

  3. To unload and re-load the driver:

    sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci

  4. Apparently this is to incorporate a module parameter. I'm not sure what that means, but I did this, and my Wifi works now:

    sudo -i echo "options ath10k_core skip_otp=y" > /etc/modprobe.d/ath10k_core.conf exit

  5. Reboot your computer, and check.

I do have the other resources I collected when I was troubleshooting this. I believe this is a problem that our Lenovo Z-series have.

Let me know if this doesn't do anything for you, and I can look at some of the other resources I found.