LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-02-2020, 11:06 PM   #16
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148

The log snippet you have shared largely shows the process of getting associated successfully. I note the first 3 lines log a disconnection event and a reason code....
Code:
May 02 20:29:24 dell-pc NetworkManager[618]: <warn>  [1588476564.0207] sup-iface[0x55e69ab25110,wlp1s0]: connection disconnected (reason -3)
May 02 20:29:24 dell-pc NetworkManager[618]: <info>  [1588476564.0208] device (wlp1s0): supplicant interface state: completed -> disconnected
May 02 20:29:24 dell-pc NetworkManager[618]: <info>  [1588476564.0208] device (p2p-dev-wlp1s0): supplicant management interface state: completed -> disconnected
Reason code 3 is 'Device is now unmanaged'. Now, sometimes that can arise because another network management framework is being used concurrently, and this can lead to obvious conflicts. However, in your case I'm wondering if this is due to an issue with the wireless device itself. Did you try the suggested config (post #6) as of yet?
 
Old 05-03-2020, 12:06 AM   #17
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
The log snippet you have shared largely shows the process of getting associated successfully. I note the first 3 lines log a disconnection event and a reason code....
Code:
May 02 20:29:24 dell-pc NetworkManager[618]: <warn>  [1588476564.0207] sup-iface[0x55e69ab25110,wlp1s0]: connection disconnected (reason -3)
May 02 20:29:24 dell-pc NetworkManager[618]: <info>  [1588476564.0208] device (wlp1s0): supplicant interface state: completed -> disconnected
May 02 20:29:24 dell-pc NetworkManager[618]: <info>  [1588476564.0208] device (p2p-dev-wlp1s0): supplicant management interface state: completed -> disconnected
Reason code 3 is 'Device is now unmanaged'. Now, sometimes that can arise because another network management framework is being used concurrently, and this can lead to obvious conflicts. However, in your case I'm wondering if this is due to an issue with the wireless device itself. Did you try the suggested config (post #6) as of yet?
I have not yet tried the config file in post #6 yet because I thought this might isolate the problem. I will do so now. BTW this laptop is cable connected to the modem/router (Cisco DPC3825).
 
Old 05-03-2020, 12:43 AM   #18
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
??? Your log is about wireless connectivity. You need to clarify further here.
 
Old 05-03-2020, 01:08 AM   #19
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
??? Your log is about wireless connectivity. You need to clarify further here.
???

My original post said this, which you acknowledged in a subsequent reply. I have never referenced anything but a cabled connection to the router.

Quote:
Coax connected to a Cisco DP3825 wifi router (supplied by my ISP)
No other devices connected to this router.
Wifi transferring data from my iPhone to my computer experiences no problems.
You asked me to run the log and I assumed it would produce what you wanted to look at with respect to a hardwired router connection.
 
Old 05-03-2020, 01:36 AM   #20
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
It's because you described your router as a wifi router and your phone connected vie wifi as well I guess. Your log shows that your wireless is connecting. Disable that to start with, so that we can concentrate solely on your wired ethernet connection.
 
Old 05-03-2020, 02:14 AM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Your USB ethernet device is reported as
Code:
Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
It's likely that USB power management is the issue here. Not all device drivers support it. Here's a thread with an answer that shows how to inhibit it...
https://askubuntu.com/questions/1140...n-ubuntu-18-04

In particular, try doing the following
Code:
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="/&usbcore.autosuspend=-1 /' /etc/default/grub
sudo update-grub
sudo systemctl reboot
then see if the USB ethernet device behaves better for you.
 
1 members found this post helpful.
Old 05-03-2020, 09:52 AM   #22
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
OK thanks. I have run that script and we will see what happens today. It does seem possible that this is a USB power management issue. My laptop does not have an input jack for a standard coax cable from the router so I use an adapter to convert to a USB port. That adapter usually has a small blue led lit to show it is functioning. Lately that led has not been lit or has been intermittent. I'll report back after seeing if this works.
 
Old 05-03-2020, 01:50 PM   #23
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
OK thanks. I have run that script and we will see what happens today. It does seem possible that this is a USB power management issue.
Yes, this is the most likely cause. Anyway, fingers crossed.
Quote:
My laptop does not have an input jack for a standard coax cable from the router
Usually an ethernet port (designed to take ethernet cables with RJ45 connectors).
 
Old 05-04-2020, 09:31 AM   #24
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
That appears to have solved the problem. No internet drops for a day now Which begs the question what caused this in the first place? I have had this laptop running Manjaro-Budgie for about 2 years without issue until about 10 days ago. I haven't installed anything new recently, except updates that Manjaro pushes out, so it would seem that something in one of those triggered the problem.

About the same time, I did discover one bug which emanated from Ubuntu in the Previews Control function of the Budgie DE. It was hogging about 65% of CPU and causing Xorg to take about 70% of CPU, to the point that my CPU was heating up to around 75-80C and the fan was running constantly. I disabled Previews (which I don't use anyway) and that problem resolved. Connected??
 
Old 05-04-2020, 02:13 PM   #25
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
That appears to have solved the problem. No internet drops for a day now
That is good news.
Quote:
Which begs the question what caused this in the first place? I have had this laptop running Manjaro-Budgie for about 2 years without issue until about 10 days ago. I haven't installed anything new recently, except updates that Manjaro pushes out, so it would seem that something in one of those triggered the problem.
Possibly power-management changes within the kernel? I'm not sure. I don't own such a USB NIC device, but what I do know is that some of the drivers cannot cope with USB power management, and therefore it can be disabled on a per-device basis, or completely (as you have now done). Some laptop users install TLP laptop power management. It's very configurable and available for most distros...
https://linrunner.de/tlp/
I'll leave that as en exercise for you to investigate further.

Last edited by ferrari; 05-04-2020 at 02:33 PM.
 
Old 05-04-2020, 02:34 PM   #26
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
I will look into TLP. Again, thank you for all your help. It has been much appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intermittent Internet Connection after Setting up load balancer phani96 Linux - Networking 1 02-25-2011 03:56 AM
Intermittent Internet connection Issues on Kubuntu creature124 Linux - Networking 2 02-01-2008 10:46 AM
Random loss of connectivity with dropped packets indicated - ? rylan76 Linux - Newbie 2 12-31-2006 03:58 AM
Intermittent Internet connection drops mlaverdiere Linux - Networking 2 08-21-2004 06:23 PM
silo overflow - internet connection dropped KaruppuSwamy.T *BSD 1 05-10-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration