Page 1 of 6 123 ... LastLast
Results 1 to 10 of 63

Thread: QCA9377 and no wireless network adapter Ubuntu 15.04

Hybrid View

  1. #1
    Join Date
    Nov 2015
    Beans
    5

    QCA9377 and no wireless network adapter Ubuntu 15.04

    I'm using acer e5-47G, I tried the instructions given by dr-cono in http://ubuntuforums.org/showthread.php?t=2300861&page=3 but http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2 is down so I cant wget the tar.bz2.

    for lspci
    02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
    03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)

    wireless-info.txt

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,610
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    I have been trying to work this out for quite some time and I'm stuck because I do not have the hardware. You will need to test for us.

    With a temporary working internet connection, by ethernet, tethered or whatever means possible, open a terminal and do:
    Code:
    sudo apt-get update
    sudo apt-get install linux-headers-generic build-essential
    wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
    tar -zxvf backports-20151120.tar.gz
    cd backports-20151120
    make defconfig-ath10k
    make
    sudo make install
    Reboot and let us see:
    Code:
    dmesg | grep ath
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Jan 2016
    Beans
    1

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    @chili555, man your instruction saved my life, I thank you so much man! im a newbie in ubuntu (I only use ubuntu for programming, already practiced on VMware ), do you know that I installed ubuntu for I guess 10x++ in 1week... 3 nights for searching how the grub 2 to work 'coz im dual booting windows 10 and ubuntu 14, and another 3 nights for my wifi and almost gave up, I thank myself for having "No retreat no surrender" attitude XD THANKS!!! (Lesson learned "go directly to the forum, 'coz not all solution can be found on youtube and google") XD

  4. #4
    Join Date
    Dec 2015
    Beans
    4

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by chili555 View Post
    I have been trying to work this out for quite some time and I'm stuck because I do not have the hardware. You will need to test for us.

    With a temporary working internet connection, by ethernet, tethered or whatever means possible, open a terminal and do:
    Code:
    sudo apt-get update
    sudo apt-get install linux-headers-generic build-essential
    wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
    tar -zxvf backports-20151120.tar.gz
    cd backports-20151120
    make defconfig-ath10k
    make
    sudo make install
    Reboot and let us see:
    Code:
    dmesg | grep ath
    Hi!

    I tried following these steps on an Acer Aspire E15 (E5-573-32IT), but this doesn't help. I managed to get the same output on running these commands, but the WiFi still doesn't function.

    Please find attached the output for running the "wireless-info" bash script. Could someone please provide some insight into how to proceed here?

    Thanks in advance!
    Attached Files Attached Files
    Last edited by Shikhar_Raje; January 20th, 2016 at 05:42 PM. Reason: EDIT: Forgot to add the output of the dmesg command. Please find it attached here. Hope it helps!

  5. #5
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,610
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by Shikhar_Raje View Post
    Hi!

    I tried following these steps on an Acer Aspire E15 (E5-573-32IT), but this doesn't help. I managed to get the same output on running these commands, but the WiFi still doesn't function.

    Please find attached the output for running the "wireless-info" bash script. Could someone please provide some insight into how to proceed here?

    Thanks in advance!
    In dmesg, we see this:
    Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
    The next step is:
    Code:
    sudo mkdir /lib/firmware/ath10k/QCA9377/
    sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.0
    
    sudo apt-get install git
    git clone https://github.com/kvalo/ath10k-firmware.git
    cd ath10k-firmware/QCA9377/hw1.0
    sudo cp board.bin  /lib/firmware/ath10k/QCA9377/hw1.0
    sudo cp firmware-5.bin_WLAN.TF.1.0-00267-1   /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
    sudo modprobe -r ath10k_pci
    sudo modprobe ath10k_pci
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  6. #6
    Join Date
    Dec 2015
    Beans
    4

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by chili555 View Post
    In dmesg, we see this:The next step is:
    Code:
    sudo mkdir /lib/firmware/ath10k/QCA9377/
    sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.0
    
    sudo apt-get install git
    git clone https://github.com/kvalo/ath10k-firmware.git
    cd ath10k-firmware/QCA9377/hw1.0
    sudo cp board.bin  /lib/firmware/ath10k/QCA9377/hw1.0
    sudo cp firmware-5.bin_WLAN.TF.1.0-00267-1   /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
    sudo modprobe -r ath10k_pci
    sudo modprobe ath10k_pci
    Hello, chili555! Thank you for your reply, this finally managed to get the WiFi working! Unlike most others with this problem, I don't much difference in speed between WiFi and Ethernet, and no intermittent loss of connection, either.

    But, could you walk me through what you did here? In the previous steps, I had downloaded the latest kernel, manually selected the wireless driver from that, and installed it. I can't make out what this git command is downloading, and what we did after that.

    Also, I wonder if there was some other driver I was supposed to install? Because, in some of the other folders, I saw some other folders already present (This was while I was tab-autocompleting the two sudo cp commands after the git clone). Particularly, in /lib/firmware, I noticed a folder called "ath6k" in addition to ath10k. Also, inside ath10k, there was a single folder, "QCA988X" already present, containing a folder "hw2.0", with it's own board.bin and firmware.bin files. Is this expected, or did I download the wrong files by mistake?

    Thank you, once again!

  7. #7
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,610
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    But, could you walk me through what you did here? In the previous steps, I had downloaded the latest kernel, manually selected the wireless driver from that, and installed it. I can't make out what this git command is downloading, and what we did after that.
    Many Linux wireless (and other) drivers require firmware. This can be seen in the terminal command:
    Code:
    modinfo ath10k_pci
    Code:
    filename:       /lib/modules/4.2.0-25-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
    firmware:       ath10k/QCA6174/hw3.0/board.bin
    firmware:       ath10k/QCA6174/hw3.0/firmware-5.bin
    firmware:       ath10k/QCA6174/hw3.0/firmware-4.bin
    firmware:       ath10k/QCA6174/hw2.1/board.bin
    firmware:       ath10k/QCA6174/hw2.1/firmware-5.bin
    firmware:       ath10k/QCA6174/hw2.1/firmware-4.bin
    firmware:       ath10k/QCA988X/hw2.0/board.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-5.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-4.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware.bin
    license:        Dual BSD/GPL
    description:    Driver support for Atheros QCA988X PCIe devices
    <snip>
    As we saw in your message logs, the firmware was not present. The git repository is a well-known source for the firmware files. We simply downloaded them and copied the specific files needed to the correct location; /lib/firmware//lib/firmware/ath10k/QCA9377/hw1.0/.
    Because, in some of the other folders, I saw some other folders already present (This was while I was tab-autocompleting the two sudo cp commands after the git clone). Particularly, in /lib/firmware, I noticed a folder called "ath6k" in addition to ath10k. Also, inside ath10k, there was a single folder, "QCA988X" already present, containing a folder "hw2.0", with it's own board.bin and firmware.bin files. Is this expected, or did I download the wrong files by mistake?
    Perfectly normal. No worries.

    There is actually an easier way to do this today and my answer will be a bit different in the future. I assume your wireless is working as expected, so there is no need to do anything further except enjoy!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  8. #8
    Join Date
    Dec 2015
    Beans
    4

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by chili555 View Post
    In dmesg, we see this:The next step is:
    Code:
    sudo mkdir /lib/firmware/ath10k/QCA9377/
    sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.0
    
    sudo apt-get install git
    git clone https://github.com/kvalo/ath10k-firmware.git
    cd ath10k-firmware/QCA9377/hw1.0
    sudo cp board.bin  /lib/firmware/ath10k/QCA9377/hw1.0
    sudo cp firmware-5.bin_WLAN.TF.1.0-00267-1   /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
    sudo modprobe -r ath10k_pci
    sudo modprobe ath10k_pci
    Hello, again, @Chilli555!

    Last night, Elementary OS updated my kernel to "3.19.0-49-generic". This broke the WiFi setup that you had helped me setup previously. I followed the same steps that you had outlined in this thread previously (beginning from downloading the backport from "https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz" till "sudo modprobe ath10k_pci". However, this time around, I receive this error on the last modprobe command:

    Code:
    modprobe: ERROR: could not insert 'ath10k_pci': Invalid argument
    I tried searching around for some solutions for this message. One post (on which you had participated) suggested changing the version number of the backport, but I don't know if that would work. After all, I'm backporting the same kernel module that I did the first time around, and it had worked at that time!

    Could you help me fix this WiFi issue, again? I'd appreciate it very much.

    EDIT: Adding the text files of the instructions from beginning to end, so that you don't have to scroll back in this thread to see what I did. Hope this helps!
    Attached Files Attached Files
    Last edited by Shikhar_Raje; February 14th, 2016 at 09:09 AM.

  9. #9
    Join Date
    Feb 2016
    Beans
    1

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by chili555 View Post
    I have been trying to work this out for quite some time and I'm stuck because I do not have the hardware. You will need to test for us.

    With a temporary working internet connection, by ethernet, tethered or whatever means possible, open a terminal and do:
    Code:
    sudo apt-get update
    sudo apt-get install linux-headers-generic build-essential
    wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
    tar -zxvf backports-20151120.tar.gz
    cd backports-20151120
    make defconfig-ath10k
    make
    sudo make install
    Reboot and let us see:
    Code:
    dmesg | grep ath

    Thanks! This worked!
    Will this work on Linux distributions other than Ubuntu?

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,610
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by Nir_Shalmon View Post
    Thanks! This worked!
    Will this work on Linux distributions other than Ubuntu?
    I haven't any current experience with other distros, however, there is no reason why it shouldn't that I know of. Just be sure to install the prerequisites; make, g++, etc., known in Ubuntu as a meta package build-essential; and the kernel headers, known in Ubuntu as linux-headers-generic.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 1 of 6 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •