Wifi connects for a while and then..........

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
SBren
Level 1
Level 1
Posts: 7
Joined: Sun Apr 23, 2017 6:03 am
Location: County Mayo, Ireland

Wifi connects for a while and then..........

Post by SBren » Sun Apr 23, 2017 6:19 am

HP an063 notebook
Mint 18.1 Xfce

OK a strange problem here:

I boot up and connect to my Wifi. Everything works fine.
I check my emails, web pages without problem. All works OK
Then after maybe 10 or 15 minutes I find I can no longer access anything at all. I am still connected to my Wifi but the data is just not getting through.
I disconnect from Wifi and try to reconnect and it wont connect and times out.
I reboot the notebook completely and all is fine again (for a while)

Other PC's on this network do not seem to have the problem

Any ideas what might be going on?

Thanks
Last edited by SBren on Mon Apr 24, 2017 10:04 am, edited 1 time in total.

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

Re: Wifi connects for a while and then..........

Post by JeremyB » Sun Apr 23, 2017 8:28 am

It might be wifi power management causing issues, post the result from terminal for

Code: Select all

lspci -nnk | grep -iA2 net; lshw -c net; iwconfig

SBren
Level 1
Level 1
Posts: 7
Joined: Sun Apr 23, 2017 6:03 am
Location: County Mayo, Ireland

Re: Wifi connects for a while and then..........

Post by SBren » Sun Apr 23, 2017 11:05 am

Thanks :)
Here's the output

Code: Select all

cbdb@laptop ~ $ lspci -nnk | grep -iA2 net; lshw -c net; iwconfig
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
	Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:8305]
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
	DeviceName:  
	Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
	Kernel driver in use: rtl8723be
	Kernel modules: rtl8723be
WARNING: you should run this program as super-user.
  *-network               
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 07
       serial: 30:e1:71:7f:c3:3f
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:36 ioport:3000(size=256) memory:f0c00000-f0c00fff memory:f0800000-f0803fff
  *-network
       description: Wireless interface
       product: RTL8723BE PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlo1
       version: 00
       serial: 3c:a0:67:61:7a:57
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8723be driverversion=4.4.0-53-generic firmware=N/A ip=192.168.2.102 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:41 ioport:2000(size=256) memory:f0b00000-f0b03fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
enp2s0    no wireless extensions.

lo        no wireless extensions.

wlo1      IEEE 802.11bgn  ESSID:"OXCOM"  
          Mode:Managed  Frequency:2.452 GHz  Access Point: 80:1F:02:D7:C6:50   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

cbdb@laptop ~ $ 
Sinead

SBren
Level 1
Level 1
Posts: 7
Joined: Sun Apr 23, 2017 6:03 am
Location: County Mayo, Ireland

Re: Wifi connects for a while and then..........

Post by SBren » Sun Apr 30, 2017 7:00 am

Any ideas about this? it's getting frustrating having to reboot all the time!

What I found out:

Wifi works fine for a period of time.
Eventually I loose connectivity, although WiFi still shows as connected.
If I disconnect and try to reconnect to Wifi it fails. Just goes around and around.......

I get two error messages:
Connection activation failed
(2) Active connection removed before it was initialised
Ideas anyone

Sinead
Last edited by SBren on Mon May 15, 2017 2:46 pm, edited 1 time in total.

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

Re: Wifi connects for a while and then..........

Post by JeremyB » Sun Apr 30, 2017 8:23 am

It could be power management with that chipset, do

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

echo "options rtl8723be ips=N fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
Reboot

User avatar
Flemur
Level 16
Level 16
Posts: 6184
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wifi connects for a while and then..........

Post by Flemur » Sun Apr 30, 2017 12:30 pm

SBren wrote:2 Active connections removed before it was initialised
Do you have more than one antenna?

I just googled [linux "rtl8723be"] and other people have the same issue(s):
https://askubuntu.com/questions/590414/ ... untu-14-04
I had to do something similar for a RTL8101 (r8169 driver?).

Antenna: https://bbs.archlinux.org/viewtopic.php?id=208472
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

daBrewer
Level 1
Level 1
Posts: 27
Joined: Wed Jul 30, 2014 10:14 pm

Re: Wifi connects for a while and then..........

Post by daBrewer » Sun Apr 30, 2017 1:20 pm

I had similar random wifi disconnects with my new Acer Aspire F5-573-55LV laptop which uses a Qualcomm Atheros 0042(rev 31) AC wireless card (ac band 5GHz).
I was wirelessly connecting to my Netgear N450 WNR2500 (n router 2.4GHz) but would loose connection even though Network Manager said I was connected.
Toggling the wifi off then on would reconnect me only to lose connection again.
I was also only getting a link speed of 1Mb/s and only 62%-98% signal strength 8' in front of the router.
My two, much older (g band 2.4GHz), laptops would never loose connection. Had link speeds of 54Mb/s and 98%-100% signal strength consistently.

I logged into my Netgear router and changed my wireless mode from (450Mb/s Performance Mode with Max wireless N speeds of up to 217 Mb/s)
to (217 Mb/s Neighbor Friendly Mode, the default, speed up to 217 Mb/s in the presence of neighboring wireless networks).
I no longer lost wireless connection on the new Acer, but still had only 1Mb/s link speed and poor signal strength.
My two older (g band) laptop's performance remained the same.

So I would suggest logging into your router and try a different wireless mode. It stabilized my connection.

However, I bought a new ASUS AC-1900 RT-AC68U router thinking if both router and laptop were able to connect to the same (5GHz 802.11ac) band my link speed and signal strength would improve. That did not happen. Except link speed is now 6Mb/s, signal strength is still poor, but does not disconnect. My two older laptops still perform the same with out a problem on the new ac router.

Hope this helps.

SBren
Level 1
Level 1
Posts: 7
Joined: Sun Apr 23, 2017 6:03 am
Location: County Mayo, Ireland

Re: Wifi connects for a while and then..........

Post by SBren » Mon May 15, 2017 2:44 pm

JeremyB wrote:It could be power management with that chipset, do

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

echo "options rtl8723be ips=N fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
Reboot
Sorry for the delay in responding, I've been doing a bit more testing when I've had time.

I have not yet tried those commands. Could you tell me exactly what they do?
The reason I ask is that I've discovered something else. This problem appears to be happening mainly when running on battery power. I can't it never happens when running off the mains power adapter but it's certainly not happened to me in quite a number of times when plugged in. If I switch back to battery power then it happens frequently.

Thanks

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

Re: Wifi connects for a while and then..........

Post by JeremyB » Mon May 15, 2017 6:42 pm

Those commands disable some kernel module power saving that usually cause issues

WISEGUYTR
Level 1
Level 1
Posts: 31
Joined: Mon Aug 07, 2017 1:35 pm

Re: Wifi connects for a while and then..........

Post by WISEGUYTR » Tue Sep 04, 2018 8:45 pm

Any updates on this ? I am having similar problem with my Probook 4530s, LM19 Tara.

richard-g8jvm
Level 3
Level 3
Posts: 122
Joined: Fri Jul 26, 2013 12:46 pm

Re: Wifi connects for a while and then..........

Post by richard-g8jvm » Sat Sep 15, 2018 7:11 am

I have a slighly similar problem with this Dell laptop, LM19

Code: Select all

09:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)
	Subsystem: Dell AR8152 v2.0 Fast Ethernet [1028:04a6]
	Kernel driver in use: atl1c
	Kernel modules: atl1c
0c:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Wistron NeWeb Corp. DNXA-95 802.11bgn Wireless Half-size Mini PCIe Card [185f:30af]
	Kernel driver in use: ath9k
WARNING: you should run this program as super-user.
  *-network                 
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:0c:00.0
       logical name: wlp12s0
       version: 01
       serial: 00:1b:b1:5f:6e:b2
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.15.0-34-generic firmware=N/A ip=192.168.1.67 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:f69f0000-f69fffff
  *-network
       description: Ethernet interface
       product: AR8152 v2.0 Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: enp9s0
       version: c1
       serial: f0:4d:a2:a7:3b:20
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.1-NAPI latency=0 link=no multicast=yes port=twisted pair
       resources: irq:26 memory:f68c0000-f68fffff ioport:df00(size=128)
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
lo        no wireless extensions.

wlp12s0   IEEE 802.11  ESSID:"PLUSNET-QTRW"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 34:6B:46:35:29:A0   
          Bit Rate=58.5 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=67/70  Signal level=-43 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:176   Missed beacon:0

enp9s0    no wireless extensions.

richard@richard-Inspiron-N5030:~$ sudo lspci -nnk | grep -iA2 net; lshw -c net; iwconfig
[sudo] password for richard: 
09:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)
	Subsystem: Dell AR8152 v2.0 Fast Ethernet [1028:04a6]
	Kernel driver in use: atl1c
	Kernel modules: atl1c
0c:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Wistron NeWeb Corp. DNXA-95 802.11bgn Wireless Half-size Mini PCIe Card [185f:30af]
	Kernel driver in use: ath9k
WARNING: you should run this program as super-user.
  *-network                 
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:0c:00.0
       logical name: wlp12s0
       version: 01
       serial: 00:1b:b1:5f:6e:b2
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.15.0-34-generic firmware=N/A ip=192.168.1.67 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:f69f0000-f69fffff
  *-network
       description: Ethernet interface
       product: AR8152 v2.0 Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: enp9s0
       version: c1
       serial: f0:4d:a2:a7:3b:20
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.1-NAPI latency=0 link=no multicast=yes port=twisted pair
       resources: irq:26 memory:f68c0000-f68fffff ioport:df00(size=128)
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
lo        no wireless extensions.

wlp12s0   IEEE 802.11  ESSID:"PLUSNET-QTRW"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 34:6B:46:35:29:A0   
          Bit Rate=58.5 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=59/70  Signal level=-51 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:179   Missed beacon:0

enp9s0    no wireless extensions.

My wirless router is a alcatel dsl ( fibre ) , and very limited settings available.
My connection can last hours, sometimes days, and then I loose connection, if I turn wireless off and back on again I just get a dotted bar on the wifi icon on the panel.
The only fix I've found is to power off the router and power on again. which is a pain as other devices are connected on the network.
It only happens with one device, this laptop running LM19.
And its only happened since upgrading to fibre and this new router, which would point to the router, but that would cause problems to other devices which it does not.
I did wonder about DHCP lease time , but changing it has not effect.
While its not connecting and the icon shows a dotted bar, it stll shows all the routers , including mine
weird !
anything known ????

Post Reply

Return to “Wireless”