HP Laptop Wifi not working correctly

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
Pepealej
Level 1
Level 1
Posts: 5
Joined: Wed Sep 12, 2018 7:27 pm

HP Laptop Wifi not working correctly

Post by Pepealej » Wed Sep 12, 2018 7:37 pm

Hi! I have just installed Linux Mint 19 Cinnamon in my HP Laptop, and I'm having some issues with my wifi.

I currently have both Windows 10 and Linux Mint installed. With Windows 10, wifi works perfectly. But in Linux Mint, it's not that it doesnt work, but the range of connectivity is about 10 times lower than when I connect to the same network with Windows. What is wrong?

Just in case, here I post the following command prompt:

Code: Select all

lspci -nnk | grep -iA2 net; rfkill list
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
	Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
	Kernel driver in use: rtl8723be
	Kernel modules: rtl8723be
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:832c]
	Kernel driver in use: r8169
	Kernel modules: r8169
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
Thanks for your help!!!

JeremyB
Level 19
Level 19
Posts: 9445
Joined: Fri Feb 21, 2014 8:17 am

Re: HP Laptop Wifi not working correctly

Post by JeremyB » Wed Sep 12, 2018 7:59 pm

Have you set the ant_sel parameter? Post results for

Code: Select all

uname -a; grep [[:alnum:]] /sys/module/rtl8723be/parameters/*

Pepealej
Level 1
Level 1
Posts: 5
Joined: Wed Sep 12, 2018 7:27 pm

Re: HP Laptop Wifi not working correctly

Post by Pepealej » Thu Sep 13, 2018 7:55 pm

Hi JeremyB, here are the results for what you posted:

Code: Select all

Linux Watermelon 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
/sys/module/rtl8723be/parameters/ant_sel:0
/sys/module/rtl8723be/parameters/aspm:1
/sys/module/rtl8723be/parameters/debug_level:0
/sys/module/rtl8723be/parameters/debug_mask:0
/sys/module/rtl8723be/parameters/disable_watchdog:N
/sys/module/rtl8723be/parameters/fwlps:Y
/sys/module/rtl8723be/parameters/ips:Y
/sys/module/rtl8723be/parameters/msi:N
/sys/module/rtl8723be/parameters/swenc:N
/sys/module/rtl8723be/parameters/swlps:N
(Watermelon is the name of my Laptop)

JeremyB
Level 19
Level 19
Posts: 9445
Joined: Fri Feb 21, 2014 8:17 am

Re: HP Laptop Wifi not working correctly

Post by JeremyB » Thu Sep 13, 2018 8:00 pm

Do, in terminal

Code: Select all

echo "options rtl8723be ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723be-ant.conf
Then reboot and use grub menu, advanced options to use an older kernel, press and hold Shift key at boot if you do not normally see grub menu

Pepealej
Level 1
Level 1
Posts: 5
Joined: Wed Sep 12, 2018 7:27 pm

Re: HP Laptop Wifi not working correctly

Post by Pepealej » Thu Sep 13, 2018 8:02 pm

And then what am I supposed to do in the Grub menu? I'm sorry if this is a dumb question, I'm a beginner with Linux.

JeremyB
Level 19
Level 19
Posts: 9445
Joined: Fri Feb 21, 2014 8:17 am

Re: HP Laptop Wifi not working correctly

Post by JeremyB » Thu Sep 13, 2018 8:05 pm

Once you see grub menu, scroll down to advanced options, press enter, then scroll down about 3-4 lines to an older kernel and then press enter to boot into the older kernel

Pepealej
Level 1
Level 1
Posts: 5
Joined: Wed Sep 12, 2018 7:27 pm

Re: HP Laptop Wifi not working correctly

Post by Pepealej » Thu Sep 13, 2018 8:09 pm

An will this fix my problem permanently? Or do I have to run Linux in this way every time I start my laptop?

Pepealej
Level 1
Level 1
Posts: 5
Joined: Wed Sep 12, 2018 7:27 pm

Re: HP Laptop Wifi not working correctly

Post by Pepealej » Thu Sep 13, 2018 8:13 pm

It worked! Thanks JeremyB!

PS: Is there a way of making this work permanently?

jbh911
Level 4
Level 4
Posts: 237
Joined: Mon Dec 05, 2011 4:23 am
Location: Gippsland, VIC AUS

Re: HP Laptop Wifi not working correctly

Post by jbh911 » Thu Sep 13, 2018 9:18 pm

For a permanent fix you need to remove the higher numbered kernel so that your now functional kernel is top of the list and will be selected auto when you boot.
For starters in Terminal

Code: Select all

uname -a
note the kernel number - write it down.
Select Update Manager > View > Linux kernel > Note Caution
> Continue
Select the same group as your kernel on LHS ie 4.4
Delete the higher kernels above your current kernel
Save and or Close out

All being well you will now boot from the current functional kernel.

JeremyB
Level 19
Level 19
Posts: 9445
Joined: Fri Feb 21, 2014 8:17 am

Re: HP Laptop Wifi not working correctly

Post by JeremyB » Fri Sep 14, 2018 6:33 am

jbh911 wrote:
Thu Sep 13, 2018 9:18 pm
For a permanent fix you need to remove the higher numbered kernel so that your now functional kernel is top of the list and will be selected auto when you boot.
For starters in Terminal

Code: Select all

uname -a
note the kernel number - write it down.
Select Update Manager > View > Linux kernel > Note Caution
> Continue
Select the same group as your kernel on LHS ie 4.4
Delete the higher kernels above your current kernel
Save and or Close out

All being well you will now boot from the current functional kernel.
Use those instructions to remove 4.15.0-33 and/or 4.15.0-34 as they are the problem kernels for now

pranavsrivatsav
Level 1
Level 1
Posts: 2
Joined: Sat Sep 15, 2018 2:51 pm

Re: HP Laptop Wifi not working correctly

Post by pranavsrivatsav » Sat Sep 15, 2018 11:40 pm

Have the same issue (Hp laptop realtek rtl8723be)
I tried to boot with the oldest kernel available 4.15.0-20, but to no avail, is there any particular kernel version required?

should i be moving to mint 18.3, is there a fix available there?

I really love mint but cant really live with the weak wifi?

JeremyB
Level 19
Level 19
Posts: 9445
Joined: Fri Feb 21, 2014 8:17 am

Re: HP Laptop Wifi not working correctly

Post by JeremyB » Sun Sep 16, 2018 6:58 am

pranavsrivatsav wrote:
Sat Sep 15, 2018 11:40 pm
Have the same issue (Hp laptop realtek rtl8723be)
I tried to boot with the oldest kernel available 4.15.0-20, but to no avail, is there any particular kernel version required?

should i be moving to mint 18.3, is there a fix available there?

I really love mint but cant really live with the weak wifi?
Does it work better after

Code: Select all

sudo modprobe -r rtl8723be && sleep 10 && sudo modprobe rtl8723be ant_sel=2

pranavsrivatsav
Level 1
Level 1
Posts: 2
Joined: Sat Sep 15, 2018 2:51 pm

Re: HP Laptop Wifi not working correctly

Post by pranavsrivatsav » Mon Sep 17, 2018 2:35 am

No it does not.

JeremyB
Level 19
Level 19
Posts: 9445
Joined: Fri Feb 21, 2014 8:17 am

Re: HP Laptop Wifi not working correctly

Post by JeremyB » Mon Sep 17, 2018 1:18 pm

I wonder if you don't already have a parameter set

Code: Select all

grep [[:alnum:]] /etc/modprobe.d/* | grep rtl8723be

Post Reply

Return to “Wireless”