7

I am a newbie to Ubuntu and this is my first post on this forum, so please excuse any mistake.

Having said that the issue is after I recently installed Ubuntu 18.04 LTS, I noticed that my Wifi signal is very weak. I have 2 OS, Windows 10 and Ubuntu 18.04. While Windows 10 shows proper signal, in Ubuntu the signal is very weak. I have not even seen full signal anytime, even though when I am literally sitting next to the router.

My Driver details are below:

Command:

lspci

Output:

02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

Command:

lspci -nnk | grep -A2 0280

Output:

02:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
Subsystem: AzureWave QCA9377 802.11ac Wireless Network Adapter [1a3b:2231]
Kernel driver in use: ath10k_pci

Command:

sudo lshw -C network

Output:

*-network                 
   description: Wireless interface
   product: QCA9377 802.11ac Wireless Network Adapter
   vendor: Qualcomm Atheros
   physical id: 0
   bus info: pci@0000:02:00.0
   logical name: wlp2s0
   version: 31
   serial: 40:9f:38:d4:ac:c3
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-20-generic firmware=WLAN.TF.1.0-00002-QCATFSWPZ-5 ip=192.168.0.15 latency=0 link=yes multicast=yes wireless=IEEE 802.11
   resources: irq:130 memory:ef000000-ef1fffff

I have tried doing the below but to no affect:

sudo modprobe -rv ath10k_pci
sudo modprobe -v ath10k_pci ant_sel=1

My current kernel version is:

4.15.0-20-generic

Any suggestions to improve this?

4 Answers4

4

Suggest, after you do

sudo modprobe -rv ath10k_pci   

to try

sudo modprobe -v ath10k_pci ant_sel=2

as it might be an RF issue which Windows resolved by using antenna #2.

K7AAY
  • 17,705
3

Run in terminal

sudo tee /etc/modprobe.d/rtl8723be.conf <<< "options rtl8723be ant_sel=2"

This will create a config file to make the setting permanent. Then restart.

2

For all other Qualcomm cards...

check this command lspci | grep 'Network'

if output comes as

02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

Then this solution may work for you

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

ignore if you get any errors or warnings for make

slava
  • 4,085
1

This solution given by Manas worked for me with some minor tweak.

Before executing the wget command check for you linux kernel version.

$ uname -r

Then go to https://mirrors.edge.kernel.org/pub/linux/kernel/projects/backports/stable/ and check for the closest kernel version available there and then download the backports tar file using the following command.

$ wget https://kernel.org/pub/linux/kernel/projects/backports/stable/v5.1.16/backports-5.1.16-1.tar.gz

Here 5.1.16 is the linux kernel version.

Then run these. After successful installation of these three commands reboot.

$ make defconfig-ath10k
$ make
$ sudo make install

Reboot.

nawedx
  • 11
  • 2