Web lists-archives.com

Re: My wired connection doesn't work suddenly (Debian sid)




On Sunday 26 August 2018 08:55:55 Reco wrote:

> 	Hi.
>
> On Sun, Aug 26, 2018 at 07:42:31AM -0300, Vinícius Couto wrote:
> > Hi,
> >
> > I use Debian sid and some weeks ago, a upgrade in some package
> > caused a strange thing.
> >
> > I use my computer, when my wired connection down. Sometimes only the
> > IPv4, sometimes all the connections.
>
> Yet another NetworkManager fault, most likely. The thing lives to its
> reputation once more.
>
> > The symbol of the wired connection says that the connection is
> > working. When i disable to use a wireless connection in the same
> > network, it works.
>
> Of all the ways to test network connection you just used the least
> informative one. Please share the output of "ip a l" and "ip ro l"
> next time this happens.
>
Why do I have to read a mailing list to learn how to use these  new ip 
tools. Those two examples tell me more than than 20 readings of the man 
page, thank you Reco.

> > When i use dmesg | grep r8169
> > r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> > r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0x        (ptrval),
> > ..., XID ... IRQ ..
> > r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx
> > checksumming: ko]
>
> Pretty normal.
>
> > r8169 0000:02:00.0 enp2s0: renamed from eth0
>
> That's systemd thing.
>
> > r8169 0000:02:00.0: firmware: direct-loading firmware
> > rtl_nic/rtl8168e-3.fw
>
> And here you've used non-free blob, which is most likely completely
> unnecessary. But it's unlikely that any of these are somehow related
> to your problem.
>
> > dmesg | grep enp2s0
> > TCP: enp2s0: Driver has suspect GRO implementation, TCP performance
> > may be compromised.
>
> And that says that your NIC has problematic Generic Receive Offload
> implementation, yet kernel enabled it.
> Try "ethtool -K enp2s0 gro off" if it bothers you, but it'll unlikely
> will have any visible effect.
>
> > What is happening to my computer?
>
> Network Manager. See above.
>
> Reco

Rant mode ON

What I have never understood about N-M is why it tears down a perfectly 
good, working connection, and spends 5 minutes trying to establish a new 
one, and failing, leaving the poor user no way to ask a mailing list for 
help. Thats unforgivable and unforgiven here. Theres some keywords 
(mentioned in the man page in obtuse language IIRC) to use in e-n-i to 
tell N_M to keep its malicious hands off a given interface, but you have 
to read between the lines with your logical superpowers to detect them. 
There now, but for the longest time removing its starter script via 
chkconfig or removing N-M with the package manager, not possible a 
decade ago without its dependencies tearing down the system so I used mc 
for that, nuking the binaries. So its getting better, but as can be seen 
above its not perfect yet for folks needing portability. And I've used 
WICD for that in past years when I needed my old lappy to give me email 
and browsing from a motel room 950 miles from home while I was out 
playing visiting tv engineer. But my old lappy has a busted bcm4318 
based radio that not even the windows xp drivers could make work, so I'm 
glad the motel had radios I could plug into its net port.

Thanks for reading this far.

/Rant mode OFF

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>