Ethernet port "bounce" command?
by Doug H.
I am having an odd problem with my ethernet port. I assume this came
with a dnf update but that was some weeks ago so I can't help figure
out what update might have done it. When first discovered I think I
found that booting from an older kernel did not fix it. I assume that
the physical interface is not the problem since a physical "bounce"
always fixes it and it shows no other problems. To explain that...
The trouble is that the ethernet port will not come out of the "no-
carrier" state no matter how much I mess with the various commands that
are supposed to effect it.
The simple fix is to physically unplug and replug the cable. When it is
not working (each reboot) there are not lights on. The physical
"bounce" lights up the LEDs and it comes right up.
So, I am asking for something to add to rc.local that does the same
thing.
I use a wifi adapter for my main/Internet connection. This port is just
used for a wired link to my Raspberry Pi.
The command that seems like it *should* work:
sudo mii-tool --reset enp5s0
But that does not fix it.
Info:
The below is taken while it is working...
sudo lspci -v
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. M3A78 Series Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at e800 [size=256]
Memory at faeff000 (64-bit, prefetchable) [size=4K]
Memory at faee0000 (64-bit, prefetchable) [size=64K]
Expansion ROM at fbef0000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-
00
Kernel driver in use: r8169
Kernel modules: r8169
nmcli
enp5s0: connected to Ether link to Pi
"Realtek RTL8111/8168/8411"
ethernet (r8169), 00:26:18:3A:2A:1B, hw, mtu 1500
inet4 192.168.11.4/24
route4 192.168.11.0/24
inet6 fe80::226:18ff:fe3a:2a1b/64
route6 fe80::/64
This does kill and then fix it when working, thus proving that this
module is being used:
sudo rmmod r8169
sudo modprobe r8169
ip link
4: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP mode DEFAULT group default qlen 1000
link/ether 00:26:18:3a:2a:1b brd ff:ff:ff:ff:ff:ff
--
Doug H.
3 years, 1 month
Formatting second hard disk
by Paul Smith
Dear All,
I have got a second hard disk on my desktop computer, which I would
like to format. My machine runs Fedora 33, and I would like to ask you
what format to adopt: the new Btrfs is advisable?
Moreover, could you please direct me to some documentation on how to
format the hard disk? Using GParted?
Thanks in advance,
Paul
3 years, 1 month
FAS login issue
by alan@clueserver.org
I created a Fedora FAS account a long while back. I cannot find the
account name I used and there seems to be no way to find it. The password
reset assumes you know what account name you used.
Who do I talk to to get this fixed?
---
Q: Why do programmers confuse Halloween and Christmas?
A: Because OCT 31 == DEC 25.
3 years, 1 month
Fedora 33 vs Mageia 8
by David
I am curious what the similarities are between Fedora 33 and the newly
released Mageia 8, and what the differences are.
Today's release announcment of Mageia 8, alleges that it ships with three
repositories, one of which is disabled. One of their repos contains
non-free stuff, and can be disabled. The disabled one contains the
controversial codecs which may be illegal in your country.
I recall someone suggesting that Mageia can ship their iso that way because
tjey are in France.
I do believe that the developmemt team at Mageia is only about 30
volunteers.
From my perspective, they do not use third-party repos. Right ?
I assume Mageia's core repo is not as up-to-date as Fedoras.
I assume Mageia 8 is way behind Fedora 34 Beta.
It would seem to me, that if a user prefers LXDE, or LXQt, or Mate or Xfce
or a window-manager, that it would not matter what distro you choose.
I do not think Mageia has Budgie DE.
Mageia only offers one iso, where as Fedora has custom isos. Right ?
Meaning, in order to get Mageia 8 LXQt, you must first install Mageia 8.
I think a newbie could learn on Mageia 8 and then later on learn to prefer
Fedora. Right ?
I assume they do not use anaconda as their instllaler, but have something
that the old Mandriva had.
Feel free to enlightmemt me.
Cheers,
David Locklear
3 years, 1 month
NFS authentication(?) error
by Ian Pilcher
Is there an RFC somewhere that requires NFS errors to be completely
opaque?
* 2 Fedora 33 systems on the same subnet (172.31.248.0/24).
* NFS client is 172.31.248.2; NFS server is 172.31.248.3
* /etc/exports on server contains
/srv/upscale_data
172.31.248.0(rw,no_subtree_check,no_root_squash,insecure)
$ sudo mount -vvvv -t nfs4 172.31.248.3:/srv/upscale_data /mnt/upscale
mount.nfs4: timeout set for Thu Feb 25 18:16:45 2021
mount.nfs4: trying text-based options
'vers=4.2,addr=172.31.248.3,clientaddr=172.31.248.2'
mount.nfs4: mount(2): Permission denied
mount.nfs4: trying text-based options
'vers=4,minorversion=1,addr=172.31.248.3,clientaddr=172.31.248.2'
mount.nfs4: mount(2): Permission denied
mount.nfs4: trying text-based options
'vers=4,addr=172.31.248.3,clientaddr=172.31.248.2'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting
172.31.248.3:/srv/upscale_data
Wireshark shows that the client is sending:
Credentials
Flavor: AUTH_UNIX (1)
...
UID: 0
GID: 0
And the server responds with:
Reject State: AUTH_ERROR (1)
Auth State: bad credential (seal broken) (1)
The server is logging ABSOLUTELY NOTHING in the journal, dmesg, or
anywhere else (as far as I can tell).
Any ideas how I can figure out what is going on?
--
========================================================================
In Soviet Russia, Google searches you!
========================================================================
3 years, 1 month
X11 or Wayland session prompt on GDM?
by Frederic Muller
Hi!
I did that in the past and can't find how to do it again. Being
searching the web and except forcing either type of session and logging
out and back in I haven't found any other way.
Does anyone know if it's still possible and how to do it?
Thank you.
Fred
3 years, 1 month
New kernel errors after last update, Fedora 33
by Jerome Lille
After the latest update there are some errors in the log that I haven't
seen before.
kernel: xs_tcp_setup_socket: connect returned unhandled error -107
There are two of those per minute continuously. I haven't noticed any
other problems with the system, but wondering about those messages are
about.
/Jerome
3 years, 1 month
capture system audio?
by Tom Horsley
I'm playing a video in firefox and want to capture the audio.
There are a maze of web pages about audio capture, all different.
None of the ones I've tried work. They all give the impression they
are capturing audio, but the resulting audio files are nothing
but silence.
Has anyone successfully captured audio from firefox on fedora 33?
3 years, 1 month
midco DNS corruption?
by Michael Hennebry
Whenever I mistype a URL,
it gets turned into food for Midcontinent's search engine.
What is really annoying is that the back
button does not take me back to what I typed.
Also, the search results rarely includes the site I wanted.
My suspicion is that this is done at least partly through DNS corruption.
Anyone know for sure?
I'm running F33 connected directly to Midco's modem/router.
Assuming DNS corruption is at least part of the issue,
how, if at all, do I bypass Midco's DNS?
The problem seems not unique to Midco or F33:
My girlfriend has the same problem with CenturyLink and Ubuntu.
They send her to yahoo.
--
Michael hennebry(a)web.cs.ndsu.NoDak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
-- someeecards
3 years, 2 months