[PLUG] Connection speed suddenly dropped

John Jason Jordan johnxj at gmx.com
Wed Apr 28 18:03:29 UTC 2021


On Tue, 27 Apr 2021 16:19:19 -0700
Russell Senior <russell at personaltelco.net> dijo:

>Try:
>
>  ls -l /sys/class/net/
>
>I get this (yours will be a little different):
>
>lrwxrwxrwx  1 root root 0 Apr 14 18:18 eth0 ->
>../../devices/pci0000:00/0000:00:19.0/net/eth0
>lrwxrwxrwx  1 root root 0 Apr 14 18:18 lo ->
>../../devices/virtual/net/lo
>
>Try cd'ing to the likely looking directory (eth0 in my case), and
>doing another ls -l there. You really ought to see the speed file in
>there.
>
>If you cat the "speed" file to get the current speed of the interface.
>
>I had the problem like what you are describing once upon a time,
>because of a slightly flakey ethernet run that was not training to
>gigabit link speed, but 100 Mbps instead. Confirming the link speed is
>a good idea, because then you'll know when you fixed it.

I get:

ls -l /sys/class/net/
total 0
lrwxrwxrwx 1 root root 0 Apr 28 10:55 enp0s31f6 ->
../../devices/pci0000:00/0000:00:1f.6/net/enp0s31f6
lrwxrwxrwx 1 root root 0 Apr 28 10:55 enx3ce1a1c0dbfc ->
../../devices/pci0000:00/0000:00:1c.0/0000:04:00.0/0000:05:04.0/0000:2d:00.0/0000:2e:02.0/0000:2f:00.0/usb6/6-2/6-2.1/6-2.1.2/6-2.1.2:1.0/net/enx3ce1a1c0dbfc
lrwxrwxrwx 1 root root 0 Apr 28 10:55 lo ->
../../devices/virtual/net/lo lrwxrwxrwx 1 root root 0 Apr 28 10:55
wg-mullvad -> ../../devices/virtual/net/wg-mullvad lrwxrwxrwx 1 root
root 0 Apr 28 10:55 wlp82s0 ->
../../devices/pci0000:00/0000:00:1c.5/0000:52:00.0/net/wlp82s0

Unfortunately, the terminal truncated the first couple of folders, so I
can't find the files. Maybe there's a way to force it to give me the
full path?



More information about the PLUG mailing list