Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.mint > #30511
| From | Paul <nospam@needed.invalid> |
|---|---|
| Newsgroups | alt.os.linux.mint, alt.os.linux |
| Subject | Re: lose networking after running MX Linux |
| Date | 2019-04-15 21:47 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <q93c8c$pg1$1@dont-email.me> (permalink) |
| References | <q92qka$3al$1@dont-email.me> <ghkaotFbc0fU1@mid.individual.net> <q92t6o$i5g$1@dont-email.me> <ghkcnsFbpfpU1@mid.individual.net> <q937d3$4iu$1@dont-email.me> |
Cross-posted to 2 groups.
Rene Lamontagne wrote:
> On 04/15/2019 4:51 PM, Mike Easter wrote:
>> Rene Lamontagne wrote:
>>> It seems that it is the MX shutdown that causes the problem, If I
>>> don't shut it down but just kill the power all is fine, when I
>>> restart it in windows all is OK, Bot if I do a proper MX shutdown or
>>> restart when Windows comes up I get the not connected condition
>>
>> I wonder if it makes a difference if you shut down the ethernet in MX
>> before you do the restart.
>>
>> In MX you can shut down the ethernet graphically or by command. The
>> graphic icon on the taskbar in the live looks like a monitor screen
>> and is located between the clipit and sound/volume icons. It has a
>> disconnect.
>>
>
> I gave it a try Mike, no luck.
> I also disabled the firewall in Windows 10, that also did nothing.
> I did find a way to make it work by using a completely nasty way to shut
> down an OS, By hitting the reset button while in MX Linux the system
> will reboot into Windows (the default) with the network intact and running.
> I am greatly surprised that Linux does not complain bitterly on this
> kind of treatment, but until I find the real problem this will do.
>
> Rene
Open a Command Prompt in Windows when you're denied connectivity,
and check with ipconfig.
ipconfig
The equlvalent command in Linux is '
ifconfig
In there, you can verify whether DHCP worked to acquire an IP address.
The idea here, is to see if the "network unplugged" hint occurs
despite ipconfig giving working info. Or whether ipconfig is similar
dead.
If your ipconfig shows a working IP address, you can try pinging
the address from some other machine. This is to prove the PHY on the
NIC really is working, and it can't possibly be "unplugged".
The NIC consists of two parts. The PHY handles negotiation with the
router box, setting the transfer rate. The PHY connects to the MAC
(media access controller) via a nibble-wide bus. The two parts
are sometimes separate chips. Or, an Intel Southbridge can have the
whole thing inside. The PHY also has the fun task of driving the
low impedance load offered by the Ethernet isolation transformer.
And in the case of GbE, gets to make that whizzy 5-level waveform.
I can't think of a reason for this kind of disablement to occur.
It could somehow be tied to UEFI. It's possible to do all sorts of
stuff to UEFI, from an OS, and so developers must temper their
enthusiasm.
NICs sometimes have something called "critical data". All I know
is the name, and not how that functions.
Since power cycling seems to recover it, it could be that
the motherboard lacks a proper "reset" implementation. The
reset signal is supposed to go to the PHY. If reset stays stuck,
the two LEDs on the Ethernet connector stay in a stuck state. You
can tell by whether the Ethernet LEDs change state, that the
"PHY is moving", and it does not need to be programmed to do anything.
Thus, seeing the PHY make a change (LED state), tells you RESET
has been released.
But RESET is also good for clearing PHY state. If it were to be
in some weird state at shutdown, the RESET would clear that.
Ethernet has stuff like "HeartBeat", which presumably provides
a way to determine a peer is connected to the wire on the other
end. How is that state passed to the OS ? Dunno. But that is
potentially part of operation as well.
Normally, there wouldn't be a reason to "leave it in a mess",
as nothing needs to be done to the NIC at shutdown. If an OS
were to mess with the PHY and do something whizzy, the motherboard
RESET signal should clear that. I don't see (other than UEFI),
how state can be saved from one run to the next.
It's true that the NIC lives a "secret life" after shutdown.
You can program WOL (Wake On LAN). The MAC core can be powered
and remain running. It can signal via PME, that the magic pattern
to wake the system has been received. I would think though, that
the RESET at system start, would likely pave over any WOL state
at startup. The driver should really be programming the NIC,
the PHY autonegotiates again with the router, and all should
be well.
And you have hibernate and Fast Boot disabled on the Windows side,
which is why you're able to boot back and forth to other OSes.
This means Windows does a full boot, and does not thaw a hibernated
kernel. The difference, is the hibernated kernel does a kind of
"warm start" on the driver, but that really shouldn't be much
different from a "cold start" and a full boot.
*******
Go into MX.Linux and see if it has WOL or the equivalent of
"allow this device to wake the computer". See if this setting
can be disabled, which will prevent MX.Linux from programming
the NIC for WOL at shutdown.
Paul
Back to alt.os.linux.mint | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-15 15:47 -0500
Re: lose networking after running MX Linux Dan C <youmustbejoking@lan.invalid> - 2019-04-15 20:59 +0000
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-15 14:18 -0700
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-15 16:31 -0500
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-15 14:51 -0700
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-15 19:25 -0500
Re: lose networking after running MX Linux Paul <nospam@needed.invalid> - 2019-04-15 21:47 -0400
Re: lose networking after running MX Linux Dan Purgert <dan@djph.net> - 2019-04-16 10:53 +0000
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 09:48 -0500
Re: lose networking after running MX Linux Diesel <nobody@haph.org> - 2019-04-19 07:47 +0000
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-19 08:15 -0500
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 13:01 -0500
Re: lose networking after running MX Linux Paul <nospam@needed.invalid> - 2019-04-16 14:31 -0400
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-16 12:13 -0700
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 14:45 -0500
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-16 12:47 -0700
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 15:22 -0500
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-16 14:20 -0700
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 16:54 -0500
Re: lose networking after running MX Linux "Carlos E. R." <robin_listas@es.invalid> - 2019-04-17 00:15 +0200
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-16 15:35 -0700
Re: lose networking after running MX Linux Yossarian <novalid@spamoff.hr> - 2019-04-18 17:01 +0000
Re: lose networking after running MX Linux William Unruh <unruh@invalid.ca> - 2019-04-18 17:17 +0000
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-18 12:44 -0500
Re: lose networking after running MX Linux Diesel <nobody@haph.org> - 2019-04-19 07:47 +0000
Re: lose networking after running MX Linux Chris Elvidge <chris@mshome.net> - 2019-04-16 21:22 +0100
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 15:47 -0500
Re: lose networking after running MX Linux Paul <nospam@needed.invalid> - 2019-04-16 20:27 -0400
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 20:57 -0500
Re: lose networking after running MX Linux Paul <nospam@needed.invalid> - 2019-04-17 00:09 -0400
Re: lose networking after running MX Linux Rene <rlamont@shaw.ca> - 2019-04-17 09:09 -0500
Re: lose networking after running MX Linux "Carlos E. R." <robin_listas@es.invalid> - 2019-04-17 17:41 +0200
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-17 11:03 -0500
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-17 13:07 -0500
Re: lose networking after running MX Linux "Carlos E. R." <robin_listas@es.invalid> - 2019-04-16 13:44 +0200
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 09:42 -0500
Re: lose networking after running MX Linux Jasen Betts <jasen@xnet.co.nz> - 2019-04-16 08:15 +0000
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 09:45 -0500
Re: lose networking after running MX Linux guest <guest@guest.com> - 2019-04-16 20:13 +0000
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-16 15:28 -0500
Re: lose networking after running MX Linux Gordon <Gordon@clear.net.nz> - 2019-04-18 05:58 +0000
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-18 09:44 -0500
Re: lose networking after running MX Linux Mike Easter <MikeE@ster.invalid> - 2019-04-18 09:20 -0700
Re: lose networking after running MX Linux Rene Lamontagne <rlamont@shaw.ca> - 2019-04-18 12:41 -0500
Re: lose networking after running MX Linux guest <guest@guest.com> - 2019-04-18 20:45 +0000
csiph-web