LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2022, 05:09 AM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
why ip addr & nmcli output result 30 over seconds later on a live iso


Recently i have mpv problem after updated manjaro kde.
Now MPV just doesn't work anymore even after several times of reboot.
I even force uninstall mplayer, mpv and smplayer the reinstall mpv to no fix.
Hence i try to run manjaro live os that i have burnt into usb stick (1 year ago), to install mpv on the live os to see if it works.
Successfully installed MPV from remote depo.
However i put the system to "sleep" when i left the system.

After wake up , the desktop has got no more ethernet connection to internet. **i have experienced this WOL issue on this distro before, i know this bug exist.
However i forgot how to fix it.

I wanted to try out these 2 originally available network tool on the system:
$ ip addr
and
$nmcli
I found out the
Code:
ip addr
command too forever to output result, it just hanging there chilling.

and with
Code:
nmcli
tool, it took around 30secs to 1 minute to give output.

Anybody know why does it takes so long to produce any output (if any output at all) ?

I would like to know the reason behind all these..
and hopefully able to enable the network connection so that i can continue to use it to find some info while troubleshoot mpv.


ps: I wonder is it again have to do with IP6 issue that causing the nmcli and ip tool behave so bad ?

Thx

By the way "inxi -N" shows that i have 2 ethernet device. I am sure they are all functioning physically.
*i wouldnt' type the output here, because the pc involve has got no internet connectivity..
 
Old 01-08-2022, 06:37 AM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
What I have seen here implies that this may be a problem with letting the system sleep or suspend. I seem to recall that others have solved it by never sleeping but instead doing a full shutdown and a clean restart.

While I don't use manjaro I would suggest you try this workaround and see if it helps.

I expect the long hang with ip and nmcli is due to the state of the ethernet cards.

Last edited by computersavvy; 01-08-2022 at 06:38 AM.
 
1 members found this post helpful.
Old 01-08-2022, 07:00 AM   #3
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
What I have seen here implies that this may be a problem with letting the system sleep or suspend. I seem to recall that others have solved it by never sleeping but instead doing a full shutdown and a clean restart.

While I don't use manjaro I would suggest you try this workaround and see if it helps.

I expect the long hang with ip and nmcli is due to the state of the ethernet cards.
Thanks for your opinion, That's all i need.
Thanks.

Do you know where i can find the whole list of ethernet driver ? I have read some old similar issue with suspend, and someone responded the driver is not uptodate.. hence i would like to know where they know what is the lastest driver ? .. is there a website to it ?


Code:
https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software
the only version is: r8152 (r8152.53.56-2.15.0.tar.bz2)

while the ethernet driver mentioned in the post was never than that posted on official website realtek :
r8169

Thanks

Last edited by andrewysk; 01-08-2022 at 07:27 AM.
 
Old 01-08-2022, 02:09 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
You can do 'lspci -nn' and look for the adapter there. There should be a part formed like [xxxx:yyyy] and that would be the actual chipset ID for that adapter. Using the value inside the [] will allow you to search for the exact driver.

Some of the newer ethernet cards (of all brands) do not work well with the older drivers and that may be a factor.
 
1 members found this post helpful.
Old 01-13-2022, 03:56 AM   #5
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Thanks @computersavvy for the good info.
 
Old 01-13-2022, 10:59 AM   #6
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
BTW, I just realized that the original question was about network issues after sleeping or suspending when booted from live iso.

Since all configs for the live iso are done and stored in memory it seems likely that a wakeup after sleeping may not properly restored / reconfigure everything. It may also be the reason for the network slowdowns noted since the drivers on the installed system may have been updated from the repo but booting from the iso gives older versions of software than may be in the repos.
 
Old 01-13-2022, 02:35 PM   #7
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
BTW, I just realized that the original question was about network issues after sleeping or suspending when booted from live iso.
Since all configs for the live iso are done and stored in memory it seems likely that a wakeup after sleeping may not properly restored / reconfigure everything. It may also be the reason for the network slowdowns noted since the drivers on the installed system may have been updated from the repo but booting from the iso gives older versions of software than may be in the repos.
Ya, the issue is after sleep.
The rest (about driver) i have no idea, since i wasn't able to upgrade the system. .
As for older version of driver that causes slow in respond.. that should be it.. because it was running totally fine when just started up.. it only happens like that after wake up from sleep.. When i tried $lspci -nn , it also never respond me but just kind of keep waiting for output.

However, since i didn't manage make a brand new live iso to work for testing out mpv player issue (which the whole purpose of the test is to test out if mpv also have problem on the brand new live iso, or it just have problem on my current upgraded desktop) , hence i gave up messing around with it..
I even got a cold pour of water from Manjaro team, they harshly responded me for messing around with live iso as pointless, and even unlisted my thread. lol
 
  


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
can nmcli device status but cannot nmcli connection up redhatwannabe Linux - Networking 4 09-27-2021 02:29 AM
sendmail : changing from addr and reply addr unix1adm AIX 4 09-22-2014 12:17 PM
Unique ID of machine, other than IP-Addr/MAC-Addr to prevent spoofing anupamsaxena Linux - Security 9 12-20-2009 10:58 PM
Obtain IP addr. from MAC addr? Ryand833 Linux - Wireless Networking 3 06-30-2005 01:59 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 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