WIFI goes to sleep

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
carondaniel1957

WIFI goes to sleep

Post by carondaniel1957 »

Good day to all

I'm experiencing a WIFI problem here as it goes asleep by itself and when I turn off the wifi and turn it back on it does not the job as requested.
Therefore the only solution remaining is to warm boot my PC. I use LM18.

Hope someone can help me and shed some light here.

Regards

Daniel
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20135
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: WIFI goes to sleep

Post by Pjotr »

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

Here it is my friend and thanks again.

danielcaron@danielcaron-HP-Pavilion-17-Notebook-PC ~ $ inxi -Fxz
System: Host: danielcaron-HP-Pavilion-17-Notebook-PC Kernel: 4.4.0-31-generic x86_64 (64 bit gcc: 5.3.1)
Desktop: Cinnamon 3.0.7 (Gtk 2.24.30) Distro: Linux Mint 18 Sarah
Machine: System: Hewlett-Packard (portable) product: HP Pavilion 17 Notebook PC v: 096D110800405F00000620180
Mobo: Hewlett-Packard model: 22C7 v: 90.41
Bios: American Megatrends v: F.43 date: 08/19/2015
CPU: Quad core AMD A10-5745M APU with Radeon HD Graphics (-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 16767
clock speeds: max: 2100 MHz 1: 1800 MHz 2: 1500 MHz 3: 1800 MHz
4: 1500 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8610G]
bus-ID: 00:01.0
Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: 1600x900@60.04hz
GLX Renderer: Gallium 0.4 on AMD ARUBA (DRM 2.43.0, LLVM 3.8.0)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
driver: snd_hda_intel bus-ID: 00:14.2
Card-2 Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller
driver: snd_hda_intel bus-ID: 00:01.1
Sound: Advanced Linux Sound Architecture v: k4.4.0-31-generic
Network: Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter
driver: rtl8723be port: e000 bus-ID: 01:00.0
IF: wlo1 state: up mac: <filter>
Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
IF: eno1 state: down mac: <filter>
Drives: HDD Total Size: 2063.3GB (10.6% used)
ID-1: USB /dev/sda model: Expansion size: 1000.2GB
ID-2: /dev/sdb model: ST1000LM024_HN size: 1000.2GB
ID-3: USB /dev/sdc model: DataTraveler_2.0 size: 62.9GB
Partition: ID-1: / size: 73G used: 11G (17%) fs: ext4 dev: /dev/sda4
ID-2: /home size: 832G used: 167G (22%) fs: ext4 dev: /dev/sda5
ID-3: /boot size: 283M used: 108M (41%) fs: ext4 dev: /dev/sda2
ID-4: swap-1 size: 13.96GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 58.1C mobo: N/A gpu: 57.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 252 Uptime: 4:21 Memory: 4036.0/11200.7MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.421) inxi: 2.2.35
danielcaron@danielcaron-HP-Pavilion-17-Notebook-PC ~ $
Last edited by carondaniel1957 on Mon Aug 01, 2016 2:38 pm, edited 2 times in total.
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

I think it look better that way

Code: Select all

danielcaron@danielcaron-HP-Pavilion-17-Notebook-PC ~ $ inxi -Fxz
System:    Host: danielcaron-HP-Pavilion-17-Notebook-PC Kernel: 4.4.0-31-generic x86_64 (64 bit gcc: 5.3.1)
           Desktop: Cinnamon 3.0.7 (Gtk 2.24.30) Distro: Linux Mint 18 Sarah
Machine:   System: Hewlett-Packard (portable) product: HP Pavilion 17 Notebook PC v: 096D110800405F00000620180
           Mobo: Hewlett-Packard model: 22C7 v: 90.41
           Bios: American Megatrends v: F.43 date: 08/19/2015
CPU:       Quad core AMD A10-5745M APU with Radeon HD Graphics (-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 16767
           clock speeds: max: 2100 MHz 1: 1800 MHz 2: 1500 MHz 3: 1800 MHz
           4: 1500 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8610G]
           bus-ID: 00:01.0
           Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.04hz
           GLX Renderer: Gallium 0.4 on AMD ARUBA (DRM 2.43.0, LLVM 3.8.0)
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel bus-ID: 00:14.2
           Card-2 Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture v: k4.4.0-31-generic
Network:   Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: e000 bus-ID: 01:00.0
           IF: wlo1 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
           IF: eno1 state: down mac: <filter>
Drives:    HDD Total Size: 2063.3GB (10.6% used)
           ID-1: USB /dev/sda model: Expansion size: 1000.2GB
           ID-2: /dev/sdb model: ST1000LM024_HN size: 1000.2GB
           ID-3: USB /dev/sdc model: DataTraveler_2.0 size: 62.9GB
Partition: ID-1: / size: 73G used: 11G (17%) fs: ext4 dev: /dev/sda4
           ID-2: /home size: 832G used: 167G (22%) fs: ext4 dev: /dev/sda5
           ID-3: /boot size: 283M used: 108M (41%) fs: ext4 dev: /dev/sda2
           ID-4: swap-1 size: 13.96GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 58.1C mobo: N/A gpu: 57.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 252 Uptime: 4:21 Memory: 4036.0/11200.7MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.421) inxi: 2.2.35 
danielcaron@danielcaron-HP-Pavilion-17-Notebook-PC ~ $ 
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: WIFI goes to sleep

Post by austin.texas »

It sounds like you have the same problem that I had, where it would not connect reliably after SUSPEND.
The solution is here :arrow: viewtopic.php?f=53&t=226214&p=1194052#p1194731

It is for my wireless: wlp1s6
Yours is: wlo1
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

Ok I created the file root-resume.service with commands that point into it. So if I reboot the problem should be gone now.

Daniel
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI goes to sleep

Post by JeremyB »

The rtl8723be may also need

Code: Select all

echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
To disable power manager on the driver side

Reboot
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

Thanks for that info

After reading some comments regarding power mgt, I am trying something here in the system parameters / Power Mgt screen GUI as I disabled it from there instead of using the terminal. I keep the topics anyway as the file exist now but has been renamed differently so the system will not take it into account for now. Should I need it later on ? I'll update it and rename it as it is suppose to be. I simply removed the extension.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI goes to sleep

Post by JeremyB »

If you check

Code: Select all

iwconfig
and see Power Management: on then use what austin.texas posted

The fwlps parameter in any Realtek PCI(e) chipset has been known to cause issues for a couple years now and it is enabled by default
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

This is what I get:

Code: Select all

lo        no wireless extensions.

wlo1      IEEE 802.11bgn  ESSID:"BELL850"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 40:F2:01:E8:92:D7   
          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=70/70  Signal level=-26 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:273   Missed beacon:0

eno1      no wireless extensions.
and I rebooted my machine and went back if all stayed as I wanted to and YES PW=OFF
Since I did that the connection remains...I'll see in the couple of days what happen.
Cheers
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

Ok I just boot up my PC and it did the same problem. I added the line

Code: Select all

echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
to the end of etc/systemd/system/root-resume.service hoping for the best

Daniel
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI goes to sleep

Post by JeremyB »

That command was meant to be run in terminal, not added to the systemd file
carondaniel1957

Re: WIFI goes to sleep

Post by carondaniel1957 »

Well I'll remove it from the file...it didn't seems to do any bad thing after all.

The problem seems to be when I am using the computer but not the internet. It's like if it took a sleeping pill and need to be shaken up to stay awake.

Daniel
Locked

Return to “Networking”