LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-18-2020, 06:58 AM   #16
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721

The cable for Ethernet can be hot plugged. However, there are also different qualities of cable, both regarding the twisted pairs of wires within the cable as well as the shielding, or absence thereof, surrounding the wires.
 
Old 11-18-2020, 06:59 AM   #17
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
hazel,

Ethernet connections are hot-pluggable.
 
Old 11-19-2020, 02:18 AM   #18
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Dumb question maybe: would anyone with more than one PC on a home LAN ever intentionally have the router off, except briefly to reset it or test something using it? It seems like there is no functional point hunting for an answer to hazel's question. If I had to guess, my money is on PXE-related, and disabling PXE in BIOS should be a solution. The only time PXE is enabled here is when I've done a BIOS reset, or the CMOS battery died, and I haven't changed it yet.
 
Old 11-19-2020, 04:03 AM   #19
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by mrmazda View Post
Dumb question maybe: would anyone with more than one PC on a home LAN ever intentionally have the router off, except briefly to reset it or test something using it?
I switch everything off when I'm not using it. I switch on the router and the desktop computer together every morning and switch them both off again in the evening. Is that unusual behaviour? Quite apart from everything else, my router seems to lose its internet connection if a long time passes with no traffic on it. The lights still flash but nothing comes through. Then I have to power-cycle it. So it would actually be disadvantageous as well as a waste of electricity if I left it on overnight.

I have a laptop too, but I seldom use it.

As to why I'm pursuing this, the explanation is simple curiosity. I want to know why.

Yesterday I tried booting with the cable connected to the computer but not to the router. That worked. So I think michaelk's SWAG is pretty close to the truth. It's the router that is doing something odd to the cable when it is switched off. I have now switched to a different port on the router and will try the same tricks with that one.
 
Old 11-19-2020, 09:13 AM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Maybe something with the cable, do you have another known good cable you can swap out with?
 
Old 11-19-2020, 09:14 AM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I would expect a BIOS message if it was a PXE failed error. Just to satisfy mrmazda's curiosity and mine now what is the boot order?
 
Old 11-19-2020, 09:26 AM   #22
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I think most people leave their routers on full time. I know I do. I have backups scheduled for the middle of the night or very early AM when I won't be using the computer, so I leave the computer on as well. I also have a security camera and garage door opener connected to the router via wifi. I could do without the opener, but the camera is always on. TBH, you're the first person I've ever heard of who turns off their router, ever, except for temporary moves or troubleshooting. They don't draw much power, and most people don't care anyway. So yes, I would consider that unusual, but not something that should cause any problems. I'm also curious as to why the computer doesn't boot if connected to an unpowered router. That does not compute, to coin a tired phrase. Another thought that occurs is to test if the same happens if connected to the router, but the power cable is not connected. On so many devices, just turning the power switch off does not actually turn them completely off. Does this behavior persist with no possible power to the router?
 
Old 11-19-2020, 09:41 AM   #23
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
That's a lot of new things to try out! As far as the mechanism is concerned, michaelk suggested one that sounds reasonable to me: that the router port I was using has such a high impedance when off that it turns the cable into an aerial and the aerial picks up something that bugs the UEFI program. So we'll see today if using a different port makes any difference. And yes, I do have another cable which I can test. I haven't yet tried with the router unplugged.

If you read my last post again, you will see why leaving the router permanently on is a nono. It has some kind of glitch that makes it lose contact with the net if there is no activity for an hour or so.
 
Old 11-19-2020, 09:47 AM   #24
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Perhaps there is a connection between the symptoms?
 
Old 11-19-2020, 10:29 AM   #25
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Quote:
But I need to know first if ethernet connections are hot-pluggable.
Not suppose to be, but I've never damaged anything doing it.
 
Old 11-19-2020, 10:58 AM   #26
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by teckk View Post
Code:
But I need to know first if ethernet connections are hot-pluggable.
Not suppose to be, but I've never damaged anything doing it.
So your really believe enterprises with mega ethernet switches are by default required to power down their switches and kill networking for possibly hundreds or even thousands of employees to simply connect a new device.?? That would be asinine to be required to do that.

Cat 5 & 6 ethernet is hot-pluggable by design. (Unlike the earlier coax ethernet which was one continuous daisy chain and had to be terminated on both ends of the chain.)

Now, as to Hazel's question as to why. I have never seen a system do as she describes, but there is one thing that may be part. An open ended cable does not see the other end connected so it is "dead ended" and the system ignores it. OTOH a cable that is connected on both ends is seen as "connected" and is treated differently. Her's sees the router connected but no communication so it seems to hang expecting it to reply to communication attempts.

@hazel, Do you by chance use DHCP to get your address for networking? If so that might contribute to the issue since the cable is connected but gets no reply and the dhcp request hangs waiting for an answer.
 
Old 11-19-2020, 11:09 AM   #27
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by hazel View Post
If you read my last post again, you will see why leaving the router permanently on is a nono. It has some kind of glitch that makes it lose contact with the net if there is no activity for an hour or so.
That behavior to me implies the router might be in the early stages of failure, as does the interference with the PC booting (which should not happen). The PC should see a connected device that is powered down as "open" and ignore it the same as a disconnected cable. Depending upon the age of the router it might be worth replacing the router before a catastrophic failure also takes out connected ethernet cards in the PC.
 
Old 11-19-2020, 11:32 AM   #28
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
If the router is provided by the ISP I would place a repair ticket based on the failure to maintain a connection, and hope for a new replacement. If it's your own property, I would start preparing to replace it. Is this a combination modem/router, aka gateway, or a separate router connected to a modem?
 
Old 11-19-2020, 11:54 AM   #29
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
With hot plugging there are two parts, 1. the physical connection and 2. the operating system.

Ethernet is a low voltage differential signal, no ground and typically no power (non POE). The signals are galvanic isolated from ground but it is possible to damage the ports with static electricity. The hardware detects if there is link.

Most kernels/operating systems these days are configured for ethernet hot plugging so it can detect when a cable is connected and disconnected and automaticall to WiFi if so equipped.
 
Old 11-19-2020, 01:54 PM   #30
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post

Yesterday I tried booting with the cable connected to the computer but not to the router. That worked. So I think michaelk's SWAG is pretty close to the truth. It's the router that is doing something odd to the cable when it is switched off. I have now switched to a different port on the router and will try the same tricks with that one.
Interesting - something I thought of here is: I remember some older motherboards having 'cable sense' for their Ethernet ('is anything plugged in' basically), and perhaps your BIOS is doing this as well, and detecting 'no media' and hanging on that. See if there's a setting related to that in the BIOS options.
 
  


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
Why I switched from Slackware ...or... why cows aren't blue wrinkledcheese General 28 10-30-2010 04:36 AM
Why I switched to Slackware ...or...why MY cows are the color i want them to be, ROFL Alexvader General 6 05-28-2010 04:57 AM
LXer: Not Free at Any Price, Why I Switched to the OLPC and Why I Dropped It LXer Syndicated Linux News 1 11-05-2008 08:56 PM
Need PC help! Just switched cases and having problems snowiewolf General 5 05-08-2004 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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