Linux Lite Forums

Software - Support => Other => Topic started by: lintek on October 25, 2019, 09:10:59 PM

Title: Internet lag after SUSPEND
Post by: lintek on October 25, 2019, 09:10:59 PM
When I wake my computer up from SUSPEND the internet lags horribly.  I have two IPs and even if I switch from one to the other it doesnt help.

After a reboot, it works normally again.

Seems there are plenty of similar problems for linux folk (listed on a google search) but not sure if any of the fixes apply to LITE.

Any ideas? 
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 29, 2019, 01:38:35 AM
 :(
Title: Re: Internet lag after SUSPEND
Post by: Jerry on October 29, 2019, 01:48:55 AM
What solutions do you find on Google?? Post the links so we can help and guide.
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 29, 2019, 01:39:03 PM
Now I can't find the post I thought might apply - I will keep looking

But when I search "linux internet lag after suspend" on google, there are a number of links to similar problems.
Title: Re: Internet lag after SUSPEND
Post by: TheDead on October 30, 2019, 08:38:53 AM
Hi,

I could be wrong but try and do a search in these forums also.
I have seen it mentionned before but could be elsewhere.. memory... failing... arg.

I "think" this was because it was a broadcom driver issue. But I'm really not sure... maybe it was ralating to a rubber chicken with a pulley in the middle. ;)
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 30, 2019, 02:17:23 PM
Was this thread maybe what you were thinking about?

https://www.linuxliteos.com/forums/other/unable-to-reconnect-to-wlan-when-laptop-lid-is-shut/msg14125/#msg14125

Lately it seems like rather than lag, I simply can't connect to the internet after i wake up from SUSPEND. 
Title: Re: Internet lag after SUSPEND
Post by: Jerry on October 30, 2019, 04:05:13 PM
What network card do you have?

Code: [Select]
inxi -n
WiFi or ethernet connection?

Sent from my Mobile phone using Tapatalk
Title: Re: Internet lag after SUSPEND
Post by: minesheep on October 30, 2019, 05:08:12 PM
https://www.linuxliteos.com/forums/other/can't-connect-to-wifi-'device-not-ready'/
I have read many problems with this wireless card and I have one (with problems).

edit: please notice: my computer can't sometimes connect at all usually it works just fine. so it may be different issue
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 31, 2019, 12:33:49 AM
What network card do you have?

inxi -n

WiFi or ethernet connection?

Sent from my Mobile phone using Tapatalk

Code: [Select]
CPU~Dual core Intel Core i3-2120 (-MT-MCP-) speed/max~1598/3300 MHz Kernel~4.15.0-66-generic x86_64 Up~13:48 Mem~4622.5/7957.8MB HDD~1240.3GB(15.9% used) Procs~216 Client~Shell inxi~2.3.56 

wireless connection

You think installing  would help (like in the thread I linked?)
Title: Re: Internet lag after SUSPEND
Post by: Jerry on October 31, 2019, 12:44:40 AM
You forgot the -n

Code: [Select]
inxi -n
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 31, 2019, 12:56:10 AM
You forgot the -n...

Nah - I just put a space between the - and the n...  here it is:

Code: [Select]
Network:   Card-1: Ralink RT3090 Wireless 802.11n 1T/1R PCIe
           driver: rt2800pci
           IF: wlp3s0 state: up mac: d0:df:9a:a9:d6:d4
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: p5p1 state: down mac: 38:60:77:1e:ee:12
Title: Re: Internet lag after SUSPEND
Post by: Jerry on October 31, 2019, 01:20:33 AM
See if this driver helps - https://launchpad.net/~markus-tisoft/+archive/ubuntu/rt3090/+files/rt3090-dkms_2.4.0.4-0ubuntu0~ppa0_all.deb
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 31, 2019, 01:24:55 AM
Will try and let you know - thank you
Title: Re: Internet lag after SUSPEND
Post by: lintek on October 31, 2019, 11:24:04 AM
Did not work.

This is what install showed:
Code: [Select]
(Reading database ... 284382 files and directories currently installed.)
Preparing to unpack rt3090-dkms_2.4.0.4-0ubuntu0~ppa0_all.deb ...
Removing all DKMS Modules
Done.
Unpacking rt3090-dkms (1:2.4.0.4-0ubuntu0~ppa0) over (1:2.4.0.4-0ubuntu0~ppa0) ...
Setting up rt3090-dkms (1:2.4.0.4-0ubuntu0~ppa0) ...
Adding Module to DKMS build system
Doing initial module build
Error! Bad return status for module build on kernel: 4.15.0-66-generic (x86_64)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
Installing initial module
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rt3090-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-66-generic (x86_64)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
Done.
Title: Re: Internet lag after SUSPEND
Post by: TheDead on November 01, 2019, 10:03:43 AM
Hi,

Reading from them intertubes, seems the Ralink 3090 gives/gave quite some troubles in Windows and Linux.
Thing is, posts date back to Ubuntu 11.04. They mention having better luck with de rt2860 in some cases.
But, that driver was removed from the Kernel a while back it seems.
Also, it seemed to prevent Linux from Suspending/Hibernating and even Shuting down in some cases.

If it's not a laptop, changing the card for a more recent one (+Linux supported) could save you lots of time and trouble ;)

** On a side note, maybe putting powermanagement in your BIOS to S# instead of S4-S5 could help.
Or, just disabling suspend and trying a simple "sleep".
Title: Re: Internet lag after SUSPEND
Post by: lintek on November 02, 2019, 09:25:16 PM
I do have this USB WiFi dongle - A TP-Link TL-WN725N

Here is INXI -N after I plugged it in.

Code: [Select]
Network:   Card-1: Ralink RT3090 Wireless 802.11n 1T/1R PCIe
           driver: rt2800pci
           IF: wlp3s0 state: up mac: d0:df:9a:a9:d6:d4
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: p5p1 state: down mac: 38:60:77:1e:ee:12
           Card-3: Realtek RTL8188EUS 802.11n Wireless Network Adapter
           IF: null-if-id state: N/A mac: N/A

Do I need to disable the other WiFi or just leave everything as is?